/*NAV*/

nav {
    width: 100vw;
    height: 90px;
    position: fixed;
    box-shadow:
        1.7px 6.5px 6.1px -38px rgba(0, 0, 0, 0.034),
        4.8px 17.9px 16.9px -38px rgba(0, 0, 0, 0.097),
        11.5px 43.1px 40.7px -38px rgba(0, 0, 0, 0.14),
        38px 143px 135px -38px rgba(0, 0, 0, 0.17);
    top: 0;
    z-index: 100;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}



nav ul {
    width: 90%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0px;
    gap: 30px;
}

.navPeque {
    width: 100vw;
    height: 90px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 299;
    position: fixed;
    z-index: 420;
    display: none;

}

.abrirMenu {
    width: 30px;
    height: 30px;
    margin-left: 5%;
    transition: all .3s;
}

.abrirMenu span {
    margin-left: 5px;
    display: block;
    width: 30px;
    height: 2px;
    background-color: black;
    margin-top: 5px;
    transform-origin: 0% 100%;
    transition: all .5s;
}

.barra1{
    transform: rotate(45deg) translate(-2px, 1px);
    
}

.barra2{
    opacity: 0;
    margin-left: -30px;
}


.barra3{
    transform: rotate(-45deg) translate(-5px, 4px);;
}

.menuMovil{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    z-index: 400;
    background-color: white;
    position: fixed;
    left: 0;
    transition: all .4s;
}

.menuOculto {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    z-index: 400;
    position: fixed;
    left: -100vw;
    transition: all .4s;
}

.enlaces {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.logo {
    background-image: url("../logo/landetxa.png");
    background-size: cover;
    width: 100px;
    height: 110px;
    position: fixed;
    top: 0;
    left: 50px;
    z-index: 500;
    margin: 0 10px;
}

.links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

a,
a:link,
a:visited,
a:active {
    text-decoration: none;
    color: #031926;
    font-weight: 500;
    font-size: 20px;
}

.links:hover {
    color: #155826;
}

.active {
    background-color: rojo;
}

@media screen and (max-width : 850px) {
    /*CAMBIAR NAV*/
    .navGrande {
        display: none;
    }

    .navPeque {
        display: flex;
        position: fixed;
    }

    .logo{
        position: fixed;
    }

    .logoContainer {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo{
        left: auto;
    }
}