header {
    background-color: var(--white-color);
    /*background-image: url(/public/images/fondo1.jpg);*/
    background-position: top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 30px 15%;
    /*height: calc(30vh);*/
    height: auto;
}

@media(max-width: 1144px) {
    header {
        background-image: url(../images/Fondo4.jpg);
    }
}

.logo {
    height: 25vh;
    /*width: 250px;*/
    z-index: 2;
    border-radius: 50%;
    background-color: var(--white-color);
}

@media (min-width: 3676px) {
    .logo {
        height: 10vh;
    }
}

nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 20%;
    height: 70px;
    position: sticky;
    top: -0.1%;
    background-color: var(--green-color);
    z-index: 1000;
    position: relative;
}

nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.65em;
}

nav ul {
    padding: 5px 5%;
}

nav ul li {
    list-style-type: none;
}

nav ul li {
    width: auto;
}

nav ul li a {
    text-decoration: none;
    color: var(--cream-color);
    transition: ease-in-out .3s;
    font-weight: 300;
    text-align: center;
}

nav ul li a:hover {
    color: var(--white-color);
    text-decoration: underline 3px var(--white-color);
    text-underline-offset: 3px;
}


/*Estilos boton menu*/
.hamburger-menu {
    display: none;
    /* Se esconde por defecto en pantallas grandes */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 40px;
    height: 25px;
    cursor: pointer;
}

.bar {
    background-color: var(--white-color);
    height: 7px;
    margin: 3px 0;
    width: 100%;
    border-radius: 4px;
}

#check {
    display: none;
}

label {
    width: 50px;
}


@media (max-width: 30000px) {

    nav {
        padding: 20px 20%;
        position: sticky;
        top: 0;
    }

}


@media (max-width: 1024px) {

    nav {
        padding: 20px 10%;
        position: sticky;
        top: 0;
    }

}

@media (max-width: 768px) {

    nav {
        display: flex;
        flex-direction: column;
        z-index: 5;
        height: 10vh;
        background-color: var(--green-color);
    }

    .hamburger-menu {
        display: block;
    }

    .menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        position: fixed;
        top: 10vh;
        height: 40vh;
        background-color: var(--green-color);
        padding: 20px 0;
        width: 100%;
        left: -100%;
        transition: ease-in-out .3s;
        border-top: solid 2px var(--white-color);
        border-bottom: solid 2px var(--cream-color);
    }

    nav ul li a {
        opacity: 1;
        text-align: left;
    }

    nav li a {
        font-size: 1.2em;
    }

    #check:checked~ul {
        left: 0;
    }

}

@media (max-width: 510px) {
    nav {
        padding: 20px 4%;
    }

    header {
        padding: 20px 4%;
    }

    .logo {
        height: 30vh;
    }

    li a {
        font-size: 1em;
    }
}