*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: montserrat;
}

header{
	height:50px;
	background: #0C2F86;
	color: #fff;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

header .logo{
	background: #0C2F86;
	color: #fff;
	font-size: 45px;
	
	float: left;
} 	

#btn_menu{
	display: none;
}

header label{
	font-size: 30px;
	cursor: pointer;
	display: none;
}

.menu ul{
	background: #0C2F86;
	display: flex;
	list-style: none;
	margin-right: 20px;
	float: left;
}

.menu ul ul{
	display: none;

}

.menu a{
	display: block;
	padding: 15px 20px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}

.menu a:hover{
	background: rgba(0, 0, 0, 0.3);
}

.menu ul li:hover ul{
	display: block;
	position: absolute;
}

.activo, a:hover{
	background: #1b9bff;
	transition: .5s;
}

@media (max-width: 768px){
	header label {
		display: block;
	}
	.menu{
		position: absolute;
		top: 50px;
		left: 0;
		width: 100%;
		transform: translateX(-100%);
		transition: all 0.3s;
	}
	.menu ul{
		/*flex-direction: column;*/
		display: block;
		background: #0D0A2A;
		/*text-align: center;*/
	}
	.menu ul li:hover ul{
		display: block;
	}

	

	#btn_menu:checked ~ .menu{
		transform: translateX(0%);
		
	}
}