* {
	box-sizing: border-box;
}

html, body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

.menu {
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 998;
	width: 60vw;
	height: 100svh;
	background-color: white;
	display: none;
	flex-direction: column;
	box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.5);
	justify-content: space-between;
	transition: left 0.1s;
	overflow: auto;
}

.menu-content,
.menu-footer {
	width: 90%;
	margin: 0 auto;
	position: relative;
}

.menu-content h1 {
	text-align: center;
}

/* Override leaflet control styles when inside menu */
.menu .leaflet-control-layers {
	box-shadow: none;
	border: none;
	border-radius: 0;
	margin: 0;
	background-color: transparent;
}

/* Hamburger menu */
.hamburger-menu {
	position: absolute;
	padding: 0.2rem 0;
	top: 0;
	left: 0;
	border-radius: 2px;
	cursor: pointer;
	display: flex;
	font-size: 0.95rem;
	justify-content: center;
	align-items: center;
	z-index: 999;
	margin-left: 10px;
	margin-top: 10px;
	width: 6rem;
	box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
	height: auto;
	line-height: 30px;
	background-color: white;
	transition: display 0.1s;
}

.hamburger-menu a {
	text-decoration: none;
	color: black;
}

.menu-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #666;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	position: absolute;
	top: 10px;
	right: 0;
}

.menu-close:hover {
	background-color: #e9ecef;
	color: #333;
}

/* FOOTER */
.menu-footer {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-bottom: 3.3rem;
	position: relative;
}

.menu-footer img {
	width: 110px;
}

.menu-footer-text {
	font-size: 0.8rem;
}

.menu-footer-logos {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: center;
}


/* HEADER */
.menu-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1.5rem 0;
}

.menu-header h1 {
	font-size: 1.5rem;
	margin: 0;
}

.menu-header img {
	width: 50px;
}

@media (min-width: 768px) {
	.menu {
		width: 40vw;
	}
	.menu-header {
		flex-direction: row;
	}
}

@media (min-width: 992px) {
	.menu {
		width: 22vw;
	}
}

@media (min-width: 1200px) {
	.menu {
		width: 20vw;
	}
}

@media (min-width: 1600px) {
	.menu-header {
		padding: 1rem;
		padding-top: 2rem;
	}

	.menu {
		width: 18vw;
	}
}
