* {
    margin: 0;
    padding: 0;
}

.buttonxd {
    position: absolute;
    font-weight: bold;
    font-size: 16px;
    top: 350px;
    left: 5%;
    padding: 16px 35px;
    background-color: #B52E23;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* contador animado */
.c-animacion-contador {
    padding: 3rem 6rem 2rem;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.c-animacion-contador>div {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30%;
}

.c-animacion-contador>div>i {
    color: #B52E23;
    font-size: 55px;
}

.data-inicial {
    width: 100%;
    color: #B52E23;
    background: linear-gradient(#eede9557, #f3b9b480);
    font-size: 50px;
    font-weight: bold;
}


/* Contenido de la pÃ¡gina */

.c-comercio-justo {
    width: 100%;
    box-sizing: border-box !important;
    padding-inline: 18rem;
    align-items: center;
}

.h2-comercio {
    margin-block: 1rem;
    text-align: center;
}

.c-h-comercio {
    width: 100%;
    /* display: grid; */
    /* grid-template-columns: repeat(1, 1fr); */
}

.c-h-comercio iframe {
    width: 560px;
    height: 315px;
    margin: auto;
    padding-block: 1rem;
}

.c-h-comercio p {
    margin-inline-end: 1rem;
    text-align: justify;
    margin-block-end: 1rem;
    line-height: 1.5rem;
}

.p-p p {
    text-align: justify;
    margin-block-end: 1rem;
    line-height: 1.5rem;
}

/* Estilos colocados por Pedro */
.faqs-container {
    width: 100%;
    box-sizing: border-box !important;
    padding-inline: 18rem;
    border-radius: 10px;
    animation: fadeIn 1s ease-out;
}

.faqs-section {
    padding: 20px 0px;
}

.faqs-title {
    text-align: center;
    font-size: 2rem;
    margin-block: 1rem 1.5rem;
    font-family: 'Arial', sans-serif;
    color: #1e1e64;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #B52E23;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: #1e1e64;
    margin: 0;
}

.faq-answer {
    max-height: 0;
    margin: 10px 0;
    color: #333333;
    line-height: 1.6;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.arrow {
    margin-right: 10px;
    color: #1e1e64;
    font-size: 1.25rem;
    transition: transform 0.3s, color 0.3s;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
    color: #ff7a7a;
}

/* mas estilos de Pedro */
.title-ferias {
    color: #1e1e64;
    font-size: 2rem;
    margin-block: 1rem;
    text-align: center;
    justify-content: center;
}

.volunteer-center-p {
    display: flex;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box !important;
    padding-inline: 18rem;
    margin-block-end: 3rem;
}


.volunteer-sections-p {
    flex: 1;
    width: 250px;
    background-color: #ffffff;
    border-right: 2px solid #B52E23;
    overflow-y: auto;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}


.section-title-p {
    padding: 15px;
    margin: 10px 0;
    border: #E5CE69 solid 1.5px;
    background-color: #B52E23;
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.section-title-p:hover {
    background-color: #d94335;
    transform: translateY(-3px);
}


.section-descriptions-p {
    flex: 3;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    box-sizing: border-box;
}


.description-content-p {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}


.description-content-p.active {
    display: block;
    opacity: 1;
}


.description-content-p h4 {
    color: #B52E23;
    border-bottom: 2px solid #d94335;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.description-content-p p {
    line-height: 1.6;
    color: #333333;
}

.description-content-p ul {
    list-style-type: disc;
    margin-left: 20px;
}

.description-content-p li {
    margin-bottom: 10px;
}


@media(max-width: 1600px) {
    .icon-row {
        padding-inline: 14rem;
    }

    .c-comercio-justo {
        padding-inline: 14rem;
    }

    .c-h-comercio {
        grid-template-columns: repeat(1, 1fr);
    }

    .faqs-container {
        padding-inline: 14rem;
    }

    .volunteer-center-p {
        padding-inline: 14rem;
    }
}

@media(max-width: 1200px) {
    .icon-row {
        padding-inline: 11rem;
    }

    .c-comercio-justo {
        padding-inline: 11rem;
    }

    /*     .c-h-comercio iframe{
        width: 90%;
        margin: auto;
        height: 500px;
    } */

    .faqs-container {
        padding-inline: 11rem;
    }

    .volunteer-center-p {
        padding-inline: 11rem;
    }

    .buttonxd {
        top: 300px;
    }
}

@media(max-width: 1000px) {
    .icon-row {
        padding-inline: 9rem;
    }

    .c-comercio-justo {
        padding-inline: 9rem;
    }

    /*     .c-h-comercio iframe{
        width: 90%;
        margin: auto;
        height: 500px;
    } */

    .faqs-container {
        padding-inline: 9rem;
    }

    .volunteer-center-p {
        padding-inline: 9rem;
    }

    .buttonxd {
        top: 250px;
    }
}

@media(max-width: 935px) {
    .c-animacion-contador {
        padding: 2.5rem 2rem;
        display: flex;
        justify-content: space-around;
        text-align: center;
    }

    .data-inicial {
        font-size: 35px;
        font-weight: 800;
    }
}

@media(max-width: 910px) {
    .c-h-comercio iframe {
        width: 100%;
        heigth: auto;
    }
}

@media(max-width: 768px) {
    .icon-row {
        padding-inline: 7rem;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .c-comercio-justo {
        padding-inline: 7rem;
    }

    /*     .c-h-comercio iframe{
        width: 90%;
        margin: auto;
        height: 500px;
    } */

    .faqs-container {
        padding-inline: 7rem;
    }

    .volunteer-center-p {
        padding-inline: 7rem;
    }

    .buttonxd {
        top: 210px;
        font-size: 10px;
        padding: 10px 10px;
    }

    .c-animacion-contador>div {
        gap: 0.75rem;
    }

    .c-animacion-contador>div>i {
        color: #B52E23;
        font-size: 34px;
    }

    .data-inicial {
        font-size: 22px;
        font-weight: 800;
    }

    .title-animacion {
        font-size: 12px;
    }

}

@media(max-width: 600px) {
    .icon-row {
        padding-inline: 5rem;
    }

    .c-comercio-justo {
        padding-inline: 5rem;
    }

    /*     .c-h-comercio iframe{
        width: 90%;
        margin: auto;
        height: 500px;
    } */

    .faqs-container {
        padding-inline: 5rem;
    }

    .volunteer-center-p {
        padding-inline: 5rem;
    }

    .buttonxd {
        top: 200px;
    }
}

@media(max-width: 480px) {
    .icon-row {
        padding-inline: 3rem;
    }

    .c-comercio-justo {
        padding-inline: 3rem;
    }

    /*     .c-h-comercio iframe{
        width: 90%;
        margin: auto;
        height: 500px;
    } */

    .faqs-container {
        padding-inline: 3rem;
    }

    .volunteer-center-p {
        padding-inline: 3rem;
        flex-direction: column;
    }

    .volunteer-sections-p {
        width: auto;
        border-right: none;
        border-bottom: 2px solid #B52E23;
    }

    .buttonxd {
        top: 170px;
        font-size: 5px;
    }
}

@media(max-width: 240px) {
    .icon-row {
        padding-inline: 1.5rem;
    }

    .c-comercio-justo {
        padding-inline: 1.5rem;
    }

    /*     .c-h-comercio iframe{
        width: 90%;
        margin: auto;
        height: 500px;
    } */

    .faqs-container {
        padding-inline: 1.5rem;
    }

    .volunteer-center-p {
        padding-inline: 1.5rem;
    }

    .buttonxd {
        top: 180px;
        padding: 1px 0px;
        font-size: 2px;
    }
}