/********MENU*********/
:root {--main: #7525e2; --mainOscuro: rgb(83, 6, 36); --Azul: #003E59; --verde: #4D961C;}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    height: 50px;
    padding: 1% 3%;
    text-transform: uppercase;
    z-index: 5;
    transition: all .4s ease-in-out;
    background: rgba(0, 0, 0, 0.85);
    
}

.colorFondo2{
    background: black;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
    color: white;
}

.colorTexto2{
    color: var(--verde);
}
.colorTexto2:hover{
    color: white;
}


.colorFondo3{
    background: black;
}



menu ul{
    display: flex;
}


menu li{
    list-style: none; 
    }    


menu li {
    opacity: 0;
    animation: menu-in forwards .3s;
}

menu li:nth-child(1) {
    animation-delay: .2s;
}

menu li:nth-child(2) {
    animation-delay: .4s;
}

menu li:nth-child(3) {
    animation-delay: .6s;
}

menu li:nth-child(4) {
    animation-delay: .8s;
}

menu li:nth-child(5) {
    animation-delay: 1s;
}

menu li:nth-child(6) {
    animation-delay: 1.2s;
}

menu li:nth-child(7) {
    animation-delay: 1.4s;
}

menu li:nth-child(8) {
    animation-delay: 1.6s;
}


menu a{
    text-decoration: none;
    color: #c9c9c9;
    font-size: .7rem;
    font-weight: bold;
    margin: 0 8px;
    display: block;
    padding: 5px;
    letter-spacing: 3px;
    transition: all .2s ease;
}

menu a:hover{
    text-shadow:  rgb(207, 207, 207) 1px 0 10px;
    color: var(--verde);
}

menu img{
    width: 15px;
    vertical-align: middle;
    filter: grayscale(100%);
}

menu img:hover{
    filter: grayscale(0);
}

.botonIcono{
    margin: 0 3px;
}

.botonIcono:hover{
    transform: scale(1.1);
}


/*****BTN MENU********--------------------------------------------*/

.btnMenu{
    position: fixed;
    top: 12px;
    right: 10px;
    width: 40px;
    height: 40px;
    z-index: 6;
    cursor: pointer;
}

.btnMenu img{
    width: 100%;
}

/*******ANIMACIONES******************************/


@keyframes fade-out {
        from {
            opacity: 1;
          }
          to{
            opacity: 0;
          }
        }

/*******MOVIL********************************/

@media screen and (max-width:800px){
    nav {
        top: 0;
        right: -100%;
        padding: 80px 0;
        width: 100%;
        height: 100vh;
        background: black;
        justify-content: center;
        border-left: 4px solid var(--verde);
       
    }

    menu ul{
        flex-direction: column;
        padding: 10px;
    }

    menu li{
        padding: 10px;
    }

    menu a{
        font-size: 2.6rem;
        line-height:20px;
        font-weight: bold;
        text-align: right;

    }

    menu a:hover{
    text-shadow: none;
     color: var(--verde);
}

    .botonMenu img{
        width: 45px;
    }



    .menuBaja{
        top: 0;
        right: 0;
        height: 100vh; 
    }

    .menuSube{
        right: -100%;
    }

    .botonIcono img{
        width: 36px;
    }

}


@media screen and (min-width:800px){
    .btnMenu{
        display: none;
    }

}


/*******ANIMACION*****-------------------------------****/

@keyframes menu-in {
    0% {
        opacity: 0;
        transform: translateY(-100px);
      }

      50%{
        opacity: 1;
        transform: translateY(20px);
      }
      100%{
        opacity: 1;
        transform: translateY(0);
      }
    }
