@charset "UTF-8";

body {
	margin: 0;
	background-color: #231f20;
	font-family: "darkmode-on", sans-serif;
	font-weight: 400;
	font-style: normal;
}

#viewport {
	position: fixed;
	top: 0;
	left: 0;
	width: 100dvw;
	height: 100dvh;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-touch-callout: none; /* iOS Safari */
		-webkit-user-select: none; /* Safari */
		 -khtml-user-select: none; /* Konqueror HTML */
			 -moz-user-select: none; /* Old versions of Firefox */
				-ms-user-select: none; /* Internet Explorer/Edge */
						user-select: none; /* Non-prefixed version, currently
															 supported by Chrome, Edge, Opera and Firefox */
}

#logo {
	animation: move-to-top-left 1.5s ease-in-out forwards 1.5s;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40vmin;
	height: 40vmin;
}

#logo img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#logo_outer {
	width: 100%;
	height: 100%;
	animation: rotate 60s linear infinite 3s;
}

#logo_inner {
	width: 84%;
	height: 84%;
	z-index: 1;
}

#box {
	background-color: var(--yellow-xdark-color);
	color: white;
	padding: 40px;
	border-radius: 20px;
	max-width: 50%;
	line-height: 25px;
}
#box p {
	margin: 0px;
}
.fade-in {
	opacity: 0;
	animation: appear 1s ease-out forwards 3s;
}
a {
	text-decoration: none;
	color: var(--green-color);
	opacity: 0.8;
	transition: 0.2s;
}

a:hover {
	opacity: 1;
}
#copyright {
	color: white;
	bottom: 5px;
	position: absolute;
	font-size: 8pt;
	text-align: center;
	width: 100%;
	line-height: 15px;
}
#copyright p {
	margin: 0;
}
#copyright a {
	color: hsl(155, 9%, 60%);
}

@font-face {
	font-family: 'darkmode-on';
	src: url('/fonts/DarkmodeDarkmodeOnRegular.ttf');
}

@keyframes appear {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes move-to-top-left {
	0% {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 40vmin;
		height: 40vmin;
	}
	100% {
		top: 20px;
		left: 20px;
		transform: translate(0, 0);
		width: 20vmin;
		height: 20vmin;
	}
}

@keyframes rotate {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@media (max-width: 575px) {
	#logo_outer {
		width: 100%;
		height: 100%;
	}
	@keyframes move-to-top-left {
		0% {
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			width: 40vmin;
			height: 40vmin;
		}
		100% {
			top: 20px;
			left: 50%;
			transform: translate(-50%, 0%);
			width: 40vmin;
			height: 40vmin;
		}
	}
	#box {
		margin-top: calc(40vmin + 40px);
		padding: 30px;
	}
}
:root {
	--green-color: #596a63;
	--black-color: #231f20;
	--yellow-light-color: #f6e5c3;
	--yellow-dark-color: #eed090;
	--yellow-xdark-color: #d2ba8f;
}