.encabezado {
    display: flex;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px; 
    background-color: var(--blanco);
}

.encabezado__logo-y-busq {
    display: flex;
    align-items: center;
}

.encabezado__busqueda {
    background-image: url(../../imagenes/lupa.png);
    background-repeat: no-repeat;
    background-position: 94%;
    background-color: var(--tiza);
    border: none;
    height: 40px;
    width: 393px;
    padding: 8px 16px;
    margin: 0 32px;
    font-family: inherit;
    color: var(--gris-oscuro);
    border-radius: 40px;
}

.encabezado__busqueda:focus {
    outline: none;
}

.encabezado__busqueda::placeholder {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: var(--gris-claro);
}


.encabezado__lupa {
    display: none;
    background: url(../../imagenes/lupa2.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 40px;
    border: none;
}

.encabezado__boton {
    width: 182px;
    height: 51px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    color: var(--azul);
    background-color: transparent;
    border-color: var(--azul);
    border-style: solid;
    border-width: 2px;
    box-sizing: border-box;
    transition: 200ms;
    margin-left: auto;
}

.encabezado__boton:hover {
    cursor: pointer;
    background-color: var(--azul);
    color: var(--blanco);
}

@media screen and (max-width: 940px) {
    .encabezado__busqueda {
        width: calc(100vw * 0.4);
    }    
}

@media screen and (max-width: 768px) {
    .encabezado {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .encabezado img {
        width: 100px;
    }

    .encabezado__boton {
        font-size: 14px;
        width: 166px;
        height: 40px;
    }
}

@media screen and (max-width: 600px) {
    .encabezado {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .encabezado__lupa {
        display: initial;
    }

    .encabezado__busqueda {
        width: 100%;
        order: 4;
        margin: 0.7rem 0 0;
    }

    .ocultar {
        height: 0;
        padding: 0;
        transition: 200ms;
    }

    .mostrar {
        height: 40px;
        padding: 8px 16px;
        transition: 200ms;
    }

    .encabezado__boton {
        width: 133px;
        height: 40px;
        margin-left: 0;
    }
}


