@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');

:root {
	--bg: #1a202c;
	--theme: #99ffbb;
	--theme-hover: #00ffbb;
	--theme-active: #00dba1;
	--muted: #282b34;
	--muted-hover: #3b3e47;
	--muted-active: #242730;
	--content: #171923;
	--nav: #efefef;
	--shadow: #000000 0px 4px 6px;
	--shadow-hover: #000000 0px 15px 30px;
	--shadow-active: #000000 0px 0px 0px;
}

* {
	font-family: 'Nunito', sans-serif;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

body {
	background-color: var(--bg);
}

nav {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 75px;
}

.nav-logo {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translate(0, -50%);
	width: 50px;
	height: 50px;
}

.nav-links-container {
	position: absolute;
	left: 80px;
	top: 50%;
	transform: translate(0, -50%);
	width: calc(100% - 300px);
}

.nav-links-container > .nav-link {
	color: var(--nav);
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
	margin-left: 20px;
}

.nav-links-container > .nav-link-active {
	position: relative;
}

.nav-links-container > .nav-link::after {
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
}

.nav-links-container > .nav-link-active::after {
	content: " ";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 5px);
	width: calc(100% - 10px);
	height: 4px;
	opacity: 1;
	background-color: var(--nav);
	border-radius: 5px;
}

.top-right-button {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translate(0, -50%);
	background-color: var(--theme);
	box-shadow: var(--shadow);
	color: var(--content);
	width: fit-content;
	height: fit-content;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 17px;
	padding-right: 17px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 1.1rem;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out,
				box-shadow 0.2s ease-in-out;
}

.top-right-button:hover {
	background-color: var(--theme-hover);
	box-shadow: var(--shadow-hover);
}

.top-right-button:active {
	background-color: var(--theme-active);
	box-shadow: var(--shadow-active);
}

.top-right-button > i {
	margin-right: 5px;
}

@media screen and (max-width: 1025px) {
	.nav-links-container > .nav-link {
		font-size: 1em;
	}

	.nav-links-container > .nav-link-active::after {
		transform: translate(-50%, 4px);
		height: 3px;
	}
}

@media screen and (max-width: 950px) {
	.nav-links-container > .nav-link {
		font-size: 0.9em;
	}

	.nav-links-container > .nav-link-active::after {
		transform: translate(-50%, 4px);
		height: 3px;
	}
}

@media screen and (max-width: 900px) {
	.nav-links-container > .nav-link {
		font-size: 0.8em;
	}

	.nav-links-container > .nav-link-active::after {
		transform: translate(-50%, 3px);
		height: 3px;
	}
}

@media screen and (max-width: 850px) {
	.nav-links-container {
		display: none;
	}

	.nav-links-container > .nav-link-active::after {
		display: none;
	}
}