header {
	width: 100%;
	border-bottom: 0.1rem solid rgba(49, 49, 53, 0.08);
}

header > nav {
	max-width: var(--main-max-width);
	margin: 0 auto;
	position: relative;
	padding: 1em 0 1em 0;
	background-color: white;
	color: black;
	align-self: center;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

header .logo {
	height: 2rem;
	width: 14rem;
	stroke-width: 0;
	stroke-linejoin: "miter";
	stroke-miterlimit: 2;
	fill: var(--primary-green-color);
	stroke: var(--primary-green-color);
}

.logo-wrapper {
	display: flex;
}

.main-menu {
	display: flex;
	gap: 2rem;
}

.main-menu > a {
	all: unset;
	display: inline;
	cursor: pointer;
	text-decoration: none;
	text-wrap: nowrap;
	font-weight: 500;
}

.main-menu > a.selected,
.main-menu > a:hover {
	text-decoration: underline;
	text-underline-offset: 8px;
	text-decoration-thickness: 2px;
}

header > nav {
	display: flex;
}

/* mobile */

.menu-burger {
	all: unset;
	display: flex;
}

.menu-burger > svg {
	display: flex;
	height: 2rem;
	width: auto;
}

.mobile-menu-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: fit-content;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	background-color: white;
	/* box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); */
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.mobile-menu-drawer.open {
	transform: translateX(0);
}

.mobile-menu-drawer-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0.75rem 0 0.75rem;
	gap: 5rem;
	font-size: 1.25rem;
}

.mobile-menu-drawer-title-close-button {
	all: unset;
	display: flex;
}

.mobile-filter-menu-close-icon {
	height: 1.25rem;
	width: auto;
}

.mobile-main-menu-options {
	list-style-type: none;
	text-align: left;
	padding: 0.75rem;
	margin: 0;
	overflow: auto;
	height: 100%;
}

.mobile-main-menu-options > li {
	padding: 0.75rem 0;
	font-size: 1rem;
	white-space: nowrap;
	box-shadow: inset 0 -1px 0 0 #e0e0e0;
}

.mobile-main-menu-options > li > a {
	text-decoration: none;
	color: black;
}

.mobile-main-menu-options > li > a {
	display: block;
	width: 100%;
}

.mobile-main-menu-options > li > a.selected {
	opacity: 0.5;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.overlay.show {
	display: block;
	opacity: 1;
}

/* Media */

@media (max-width: 425px) {
	header .logo {
		width: 10rem;
	}

	.menu-burger > svg {
		height: 1.5rem;
	}
}

@media (max-width: 768px) {
	.main-menu {
		display: none;
	}
}

@media (min-width: 769px) {
	.menu-burger {
		display: none;
	}
}

@media (max-width: 1024px) {
	header > nav {
		max-width: var(--main-max-width-mobile);
	}
}
