*
{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style:none;
    box-sizing:border-box;
}

nav{
    background: rgb(13, 4, 49);
   display:inline-block;
    height: 100%;
    width: 100%;
    margin: -4px 0px;
    
}
.enlace{
    position: absolute;
    padding: 20px 50px;
}
.logo{
    
    height: 80px;
    width: 150px;
}
nav ul{
    float: right;
    margin-right: 80px;
}

nav ul li{
    display: inline-block;
    line-height: 100px;
    margin: 0 15px;
}
nav ul li a{
    color: aliceblue;
    font-size: 16px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}
li a.active, li a:hover{
    background: rgb(63, 120, 205);
    transition: .5s;
    
    padding: 42px 20px;
}

section{
    background:rgb(80, 122, 173);
    background-size: cover;
    background-position: center center;
    height: calc(100vh - 100px);
}
.checkbtn{
    font-size: 30px;
    color: aliceblue;
    float: right;
    line-height: 95px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}

@media(max-width: 952px){
    .enlace{
        padding-left: 12px;
        }
nav ul li a{
    font-size: 16px;
}
}

@media (max-width: 858px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: rgb(129, 99, 99);
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 18px;

    }
    li a:hover, li a.active{
        background:none;
        color: rgb(76, 11, 173);
    }
    #check:checked ~ ul{
        left: 0;
    }

}