@font-face {
	font-family: "Bebas Neue";
	src: url("bebas-neue.ttf") format("truetype");
	font-display: swap;
}

:root {
	color-scheme: dark;
	background: #111;
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
	margin: 0;
}

.landing {
	min-height: 100svh;
	overflow: hidden;
	background: #111 url("../images/dmc-background.jpg") center / cover no-repeat;
	font-family: "Bebas Neue", Impact, sans-serif;
}

.landing::after {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgb(0 0 0 / 18%), transparent 45%, rgb(255 255 255 / 7%));
	content: "";
}

.landing__stage {
	position: relative;
	z-index: 1;
	min-height: 100svh;
	isolation: isolate;
}

.landing__nerds {
	position: absolute;
	bottom: clamp(1.5rem, 3vh, 3rem);
	left: 50%;
	width: clamp(12rem, 13vw, 16rem);
	height: auto;
	filter: drop-shadow(0 0.75rem 1.5rem rgb(0 0 0 / 55%));
	transform: translateX(-50%);
}

.landing__goat {
	position: absolute;
	top: 20%;
	left: 50%;
	width: clamp(17rem, 19.5vw, 23rem);
	transform: translateX(-50%);
	user-select: none;
}

.landing__goat img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 1rem 1.5rem rgb(0 0 0 / 48%));
}

.lens {
	position: absolute;
	top: 40.1%;
	height: 10.6%;
	overflow: hidden;
	pointer-events: none;
	border-radius: 8% 8% 40% 40% / 10% 10% 45% 45%;
}

.lens-left {
	left: 32.9%;
	width: 16.8%;
}

.lens-right {
	left: 54.1%;
	width: 15.8%;
}

.lens::after {
	content: "";
	position: absolute;
	top: -50%;
	left: 0;
	width: 45%;
	height: 200%;
	background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 85%) 45%, rgb(255 255 255 / 35%) 60%, rgb(255 255 255 / 0%) 100%);
	transform: translateX(-150%) skewX(-25deg);
	animation: lens-glint 5s ease-in-out infinite;
}

.lens-right::after {
	animation-delay: 0.25s;
}

@keyframes lens-glint {
	0%,
	60% {
		transform: translateX(-150%) skewX(-25deg);
	}

	80%,
	100% {
		transform: translateX(300%) skewX(-25deg);
	}
}

.landing__admin {
	position: fixed;
	right: 1rem;
	bottom: 0.75rem;
	z-index: 2;
	padding: 0.25rem;
	color: rgb(255 255 255 / 50%);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 160ms ease;
}

.landing__admin:focus-visible,
.landing__admin:hover {
	color: #fff;
	outline: none;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 700px) {
	.landing {
		background-image: url("../images/dmc-background-mobile.jpg");
		background-position: center;
	}

	.landing__nerds {
		bottom: clamp(1.5rem, 5vh, 2.5rem);
		width: clamp(11rem, 58vw, 15rem);
	}

	.landing__goat {
		top: 13%;
		width: clamp(15rem, 70vw, 22rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.landing__admin {
		transition: none;
	}

	.lens::after {
		animation: none;
		display: none;
	}
}
