@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;
    --txtSize: clamp(13px, 4vw + .6rem, 30px);
    --txtSizeFooter: clamp(7px, 1.5vw + .5rem, 17px);
    --fontTittle: clamp(20px, 2.5vw + 1.4rem, 40px);
    --fonttype: "Plus Jakarta Sans", serif;
}

.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/SapiyayTeam2.webp);
    background-position: center;
    place-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 2em;
}


.containerTeam {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 5% 10%;
    margin-bottom: 2rem;
    margin-top: 4rem;
}

/* .cardTeam {
    min-height: 300px;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1 1 26%;
    padding: 1% 3% 1% 3%;
    min-width: 200px;
    gap: .5rem;
    background-color: #0057b30e;
    /* background-image: url(img/tupoFinalwithcolor.webp);
    background-position: center;
    background-size: calc(100vh - 500px);
    background-repeat: no-repeat; 

} */

.cardTeam {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    border-radius: 50px;
    background-color: #913f3033;
    flex: 1 1 20%;
    padding: 10% 3% 1% 3%;
    min-width: 200px;
    margin-bottom: 60px;
    gap: 1.1rem;
    box-shadow: 3px 12px 90px -29px #57251da3;
    border: 2px var(--brown2) solid;

}

@media (max-width: 660px) {
    .containerTeam {
        margin-top: 6rem;

    }
}

@media (max-width: 400px) {
    .cardTeam {
        padding-top: 10vh;
        gap: .5rem;
    }

    .cardTeam img {
        top: -60px !important;
    }
}


.cardTeam h5 {
    color: var(--brown2);
    font-size: clamp(15px, 2vw + .8rem, 25px);
    text-align: center;
}

.cardTeam h6 {
    color: var(--brown2);
    font-weight: 400;
    font-size: clamp(13px, 2vw + .4rem, 20px);
}

.btnLearnMore {
    color: var(--brown2);
    background-color: var(--brown6);
    border: 2px solid var(--brown2);

    padding: 0px 2%;
    width: 40%;
    height: 3rem;
    border-radius: 50px;
    font-size: clamp(15px, 1vw + .8rem, 17px);
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.5s ease;
}

@media (max-width: 500px) {}

@media (max-width: 500px) {}

@media (max-width: 500px) {}

.btnLearnMore:hover {
    background-color: var(--brown1);
    color: #d38a59;
    transform: scale(1.09);
    cursor: pointer;
}

.socialMedia a {
    color: var(--brown2);
    font-size: clamp(15px, 1vw + .8rem, 30px);
}

.socialMedia a i {
    padding-left: 10px;
    font-size: x-large;
}

.cardTeam img {
    height: clamp(90px, 8.9vw + 4rem, 160px);
    width: clamp(90px, 8.9vw + 4rem, 160px);
    border-radius: 50%;
    position: absolute;
    top: -90px;
    /* Half outside the card */
    transform: translateX(-50%);
    left: 50%;
    border: 4px solid var(--brown2);

}

.body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: center;
    padding: 20px;
    position: relative;
    margin-top: 60px;
    /* Space for the image */
}

.card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    top: -60px;
    /* Half outside the card */
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h2 {
    margin: 70px 0 0;
    /* Adjusted margin for the image */
    font-size: 1.5em;
    color: #333;
}

.card p {
    margin: 5px 0;
    color: #777;
}

.card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #754b08;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card a:hover {
    background-color: #0056b3;
}

/* CARDS OPENED */
.container-imgRik {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* AMY */

#conAmy,
#conLuis,
#conEmily,
#conAshley,
#conKaren,
#conRik,
#conThalia,
#conNew1,
#conNew2 {
    display: flex;
    justify-content: center;
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo negro con opacidad */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.infoAmy,
.infoLuis,
.infoEmily,
.infoAshley,
.infoKaren,
.infoRik,
.infoThalia,
.infoNew1,
.infoNew2 {
    width: 70%;
    height: 80%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3%;
}

.infoAmy {
    background: linear-gradient(60deg, rgba(158, 14, 56, 1), rgba(179, 173, 169, 1));
}

.infoLuis {
    background: linear-gradient(270deg, rgba(204, 203, 212, 1), rgba(90, 83, 78, 1));
}

.infoEmily {
    background: linear-gradient(90deg, rgba(80, 84, 88, 1), rgba(159, 149, 130, 1));
}

.infoAshley {
    background: linear-gradient(233deg, rgba(204, 201, 188, 1), rgba(179, 41, 66, 0.93));
}

.infoKaren {
    background: linear-gradient(258deg, rgba(185, 130, 91, 1), rgba(70, 69, 105, 1));
}

.infoRik {
    background: linear-gradient(254deg, rgba(208, 174, 73, 1), rgba(171, 180, 220, 1));
}

.infoThalia {
    background: linear-gradient(90deg, rgba(187, 180, 171, 1), rgba(42, 169, 217, 1));}


.infoNew1{
    background: linear-gradient(90deg, hsla(350, 15%, 84%, 1) 0%, hsla(0, 99%, 69%, 1) 100%);}

.infoNew2{
    background: linear-gradient(90deg, hsla(0, 0%, 69%, 1) 0%, hsla(38, 22%, 86%, 1) 100%);}



.consec {
    width: 100%;
    height: 800rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.consec div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: left;
}

.consec div:last-child {
    flex: 1 1 55%;
    gap: 1rem;
    text-align: left;
}


.bi bi-x-circle{
    color:black !important;
    cursor: pointer;
}


.pJOT {
    font-size: clamp(13px, 1vw + .3rem, 18px);
    text-align: justify;
    padding-bottom: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Chrome/Safari/Edge - Elimina el fondo (track) */
.pJOT::-webkit-scrollbar {
    width: 8px;
    /* Ancho de la barra */
    background: transparent;
    /* Fondo transparente */
}

.pJOT::-webkit-scrollbar-track {
    background: transparent;
    /* Track invisible */
}

.pJOT::-webkit-scrollbar-thumb {
    background: #888;
    /* Solo la barra gris */
    border-radius: 4px;
}

/* Firefox - Solución alternativa */
.pJOT {
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
    /* Barra gris + fondo transparente */
}

.spanJOT {
    font-size: large;
}

.consec div:last-child a {
    color: black;
    font-size: x-large;
}

.btnCerrarJOT {
    position: absolute;
    top: 4%;
    right: 4%;
    background-color: transparent;
    border: none;
    font-size: x-large;
}

.infoAmy div:first-child img,
.infoLuis div:first-child img,
.infoEmily div:first-child img,
.infoAshley div:first-child img,
.infoKaren div:first-child img,
.infoRik div:first-child img,
.infoThalia div:first-child img,
.infoNew1 div:first-child img,
.infoNew2 div:first-child img {
    width: 100%;
    border-radius: 10px;

}

.amysquare {
    max-width: 250px;
    display: none;
    border-radius: 10px;
}

.consec div:first-child {
    flex: 1 1 25%;
    display: flex;
    padding: 0px 30px 0px 0px;
}

@media screen and (max-width: 1003px) {
    .consec div:first-child {
        display: none;
    }

    .amysquare {
        display: flex;
        width: clamp(200px, 21vw + 7rem, 300px);
    }

    .consec div:last-child {
        align-items: center;
        text-align: center;
    }

    .h1JOT {
        font-size: clamp(15px, 3vh, 40px);
    }
}

@media screen and (max-width: 603px) {}