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

header{
    background-image: url(./imagenes/header2.jpg);
    background-size: 100%;
    background-attachment: fixed;
    width: 100%;
    height: 600px;
    background-repeat: no-repeat;
    position: relative;
}
nav{
    background-color: #0009;
    height: 80px;
    width: 100%;
    opacity: 0.9;
    position: fixed;
}

.pagina_principal{
    position: absolute;
    padding: 20px 50px;
}

.logo {
    width: 15%;
    height: 100%;
}
nav ul{
    float: right;
    margin-right: 20px;
    padding: 15px 15px;
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;

}

nav ul li a{
    color: rgb(248, 248, 248);
    font-size: 18px;
    padding: 7px 13px;
    border-radius: 3px;
    font-family: 'roboto'
    
}

li a.active, li a:hover{
    background: #011d5d;
    transition: .8s;
    border-radius: 5px;

}

.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}

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

@media (max-width: 1131px) {
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background:rgb(15, 15, 13);
        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: 20px;

    }

    li a:hover, li a.active{
        background: none;
        color: rgb(13, 109, 133);
    }

    #check:checked ~ul{
        left: 0;
    }

    .logo{
        width: 25%;
         height: 100%;
       
    }

    header{
        background-image: url(./imagenes/header2.jpg);
        background-size: 100%;
        background-attachment: fixed;
        width: 100%;
        height: 300px;
        background-repeat: no-repeat;
        position: relative;

    }
}

@media (min-width: 1024px) {
    .logo{
        width: 200px;
        height: 150px;
    }
    nav{
        background-color: #0009;
        height: 120px;
        width: 100%;
        opacity: 0.9;
        position: fixed;
    }
    header{
        background-image: url(./imagenes/header2.jpg);
        background-size: 100%;
        background-attachment: fixed;
        width: 100%;
        height: 800px;
        background-repeat: no-repeat;
        position: relative;

    }
}