@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-display: swap;
	font-weight: 900;
	src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter@latest/latin-900-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter@latest/latin-600-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
		Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	--color-bg-0: rgb(255, 255, 255);
	--color-theme-1: #ffd71d;
	--color-theme-2: #f0c05a;
	--color-text: rgb(0, 0, 0);
	--color-text-1: rgb(255, 255, 255);
	font-family: var(--font-body);
	color: var(--color-text);
}

::-moz-selection {
	color: white;
	background: var(--color-theme-1);
}

::selection {
	color: white;
	background: var(--color-theme-1);
}

body {
	min-height: 100vh;
	margin: 0;
	background-color: #000;
}

a {
	color: var(--color-text);
	text-decoration: none;
}

main {
	margin: 0;
	padding: 0;
	height: 150vh;
	overscroll-behavior: none;
}

header {
	overscroll-behavior: none;
	position: sticky;
	top: 0;
	background-color: transparent;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 0.5rem 1rem;
	z-index: 99;
	height: 2.5rem;
}

header h2 {
	margin: 0;
	width: 100%;
	color: white;
	font-size: 2rem;
	font-weight: bolder;
	padding-bottom: 0.3rem;
}

header a:hover h2 {
	color: var(--color-theme-2);
}

header a:hover + span {
	background-color: var(--color-theme-2);
}

header span {
	width: 100%;
	height: 2px;
	background-color: white;
	border-radius: 1px;
}

#content {
	overscroll-behavior: none;
	height: 100vh;
	background-color: transparent;
	cursor: pointer;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-30px);
	}
	60% {
		transform: translateY(-15px);
	}
}

#slide-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 1.5rem 1rem;
	flex-direction: column;
	height: 80%;
}

#slide-content .fa-angle-double-down {
	align-self: center;
	font-size: 2rem;
	color: white;
	margin-top: 1rem;
	animation: bounce 2s infinite;
	cursor: pointer;
}

#slide-content h1 {
	font-weight: 600;
	font-size: 3rem;
	line-height: 1.5;
	color: var(--color-text-1);
}

#slide-content h1 i,
#slide-content h1 em {
	font-style: italic;
}

#info-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0.5rem 1rem;
	background: black;
	height: 100vh;
	color: white;
	font-weight: 600;
}

#info {
	display: flex;
	flex-direction: column;
	height: calc(100vh - 5.5rem);
	justify-content: flex-end;
	gap: 2rem;
}

#info i {
	color: white;
	font-size: 1.5rem;
}

#info h3 {
	font-size: 1.5rem;
	margin: 0.2rem 0;
	padding-bottom: 0.5rem;
	text-decoration: underline var(--color-text-1);
}

#links {
	display: flex;
	gap: 1rem;
}

#map {
	margin-top: 1rem;
	height: 25rem;
	width: 50%;
}

#map iframe {
	border-radius: 0.5rem;
	height: 100%;
	width: 100%;
	border: 0;
}

.slide-bg {
	position: fixed;
	height: 100vh;
	width: 100vw;
	object-fit: cover;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: -1;
}

#myVideo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.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 screen and (max-width: 950px) {
	#slide-content h1 {
		font-size: 6vw;
		line-height: 1.5;
	}

	header a:hover h2 {
		color: var(--color-text-1);
	}

	header a:hover + span {
		background-color: var(--color-text-1);
	}

	#info {
		gap: 1rem;
	}

	#map {
		width: 100%;
		height: 40vh;
	}
}

@media screen and (max-height: 500px) {
	#map {
		height: 20vh;
	}
}
