* {
	box-sizing: border-box;
}

html, body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

.menu {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 998;
	width: 50vw;
	max-width: 250px;
	height: auto;
	max-height: 100dvh;
	padding-bottom: 2.5rem;
	border-radius: 0.25rem;
	background-color: white;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.5);
	justify-content: space-between;
	transition: left 0.1s;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.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: none;
	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__closed {
	top: 0;
	left: -9999px;
}

.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;
	gap: 1rem;
	align-items: center;
	justify-content: center;
}

.menu-footer-mapujme {
	align-self: center;
}


/* HEADER */
.menu-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem;
	padding: 1.5rem 0;
}

.menu-header h1 {
	font-size: 1.5rem;
	margin: 0;
}

.menu-header img {
	width: 50%;
}

@media (min-width: 768px) {
	.menu {
		width: 30vw;
	}
}

@media (min-width: 992px) {
	.menu {
		width: 16vw;
		max-width: 250px;
	}
}
