*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

nav{
    background: rgba(11, 11, 11, 0.852);
    height: 90px;
    width: 100%;
    z-index: 90;
    position: fixed;
    

}

.enlace{
    position: absolute;
    padding: 2px 50px;
}

.logo{
    height: 80px;

}

nav .navBar {
    float: right;
    margin-right: 20px;
    height: 100%;
    background: rgba(11, 11, 11, 0.852);
}

nav ul li{
    display: inline-block;
    line-height: 20px;
    
    

}

nav ul li a{
    color: rgba(240, 248, 255, 0.905);
    font-size: 22px;
    font-weight: bold;
    
    border-radius: 7px;

}

.navBar li a.active, .navBar li a:hover{
    background: rgba(2, 166, 242, 0.368);
    transform: scale(1.3) translateY(-5px);
    transition: .5s;
    cursor: pointer;
}

.checkbtn{
    font-size: 40px;
    color: rgba(231, 234, 237, 0.668);
    float: right;
    line-height: 90px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
    
}

#check{
    display: none;
}

@media (max-width: 1180px){
    .enlace{
        padding-left: 20px;

    }
    nav ul li a{
        font-size: 15px;
    }
}

@media (max-width: 1180px){
    .checkbtn{
        display: block;
    }
   
    
    .navBar{
        position: fixed;
        width: 100%;
        height: 80vh;
        
        top: 70px;
        left: -100%;
        text-align: center;
        transition: all .7s;
        
    }
    nav ul li{
        display: block;
        margin: 28px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 35px;
        
        color: rgba(235, 230, 230, 0.668);
        
        font-weight: bold;
        padding: 3px 13px;
        
    }
    li a:hover, li a.active{
        background: none;
        color: #c4d7e4df;
    }
    #check:checked ~ ul{
        left: 0;
        z-index: 99;
    }
}

@media (min-width: 1180px){
    .navBar{
        height: 80px;


    }
    
    nav .navBar li{
        padding-top: 30px;
    }
    nav .navBar li a{
        padding-right: 7px;
    }

}