.headerGrande {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav1Container {
    background-color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.logo {
    width: 195px;
    height: 75px;
    background-image: var(--logo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.buscador {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buscador_input {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#resetButton {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
}

.buscador_input input {
    width: 100%;
    height: 2rem;
    border: var(--borde);
    border-radius: 0.3rem 0 0 0.3rem;
    padding: 0.5rem 2rem;
    font-size: 1.2rem;
}

::-webkit-input-placeholder {
    color: var(--gris-2);
}

.buscador_lupa {
    width: 3.1rem;
    height: 3.1rem;
    background-color: var(--azul);
    border-radius: 0 0.3rem 0.3rem 0;
    box-shadow: var(--sombra-2);
}

.buscador_lupa img {
    width: 2rem;
    height: 2rem;
    margin: 0.5rem;
    scale: 0.6;
}

.usuario {
    width: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.usuario_nombre {
    font-size: 1.2rem;
    margin-right: 1rem;
    font-weight: 500;
}

.usuario_foto {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.usuario_foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usuario_salir {
    display: flex;
    justify-content: center;
    align-items: center;
}

.usuario_salir img {
    width: 3rem;
    height: 3rem;
    margin: 0.5rem;
    scale: 0.6;
    cursor: pointer;
}

.nav2Container {
    width: 100%;
    background-color: var(--gris-1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.nav2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    padding: 0 0.5rem;
}

.hamburguesa1 {
    width: 3rem;
    height: 3rem;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: white;
}

.hamburguesa1 img {
    width: 2rem;
    height: 1.5rem;
    margin: 0.8rem 0.5rem;
    scale: 1.1;
}

.nav2_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    max-width: 1200px;
    padding: 0.5rem;
}

.nav2_menu_item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gris-4);
    cursor: pointer;
}

.headerSmall {
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav2ContainerSmall {
    width: 100%;
    background-color: var(--gris-1);
    display: none;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

/*a menos de 1080px hay que ocultar nav_menu*/
@media (max-width: 1080px) {
    .nav2_menu {
        display: none;
    }
}

@media (max-width: 800px) {
    .headerGrande{
        display: none;
    }
    .nav2Container{
        display: none;
    }
    .headerSmall{
        display: flex;
    }

    .buscador{
        width: 65%;
    }

    .nav1{
        justify-content: center;
    }
    .nav2ContainerSmall{
        display: flex;
        background-color: white;
    }
    .hamburguesa1{
        background-color: var(--azul);
        border-radius: 5px;
        scale: 0.8;
    }
    .hamburguesa1 img{
        scale: 1.3;
    }
}

.nav3Container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    z-index: 2;
    transform: translate(-100%);
}

.nav3 {
    background-color: var(--gris-1);
    width: 100%;
    max-width: 325px;
    height: 100dvh
}

.nav3Header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.titulonav3Header {
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.cerrarMenu {
    cursor: pointer;
    scale: 1.5;
}

.nav3_menu {
    background-color: white;
    border-top: 1px solid var(--gris-2);
    border-bottom: 1px solid var(--gris-2);
}

.nav3_menu_item {
    cursor: pointer;
    padding: 1.5rem;
}

.nav3_menu_item:hover {
    color: var(--azul);
}

.sobrante {
    width: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.315);
    cursor: pointer;
}