/*****MENU*************************************/

nav{
    position: fixed;
    top: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 2;
    width: 100%;
    height: auto;
    min-height:45px;
    background: var(--verde);
    padding: 0 4%;
    transition: top 0.5s;
}

.navBaja{
    top:0;
}

nav ul{
    display: flex;
}

nav li{
   padding: 5px;
   list-style: none;
}

nav a{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

nav a:hover{
    color: orange;
}

/******BTON MENU----------------------------/*/

.btonMenu{
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    z-index: 4;
    cursor: pointer;
}

.btonMenu img{
    width: 100%;
}


/*********BUSCADOR**************************************************/
.contenedorBusqueda{
    position: fixed;
    display: flex;
    justify-content: flex-end;
    align-items:center;
    padding-right: 5%;
    top: 4px;
    right: 0;
    width: 40%;
    z-index: 3;
}

#buscar{
    display: flex;
    justify-content: right;
    width: 300px;
    border: none;
    padding: 5px;
}

#busqueda{
    margin-left: 10px;
}

.inputLupa{
    padding-left: 10px;
    border-radius: 10px;
    border: none;
    margin: 0 5px;
}

.lupa{
    padding: 5px;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    background: var(--verde);
    background-image: url(../assets/lupa.svg);
    width: 26px;
    height: 26px;
    cursor: pointer;
    border: none;
    margin-left: 5px;
}





/*RESPONSIVE----------------------------------------------------*/


@media (min-width: 800px){
    .btonMenu{
        display: none;
    }
}

@media (max-width: 800px){
  
    nav{
        top: -120%;
        justify-content: center;
        text-align: center;
        padding: 50% 30%;
    }

    nav ul{
    flex-direction: column;
    }

    nav li{
    line-height:250%;
    }

    .contenedorBusqueda{
        position: absolute;
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        padding-right: 15px;
        top: 0;
    }

.lupa{
    background: var(--Claro);
    background-image: url(../assets/lupa.svg);
}
     }
 
     @media (max-width: 500px){
        .contenedorBusqueda{
            padding-right: 50px;
        }
       
     }