@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --yellow: #ffbc00;
    --black: #111111;
    --brown1: #1d0c0a;
    --brown2: #3a1913;
    --brown3: #57251d;
    --brown4: #743226;
    --brown5: #913e30;
    --brown6: #d38a59;
    --brown7: #F8EDB1;
    --fontGeneral: clamp(10px, .5vw + .9rem, 18px);

    --txtSize: clamp(13px, 4vw + .6rem, 30px);
    --txtSizeFooter: clamp(7px, 1.5vw + .5rem, 17px);
    --fontTittle: clamp(7px, 1.5vw + .5rem, 17px);
    --fonttype: "Plus Jakarta Sans", serif;
}


.root-container{

    color: var(--brown7);
    height: 34em;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.43), rgba(0, 0, 0, 0.447)), url(img/QuechuaAlliance2023_5.webp);
    background-position: center;
    place-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 2em;
}


.faq-container {
    width: 80%;
    margin: 40px auto;
    font-family: Arial, sans-serif;
    min-height: auto;
}

.faq-item {
    border: 1px solid #B29239;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 12px rgba(0,0,0,0.1);
}

.question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d4b256bb;
    transition: background-color 0.3s ease;
}

.question:hover {
    background-color: #d4b356;
}

.question::after {
    content: '+';
    font-size: 24px;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var();
    line-height: 1.6;
    color: #495057;
}

.faq-item.active .answer {
    padding: 20px;
    max-height: 5000px;
}

.faq-item.active .question::after {
    transform: rotate(45deg);
}

/* websites de otras asociaciones */

.container-websites {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    align-content: stretch;
    padding: 3rem 10%;

}

.item:nth-child(1),
.item:nth-child(2),
.item:nth-child(3),
.item:nth-child(4),
.item:nth-child(5),
.item:nth-child(6),
.item:nth-child(7),
.item:nth-child(8) {
    animation: boxborder 10s linear infinite;
    border: 1px solid var(--brown2);
    border-radius: 20px;
    width: 210px;
    flex-grow: 1;
    height: auto;
    background: var(--brown7);
    padding: 25px 20px;
    margin-bottom: .5rem;
    justify-content: space-between;

    gap: 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.item:nth-child(1) span,
.item:nth-child(2) span,
.item:nth-child(3) span,
.item:nth-child(4) span,
.item:nth-child(5) span,
.item:nth-child(6) span,
.item:nth-child(7) span,
.item:nth-child(8) span{
    font-size: var(--fontGeneral);
    font-weight: 600;
    text-decoration:underline;
}

.item:nth-child(1) a,
.item:nth-child(2) a,
.item:nth-child(3) a,
.item:nth-child(4) a,
.item:nth-child(5) a,
.item:nth-child(6) a,
.item:nth-child(7) a,
.item:nth-child(8) a{
    font-weight: 300;
    color: var(--brown2);
    text-align: center;
    text-decoration: none;
}

.socialMedia a:first-child{
    padding-right: 20px;
}
.item:nth-child(1):hover,
.item:nth-child(2):hover,
.item:nth-child(3):hover,
.item:nth-child(4):hover,
.item:nth-child(5):hover,
.item:nth-child(6):hover,
.item:nth-child(7):hover,
.item:nth-child(8):hover{
    box-shadow: 0px 3px 45px 0px #866124 !important;

}
.socialMedia a{
    font-size: var(--fontGeneral);
}
@keyframes backg {
    0%{
        background-color: #B29239;
    }
    30%{
        background-color: #B29239;
    }
    60%{
        background-color: #B29239;
    }
    90%{
        background-color: #B29239;
    }
    100%{
        background-color: #B29239;
    }
}

@keyframes boxborder {
    0%{
        box-shadow: inset 0px 3px 45px 0px #9b7c27;
    }
    30%{
        box-shadow: inset 0px 3px 45px 0px #dbba5f;
    }
    60%{
        box-shadow: inset 0px 3px 45px 0px #e3c981;
    }
    100%{
        box-shadow: inset 0px 3px 45px 0px #dfc06b;
    }
}

