*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

nav{
    background: #ffffff;
    height: 70px;
    width: 100%;
}
.enlace{
    position: absolute;
    padding: 15px 25px;
}
.logo{
    height: 80px;
}
nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
	display: inline-block;
	line-height: 27px;
	margin: 0 5px;
	text-align: left;
}
nav ul li a{
    color: #000000;
    font-size: 18px;
    padding: 0px 0px 0px 0px;
    border-radius: 10px;
    text-transform: uppercase;
	
}
li a.active, li a:hover{
    background: #FFFFFF;
    transition: .5s;
	text-decoration-color: #FF0000; text-decoration-thickness: 3px; text-decoration-line: underline; text-underline-offset: 5px;
}
.checkbtn{
    font-size: 30px;
    color: #000000;
    float: right;
    line-height: 70px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
section{
    background: url(images/banner.jpg) no-repeat;
    background-size: cover;
    background-position: left center;
    height: calc(100vh - 90px);
}

@media (max-width: 952px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 18px;
    }
}

@media (max-width: 858px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #0f1f1f;
        top: 60px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 25px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
		color: #000000;
    }
    li a:hover, li a.active{
        background: none;
        color: #FF0000;
    }
    #check:checked ~ ul{
        left:0;
    }
}

/* Oculta el submenú por defecto */
nav ul ul {
  display: none;
}

/* Muestra el submenú cuando se hace hover sobre el <li> padre */
nav ul li:hover > ul {
  display: block; /* o inline-block */
  position: absolute; /* Para posicionarlo debajo del <li> padre */
}
