header {
	display: flex;
	justify-content: space-between;
	align-items: center;

	color: whitesmoke;
	position: relative;
	
	background-color: #051F40;
	font-weight: bolder;
	padding: 0.8rem;
	padding-top: 0rem;
	padding-bottom: 0rem;
	z-index: 1002;
}

header .logo img {
	height: 50px;
}


header nav {
	display: none;
}

header nav ul {
	display: flex;
	list-style: none;
	gap: 20px;
	margin-left: auto;
}


header nav ul a {
	color: whitesmoke;
	white-space: nowrap;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
	padding: 18px 10px;
}



header .menu-acordeon {
	font-size: 3rem;
	cursor: pointer;
	user-select: none;
}



aside {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #051F40;
	color: whitesmoke;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	z-index: 1001;
}


aside ul {
	display: flex;
	flex-direction: column;
  	list-style: none;
  	text-align: center;
	gap: 0.5rem;
	width: 100%;
}

aside ul li {
	width: 100%;
}

aside ul li a {
	padding: 0.4rem 1rem;
	text-decoration: none;

	display: inline-block;
	width: 100%;

	font-size: 1.7rem;
	
	color: inherit;
}

aside ul li a:hover  {
	background-color: #036;
}


.cristal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1001;
}


#menu-toggle:checked ~ aside {
	transform: translateX(0);
}

#menu-toggle:checked ~ .overlay {
	opacity: 1;
	pointer-events: auto;
}



@media (min-width: 768px) {
	header nav {
		display: block;
	}

	header nav ul a:hover {
		background-color: #069;
	}
	
	header .menu-acordeon {
		display: none;
	}

	header nav ul a {
		font-size: 1.1em;
	}

}

@media (min-width: 1024px) {
	header nav ul a {
		font-size: 1.5em;
	}
}