@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;
    --verde: #4E5D0F;
    --txtSize: clamp(13px, 4vw + .6rem, 30px);
    --txtSizeFooter: clamp(7px, 1.5vw + .5rem, 17px);
    --fonttype: "Plus Jakarta Sans", serif;
    --fontGeneral: clamp(10px, .5vw + .9rem, 18px);

}


.root-container{
    color: var(--brown7);
    height: 34em;
    text-align: center;
    background-attachment: fixed;
    background-image: linear-gradient(rgba(0, 0, 0, 0.43), rgba(0, 0, 0, 0.447)), url(img/generalMeet.webp);
    background-position: center;
    place-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 2em;
}



.tittleTeam {
    padding: 10px 0px 20px 0px;
    color: var(--verde) !important;
}


.wwDone {
    padding: 10px 10%;
}

.wwDone h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #4d5d0f83;
}

/* container uno del gallery */
.containerDone1 {
    display: flex;
    margin: 20px 3%;
    gap: 20px;
    flex-wrap: wrap;
}

.item-done1:nth-child(1),
.item-done1:nth-child(3) {
    border-radius: 10px;
    height: 500px;
    background-color: #000000;
    flex-grow: 1;
    flex-basis: 300px;
}

.item-done1:nth-child(2) {
    border-radius: 10px;
    height: 500px;
    background-color: #000000;
    flex-grow: 2;
    flex-basis: 500px;
    order: 0;
}

.item-done1:nth-child(1){
    background-image: url(img/essayMeeting.webp);
    background-position: center;
    background-size: cover;
}
.item-done1:nth-child(2){
    background-image: url(img/amy&luis.webp);
    background-position: center;
    background-size: cover;
}
.item-done1:nth-child(3){
    background-image: url(img/generalMeet.webp);
    background-position: center;
    background-size: cover;
}

/* container dos de la gallery */
.containerDone2 {
    display: flex;
    gap: 20px;
    margin: 20px 3%;
    flex-wrap: wrap;
}

.item-done2:nth-child(1),
.item-done2:nth-child(2) {
    border-radius: 10px;
    height: 400px;
    width: 25%;
    background-color: #000000;
    gap: 1rem;
    flex-grow: 1;
    flex-basis: 400px;
}

.item-done2:nth-child(4),
.item-done2:nth-child(5),
.item-done2:nth-child(6){
    border-radius: 10px;
    height: 800px;
    width: 20%;
    background-color: #000000;
    gap: 1rem;
    flex-grow: 2;
    flex-basis: 300px;
}

.item-done2:nth-child(3) {
    border-radius: 10px;
    height: 450px;
    background-color: #000000;
    width: 100%;
}

.item-done2:nth-child(1){
    background-image: url(img/OPLExhibitOpening12.webp);
    background-position: center;
    background-size: cover;
}

.item-done2:nth-child(2){
    background-image: url(img/OPLFilmScreening2.webp);
    background-position: center;
    background-size: cover;
}

.item-done2:nth-child(3){
    background-image: url(img/OPLWichanaCollab.webp);
    background-position: top;
    background-attachment: fixed;
    background-size: cover;
}
@media (max-width: 700px) {
    .item-done2:nth-child(3){
        background-attachment: local;
    }
}

.item-done2:nth-child(4){
    background-image: url(img/OPLWeavingWorkshop30.jpeg);
    background-position: center;
    background-size: cover;
}

.item-done2:nth-child(5){
    background-image: url(img/OPLExhibitOpening2.jpeg);
    background-position: center;
    background-size: cover;
}


.item-done2:nth-child(6){
    background-image: url(img/OPLWeavingWorkshop12.jpeg);
    background-position: center;
    background-size: cover;
}










.faq-container {
    width: 80%;
    margin: auto;
    font-family: Arial, sans-serif;
    min-height: auto;
}

.faq-container p {
    text-align: center;
    padding: 10px 19% 30px 19%;
}

.faq-item {
    border: 1px solid var(--verde);
    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 {
    background-color: #7e8d44cf;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.question:hover {
    background-color: #7e8d44f0;
}

.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;
}

.ul-answer {
    display: flex;

    flex-direction: column;
    text-align: justify;
    align-items: flex-start;

}

.faq-item.active .answer {
    padding: 20px;
    max-height: 5000px;
}

.faq-item.active .question::after {
    transform: rotate(45deg);
}

.what-weve-done {
    background-color: var(--verde);
    width: 100%;
    margin: 0 auto;
}

.carousel {
    position: relative;
    overflow: hidden;
}

.slides {
    padding: 20px 0px;

    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.image-container {
    flex: 1;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.caption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #000000;

}

.description {
    flex: 1;
    padding: 20px 60px 20px 20px;
    text-align: left;
}

.description p {
    text-align: justify;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right,
            black,
            rgba(0, 0, 0, 0.745),
            rgba(0, 0, 0, 0.455),
            rgba(0, 0, 0, 0.108),
            rgba(0, 0, 0, 0));

    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    padding: 300% 2rem;
    left: 0px;
}

.next {
    background: linear-gradient(to left,
            black,
            rgba(0, 0, 0, 0.745),
            rgba(0, 0, 0, 0.455),
            rgba(0, 0, 0, 0.108),
            rgba(0, 0, 0, 0)) !important;
    padding: 300% 2rem;
    right: 0px;
}

@media (max-width: 868px) {
    .slide {
        flex-direction: column;
    }

    .description {
        place-content: center;
        order: -1;
        text-align: center;
        padding: 10px 13%;
    }
}