nav {
	width: 100%;
	height: 9rem;
	margin: 0 auto 0 auto;
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: var(--base-color-mid);
	border-bottom: 0.2rem solid var(--base-color-dark);
}

#mobile-nav {
	display: none;
}

nav div {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 30%;
}

nav div a {
	width: 100%;
	height: 100%;
	font-size: 2rem;
	font-weight: 400;
	color: var(--black);
	display: flex;
	align-items: center;
	justify-content: center;
}

nav div a:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.2rem;
}

nav .logo {
	text-decoration: none;
	font-size: 2.5rem;
	font-weight: 600;
	color: var(--black);
	font-family: Cormorant Garamond, system-ui;
}

nav .button {
	text-decoration: none;
	color: var(--black);
	font-size: 2rem;
	padding: 0.5rem 1.5rem 0.5rem 1.5rem;
	border: 0.2rem solid var(--black);
	transition: all 0.2s ease-in-out;
}

nav .button:hover {
	color: var(--base-color-light);
	background-color: var(--black);
}

.hidden {
	display: none;
}

.mobile-menu {
	position: absolute;
	top: -2.5rem;
	width: 100vw;
	height: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.mobile-menu div {
	height: 5rem;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-menu div a {
	margin: auto auto 0 auto;
	font-size: 2rem;
	font-weight: 500;
	color: var(--black);
}

@media (orientation: portrait) {
	#nav {
		display: none;
	}

	#mobile-nav {
		display: flex;
	}

	#mobile-nav {
		width: 80%;
	}

	#mobile-nav div {
		border: none;
	}

	#mobile-nav div:first-child {
		width: 100%;
	}

	#mobile-nav div a {
		margin: 0 auto 0 1.5rem;
	}

	#mobile-nav div a img {
		height: 70%;
	}

	#mobile-menu-button {
		width: fit-content;
		height: fit-content;
		display: flex;
		margin: 0 1rem 0 auto;
	}

	#mobile-menu-button img {
		margin: 0;
	}
}