@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
	--bg1: #1e3784;
	--bg2: #222222;
	--bg3: #303030;
	--bg4: #404040;
	--bg5: #353535;
	--font: #ffffff;
	--font-link: #7ac3ff;
	--font-family: "Lexend", sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	margin-top: 90px;
	padding: 0;
	overflow-x: hidden;
	font-family: var(--font-family);
	background-color: var(--bg1);
	color: var(--font);
}

hr {
	width: 90vw;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
	border: 2px solid #222222;
}

.link {
	color: var(--font-link);
	text-decoration: none;
}

.link:hover {
	text-decoration: underline;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	height: 67px;
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--bg2);
	color: var(--font);
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

header .logo {
	display: flex;
	align-items: center;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--font);
}

header .logo img {
	width: 75px;
	height: 75px;
	margin-left: 2rem;
	margin-top: 0.5rem;
}

header .nav-links {
	display: flex;
	align-items: center;
	margin-right: 4rem;
}

header .nav-links a {
	margin: 0 1rem;
	color: var(--font);
	text-decoration: none;
	font-size: 1.25rem;
	background: transparent;
	transition: color 0.3s;
}

header .nav-links a:hover {
	color: var(--font);
	text-decoration: underline;
}

header .nav-links a.active {
	color: var(--font);
	text-decoration: underline;
}

header .menu-button {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
}

header .menu-button .bars {
	font-size: 2.5rem;
	color: var(--font);
	transition: transform 0.3s, opacity 0.3s;
}

.contact-info {
	width: 90vw;
	max-width: 90vw;
	margin: 1rem;
	text-align: center;
}

.contact-info img {
	width: 130px;
	height: auto;
	max-width: 500px;
	margin-top: 1rem;
}

.contact-info h2 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.contact-info h3 {
	font-size: 1.25rem;
	margin: 0.3rem;
}

.contact-info hr {
	margin-top: 1rem;
	margin-bottom: 1.5rem;
	border: 2px solid var(--bg2);
}

.popup {
	position: fixed;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #262A2D;
	color: white;
	padding: 15px 25px;
	border-radius: 8px;
	border: 2px solid #384046;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	z-index: 1100;
	text-align: center;
	width: auto;
	max-width: 90%;
	opacity: 0;
	transition: all 0.5s ease;
}

.popup.visible {
	top: 20px;
	opacity: 1;
}

.popup.hidden {
	top: -100px;
	opacity: 0;
}

footer {
	position: relative;
	left: 0;
	height: 67px;
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--bg2);
	padding: 0.3rem 0;
	color: var(--font);
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

footer img {
	width: 75px;
	height: 75px;
	margin: 0 2rem;
}

footer p {
	margin: 0 2rem;
}

@media (max-width: 768px) {
	hr {
		width: 80vw;
	}

	header {
		width: 100%;
	}

	header .logo img {
		margin-left: 1rem;
	}

	header .menu-button {
		display: block;
		margin-right: 1rem;
	}

	header .nav-links {
		position: absolute;
		top: 67px;
		left: 0;
		width: 100vw;
		background-color: var(--bg2);
		flex-direction: column;
		align-items: center;
		margin-right: 0;
		box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
		transform: translateY(-100%);
		opacity: 0;
		transition: all 0.3s ease;
		pointer-events: none;
	}

	header .nav-links.active {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}

	header .nav-links a {
		margin: 0.5rem 0;
		padding: 0.5rem 0;
		width: 100%;
		text-align: center;
	}

	.contact-info {
		max-width: 80vw;
	}

	.contact-info img {
		width: 5rem;
		max-width: 5rem;
	}

	.contact-info h2 {
		font-size: 1.25rem;
	}

	.contact-info h3 {
		font-size: 1rem;
	}

	footer {
		width: 100%;
	}

	footer img {
		margin: 0;
	}

	footer p {
		margin: 0 1rem;
	}
}