nav{
    height: 80px;
    width: 100%;
    padding-left: 20%;
    padding-right: 20%;
    z-index: 999999;
    position: absolute;
}
.enlace{
    position: absolute;
    padding: 25px 50px;
}
.logo{
    height: 40px;
    margin-top: 5px;
}
nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    font-size: 18px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    color:black;
    text-decoration: none;
}

nav ul li a:hover{
    border-bottom-width: 3px;
    border-bottom-style: solid;
    color: #EE434D !important;
    transition: .4s;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.active a{
    border-bottom-width: 3px;
    border-bottom-style: solid;
    color: #EE434D !important;
    transition: .4s;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}


.checkbtn{
    font-size: 30px;
    color: black;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
section{
    background: url(fondo.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    height: calc(100vh - 80px);
}

@media (max-width: 952px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 16px;
    }
}

@media (max-width: 1450px){
    .checkbtn{
        display: block;
    }

    .logo{
        height: 40px;
        margin-top: 1px;
    }

    ul{
        padding-left: 0;
        position: fixed;
        width: 100%;
        height: 40vh;
        background: white;
        top: 80px;
        text-align: center;
        transition: all .5s;

        transform: scaleY(0);
        transform-origin: 100% 0%;
        opacity: 1;
    }

    nav{
        background: white;
        height: 80px;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        top: 0;
    }

    nav a{
        text-decoration: none;
        color: black;
    }
    nav ul li{
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
   

    #check:checked ~ ul{
        transform: scaleY(1);
        transform-origin: 100% 0%;
        opacity: 1;
    }
}