@import url('https://fonts.googleapis.com/css2?family=ADLaM+Display&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
	--font: Inter, Arial, sans-serif;
	--h-font: 'ADLaM Display', Inter, Arial, sans-serif;
	--accent: #8700db;
	--accent-light: #bb4dff;
	--accent-lighter: #efc7ff;
}

body {
	margin: 0;
	font-family: var(--font);
	background-image: linear-gradient(to bottom, white);
	color: rgb(60, 60, 60);
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	display: inline-block;
	font-family: var(--h-font);
	color: var(--accent);
	background-image: linear-gradient(var(--accent-lighter));
	background-size: 0% 0.25em;
	background-repeat: no-repeat;
	background-position: 0 90%;
	animation: h-underline 0.5s forwards 0.6s;
}

@keyframes h-underline {
	100% {
		background-size: 100% 0.25em;
	}
}

header {
	font-family: var(--h-font);
	font-size: 1.5em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-image: linear-gradient(
		30deg,
		var(--accent),
		var(--accent-light)
	);
	color: white;
	padding-block: 0.8em;
	padding-inline: 1.5em;
}

header a {
	color: white;
	text-decoration: none;
}

header a:hover {
	text-decoration: underline;
}

.emblem img {
	height: 2.1em;
}

nav {
	display: none;
	flex-direction: column;
	font-size: 1.8em;
	justify-content: center;
	align-items: center;
	font-family: var(--h-font);
	height: calc(100dvh - 1.6em);
	width: 100dvw;
	background-image: radial-gradient(#ecbcff 20%, transparent 20%);
	background-size: 15px 15px;
	background-color: var(--accent-lighter);
	position: absolute;
	z-index: 2;
	right: 0;
}

nav > a {
	color: var(--accent);
	border-bottom: 2px dashed var(--accent);
	display: block;
	padding-block: 1em;
	text-decoration: none;
	width: 100%;
	text-align: center;
	opacity: 0;
	transition: opacity 0.5s;
}

nav > a:last-child {
	border: none;
}

.emblem {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
}

img {
	border-radius: 10px;
}

.slide-left,
.slide-right {
	animation: slide-in 1s forwards, fade-in 0.5s forwards;
}

.slide-left-initializer {
	translate: -100px;
	opacity: 0;
}

.slide-right-initializer {
	translate: 100px;
	opacity: 0;
}

@keyframes slide-in {
	100% {
		translate: 0;
	}
}

@keyframes fade-in {
	100% {
		opacity: 1;
	}
}

.heading {
	display: flex;
	justify-content: center;
}

@media (width > 1620px) {
	body {
		font-size: 1.1rem;
	}
}

@media (width > 1800px) {
	body {
		font-size: 1.2rem;
	}
}

@media (width > 2200px) {
	body {
		font-size: 1.5rem;
	}
}

@media (width > 2900px) {
	body {
		font-size: 2rem;
	}
}

@media (width > 4000px) {
	body {
		font-size: 3.2rem;
	}
}

@media (width < 600px) {
	.emblem img {
		display: none;
	}

	.banner {
		padding-inline: 0.5em;
	}

	header {
		padding-inline: 1em;
		font-size: 1.4em;
		justify-content: space-between;
	}
}
