@import url("https://fonts.googleapis.com/css2?family=Balsamiq+Sans&family=Major+Mono+Display&family=Nunito+Sans:ital,wght@0,200;0,400;1,200;1,400&family=Nunito:ital,wght@0,200;0,300;0,400;0,600;1,200;1,300;1,400&family=Quicksand&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400&family=Rubik:wght@400;500&family=Space+Mono&family=Work+Sans:ital,wght@0,100;0,400;0,600;1,100;1,400;1,600&family=Montserrat:wght@200;400;600;800&display=swap");

:root {
	--header-color: rgb(4, 31, 37);
	--content-background: #16262cff;
	--header-bg-color: rgb(77, 218, 159);
	--hue: 0deg;
}

* {
	padding: 0;
	margin: 0;
	scroll-behavior: smooth;
}

.bg {
	position: fixed;
	top: -75px;
	left: 0;
	height: calc(100% + 75px);
	width: 100%;
	z-index: -1;
	background-image: url(../osu-staff/static/cut\ triangles.png);
	filter: sepia(100%) hue-rotate(calc(var(--hue) + 130deg)) brightness(25%)
		blur(5px);
	transform: scale(1.2);
}

header,
.wrapper {
	filter: hue-rotate(var(--hue));
}

.wrapper img {
	filter: hue-rotate(calc(var(--hue) * -1));
}

header {
	background: var(--header-bg-color);
	width: 100%;
	height: 50px;
	position: fixed;
	display: flex;
	justify-content: center;
	font-family: "Rubik";
	color: rgb(226, 139, 223);
	min-width: 800px;
	/* margin-top: -75px; */
	z-index: 1;
}

header .container {
	width: 90%;
}

.logo {
	/* background-image: url("https://cdn.discordapp.com/avatars/265144290240495617/caf8d14e3e82cf096d91980dce17b998.webp"); */
	/* aspect-ratio: 1; */
	/* background-size: cover; */
	display: flex;
	align-items: center;
	font-size: 24px;
	height: 50px;
	float: left;
}

.page-logo {
	width: 100%;
}

header::after {
	content: "";
	display: table;
	clear: both;
}

nav {
	float: right;
}

nav ul {
	display: flex;
	flex-direction: row;
	list-style: none;
}

nav li {
	margin-left: 5vw;
	padding-top: 15px;
	position: relative;
}

nav a,
.logo a {
	color: var(--header-color);
	text-decoration: none;
	transition: 0.2 ease-in-out;
}

nav a::after {
	content: "";
	display: block;
	height: 5px;
	width: 100%;
	background-color: var(--header-color);
	top: 0;
	width: 0%;
	border-radius: 5px;
	transition: all ease-in-out 250ms;
}

nav a:hover::after {
	width: 100%;
}

.content {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 30px;
	width: 55%;
	height: 100%;
	font-size: 24px;
	color: #fff;
	font-family: "Nunito";
	padding: 25px;
	padding-bottom: 10vh;
	box-shadow: 0 0 10px #000;
	background-color: var(--content-background);
	margin-top: -25px;
	text-align: center;
}

.content section {
	width: 90%;
	/* Make the element technically lower than it is so the 
    section directory scrolls straight to the section*/
	padding-top: 75px;
	margin-top: -75px;
}

.wrapper {
	width: 100%;
	position: absolute;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 30px;
	margin-top: 75px;
}

.section-directory {
	display: flex;
	width: fit-content;
	flex-direction: column;
	text-transform: capitalize;
	gap: 5px;
	padding: 15px 10%;
	background-color: rgba(0, 0, 0, 0.5);
	right: 20;
	top: 70;
	border-radius: 10px;
	color: white;
	font-family: "Work Sans";
}

.section-directory::after {
	content: "";
	width: 100%;
	height: 100%;
	top: 10px;
	left: 10px;
	background-color: #fff;
}

.section-directory a {
	color: white;
	text-decoration: none;
}

.section-directory a::after {
	content: "";
	display: block;
	width: 0%;
	height: 2px;
	background-color: white;
	transition: width 250ms ease-in-out;
}

.section-directory a:hover::after {
	width: 100%;
}

.section-directory-container {
	position: fixed;
	width: 20%;
	right: 0;
	top: 75;
	display: flex;
	justify-content: center;
}

.hardhat {
	width: 30% !important;
	filter: 
        /* contrast(1000%) */ sepia(100%) saturate(1000%);
	animation: spin 10s ease-out infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-5deg);
	}
	75% {
		transform: rotate(5deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

@media only screen and (max-width: 1016px) {
	.content {
		width: 100%;
	}

	nav {
		font-size: 12px;
	}
}
