body {
	margin: 0px;

	display: flex;
	justify-content: space-between;

	background-color: #0c0d0d;

	font-family: "Inter", "Helvetica", sans-serif;
	font-size: 12px;

	user-select: none;
}

main {
	box-sizing: border-box;
	padding: 64px 64px 32px;
	height: 100vh;

	display: flex;
	flex-direction: column;
	gap: 48px;

	backdrop-filter: blur(4px);
}

@media (prefers-reduced-transparency: reduce) {
	main {
		background-color: #0c0d0d;
	}
}

@media (max-width: 400px) {
	main {
		padding: 32px;
		width: 100vw;
	}
}

@media (prefers-reduced-motion: no-preference) {
	@keyframes logo-path {
		0% {
			stroke-dasharray: 0px 1000px;
			fill-opacity: 0%;
		}
		50% {
			fill-opacity: 0%;
		}
		100% {
			stroke-dasharray: 311px 1000px;
			fill-opacity: 100%;
		}
	}

	#logo > path {
		animation: ease-out 2s forwards logo-path;
	}

	@keyframes link {
		from {
			opacity: 0%;
			transform: translateY(-50%);
		}
		to {
			opacity: 100%;
			transform: translateY(0%);
		}
	}

	li {
		animation: ease-out .5s both link;
		animation-delay: calc(var(--n) * .1s + 1.2s);
	}
}

ul {
	margin: 0px;
	padding: 0px;

	display: flex;
	flex-direction: column;
	gap: 4px;
}

li {
	display: flex;
}

li > a {
	display: flex;
	align-items: center;
	gap: 6px;

	line-height: 1.25em;

	color: #fff;
	opacity: 75%;
	text-decoration: none;

	transition: opacity .5s ease;
}

li > a:is(:hover, :focus) {
	opacity: 100%;
}

li > a > span:first-child::after {
	content: "\200b";

	width: 100%;
	height: 1px;

	display: block;

	background-color: white;
	transform: translateX(-50%) scaleX(0%);

	transition: transform .2s ease-out;
}

li > a:is(:hover, :focus) > span:first-child::after {
	transform: none;
}

li > a > span:nth-child(2) {
	width: 5px;
	height: 8px;

	display: block;

	color: #0000;
	background-image: url(data:image/svg+xml,%3Csvg%20width%3D%225%22%20height%3D%229%22%20viewBox%3D%220%200%205%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201.5L4%204.5L1%207.5%22%20stroke%3D%22white%22%20stroke-linecap%3D%22square%22%2F%3E%3C%2Fsvg%3E);

	font-size: 0px;
}

@media (prefers-reduced-motion: no-preference) {
	li > a > span:not(:first-child) {
		opacity: 0%;
		transform: translateX(-4px);

		transition: all .2s ease;
	}

	li > a:is(:hover, :focus) > span:not(:first-child) {
		opacity: 100%;
		transform: translateX(0px);
	}
}

li > a > span:last-child {
	color: #fffb;
}

@media (prefers-reduced-motion: reduce) {
	li > a > span:first-child::after {
		transition: none !important;
	}
}

footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	flex-grow: 1;

	font-size: 10px;
}

footer > p {
	margin: 0px;

	opacity: 25%;

	transition: opacity .5s ease;
}

footer > p:is(:hover, :focus) {
	opacity: 75%;
}

footer a {
	color: #fff;
}

#canvas, #fallback {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: -1;

	width: 100vw;
	height: 100vh;
}

@media (prefers-reduced-motion: no-preference) {
	#fallback {
		visibility: hidden;
	}
}

@media (prefers-reduced-motion: reduce) {
	#canvas {
		visibility: hidden;
	}
}

.print-only {
	display: none;
}
