#title {
	top: 12vh;
	filter: drop-shadow(0 0 8px black);
}

.overlay {
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	width: 100vw;
	height: 100vh;
	background: linear-gradient(to bottom, #404750 0%, #68747A 33%, #EE9000 75%, #47501A 75%, #102000 100%);

	opacity: 0;
	animation: fadeIn 8s forwards ease-out;
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 0;
	}
	100% {
		opacity: 0.6;
	}
}

.home-btn-panel {
	position: absolute;
	bottom: 20%;
	left: 50%;
	transform: translate(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100vw;
}
.home-btn-panel > * {
	position: relative;
	display: block;
	padding: 1rem;
	font-size: 2rem;
	font-family: monospace;
	text-align: center;
}
.home-btn-panel .home-btn-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: #CAF0;
	filter: blur(64px);
	transition: background 3.0s;
}
.home-btn-panel > a {
	text-decoration: none;
	color: white;
	text-shadow: 0 0 0px #CAFF;
	transition: text-shadow 3.0s;
}
.home-btn-panel > a * {
	text-shadow: none;
}
.home-btn-panel > *:hover > .home-btn-background {
	background: #CAF7;
}
.home-btn-panel > a:hover {
	text-shadow: 0 0 8px #CAFF;
}

.account {
	position: fixed;
	right: 16px;
	top: 16px;
	line-height: 1.5;
}
.account > * {
	display: block;
	text-align: right;
}
.account > a {
	cursor: pointer;
	text-decoration: none;
}
.account > a:hover {
	text-decoration: underline;
}


/* OGL canvas. */
#glcanvas {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	display: block;
	margin: 0 auto;
}

#featured {
	position: absolute;
	top: 46%;
	left: 4rem;
	transform: translateY(-50%);
	background: #222;
	box-shadow: 0 0 20px white;
	border-radius: 8px;
	box-sizing: border-box;
	padding: 1rem;
	width: 26vw;
	color: white;
}
#featured > .title {
	font-size: 32px;
	margin: 0;
	margin-bottom: 2rem;
}
#featured > .subtitle {
	font-size: 32px;
}
#featured > * {
	text-align: left;
}


@media only screen and (max-width: 768px) {
	#title {
		top: 8vh;
	}

	.home-btn-panel {
		max-width: 100vw;;
		bottom: 10vh;
	}
	.home-btn-panel > * {
		padding: 0.7rem;
		margin: 0;
	}

	.home-btn-panel > *, #featured > .title {
		font-size: 1.3rem;
	}
	#featured {
		top: 40%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 86vw;
	}
}
