.s__1 {
    margin-top: 50px;
}

.s__1 p {
    width: 50%;
    text-align: justify;
}

.s__1 h2 {
    color: var(--azulclaro);
    font-family: avenir_nb;
    font-size: 23px;
    line-height: 28px;
    padding: 10px 0;
}

.s__cards {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.s__cards a {
    width: 25%;
    padding: 0;
    text-decoration: none;
}

.s__t_card {
    width: 100%;
    height: auto;
    background-color: var(--claro);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.s__t_card_logo {
    width: 100%;
    height: 110px;
    margin: 0;
    display: flex;
    justify-content: center;
}

.s__t_card_logo img {
    width: 50%;
    height: 110px;
    margin: auto;
}

.s__t_card_colchon {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.s__t_card_colchon img {
    width: 90%;
    transition: all 300ms ease-in-out;
}

.s__t_card_sizes {
    display: grid;
    /* grid-template: 30px 30px / 1fr 5px 1fr; */
    margin: 0;
    padding: 15px;
    width: 100%;
    height: 50px;
    opacity: 0;
    background-color: rgba(78, 35, 117, 0.4);
    border-radius: 0 0 15px 15px;
    transition: all 300ms ease-in-out;
    overflow: hidden;
    transform: translateY(40px);
}

.s__t_card_sizes h2 {
    width: 100%;
    color: var(--morado);
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
}

/* .s__t_card_sizes h2:nth-child(1),
.s__t_card_sizes h2:nth-child(4) {
    text-align: right;
    padding-right: 6px;
}

.s__t_card_sizes h2:nth-child(6),
.s__t_card_sizes h2:nth-child(3) {
    text-align: left;
    padding-left: 6px;
} */

.section__t a:hover .s__t_card_sizes {
    opacity: 1;
    transform: translateY(0px);
}

.section__t a:hover .s__t_card_colchon img {
    width: 95%;
}

.section__3 {
    margin-top: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section__3 h2 {
    font-size: 40px;
    color: var(--morado);
    margin-bottom: 30px;
}

.section__3 a {
    color: var(--amarillo);
    transition: all 200ms ease-in-out;
}

.section__3 a:hover {
    color: var(--azulclaro)
}

.btn_catalogo {
    margin: 5px;
    width: 160px;
    height: 37px;
}

.section__3 h1 {
    font-size: 50px;
    color: var(--azulclaro);
    margin: 50px 0 0 0;
    padding: 0;
}

.s__3_logos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
}

.s__3_logos ul {
    width: 70%;
    height: 150px;
    display: grid;
    grid-template-columns: repeat(7, 14%);
    list-style-type: none;
    align-items: center;
    justify-content: center;
    margin-bottom: 150px;
}

.s__3_logos li {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.s__3_logos a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.s__3_logos li img {
    width: 70%;
    transition: all 300ms ease-in-out;
    filter: grayscale(50%);
}

.s__3_logos a:hover img {
    width: 90%;
    filter: grayscale(0%);
}

.sml {
    width: 90%;
}

@media screen and (max-width: 1250px) {
    .s__t_card_colchon {
        height: 200px;
    }

    .s__3_logos ul {
        width: 90%;
    }
}

@media screen and (max-width: 900px) {
    section {
        padding: 0 15px;
    }

    h1 {
        font-size: 40px;
    }

    .s__1 {
        margin-top: 20px auto;
    }

    .s__1 p {
        width: 90%;
    }

    .s__cards a {
        width: 100%;
    }

    .s__t_card {
        height: auto;
        gap: 0;
    }

    .s__t_card_colchon {
        height: 350px;
    }

    .s__t_card_sizes {
        opacity: 1;
        height: auto;
        padding: 5px;
    }

    .s__t_card_sizes h2 {
        font-size: 20px;
    }

    .s__3_logos ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 95%;
        height: auto;
        justify-content: center;
        padding: 0;
        gap: 1%;
        margin-bottom: 20px;
    }

    .s__3_logos ul li {
        width: 48%;
    }

    .section__3 h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 700px) {}

.s__t_card_colchon {
    height: 250px;
}