:root{
    --primaryColor:black;
    --middleColor:#826C5F;
    --helperColor:#BD8256;
    --lightHelper:#EFE6DD;
    --hrColor:rgba(255, 235, 205, 0.671);
    --transparentColor:rgba(255, 235, 205, 0.548);
    --shadow:rgba(189, 188, 188, 0.514);
   /* --------------------------------- */
    --whatsappColor:#25D366;
    --white:#ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray:  #f8f8f8;
}

.team-section {
    width: 98%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-top: 1px solid var(--gray);
}

.team-details a {
    display: inline-block;
    margin: 30px auto 0px auto;
    padding:  10px;
    background-color: var(--helperColor);
    color: var(--white);
    font-weight: bold;
    font-size: large;
    text-decoration: none;
    border-radius: 20px;
    transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out;

}

.team-details a:hover{
    background-color: #ca9063;
     transform: translateY(-10px);
 }

/* ---------------------------- */
.team-title {

    width: fit-content;
    margin: 0px auto;
    font-size: 2.5rem;
    color: var(--primaryColor);
    border-bottom: 4px solid var(--primaryColor);
}

/* --------------------------- */
.team-intro {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.team-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-details h3 {

    width: fit-content;
    margin: 0px auto;
    font-size: 1.9rem;
    color: var(--primaryColor);

}

.team-details p {
    font-size: 1.5rem;
    margin: 15px;
    color: var(--middleColor);
}

/* --------------------------------- */

.images-column {
    width: 50%;
    height: 500px;
    /* overflow: hidden; */
    background-color: var(--white);
    position: relative;

}

.images-column a {
    position: absolute;
    top: 0px;
    right: 0px;
    /* -------------------------------- */
    display: inline-block;
    margin: auto;
    width: 100%;
    height: 100%;

    background: rgba(173, 216, 230, 0.705);
    color: var(--white);
    font-weight: bold;
    font-size: large;
    text-decoration: underline;
    text-align: center;
    align-content: center;
    transition: transform 0.5s ease-in-out;
}

/* a:hover {

    transform: translateY(-10px);
} */

.images-column img {
    background-color: transparent;
    position: absolute;
    width: 50%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}


.images-column img:nth-child(1) {
    top: 0;
    right: 0;
   
}

.images-column img:nth-child(2) {
    top: 0px;
    left: 0px;
    
}

.images-column img:nth-child(3) {
    top: 120px;
    right: 0px;
   
}

.images-column img:nth-child(4) {
    top: 120px;
    left: 0px;
    
}

.images-column img:nth-child(5) {
    top: 240px;
    right: 0px;
  
}

.images-column img:nth-child(6) {
    top: 240px;
    left: 0px;
   
}

/* =========================================== */
.team-container {
  
    margin-top: 250px;
    width: 98%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 300px;
}

.member-container {
    box-shadow: 10px 40px 40px var(--shadow);
    border: var(--hrColor) 1px solid;
    border-radius: 0px 50px;
    transition:  border-radius 0.5s ease-in-out;
    padding-bottom: 30px;
    min-height: fit-content;
    max-height: 300px;
}

.member-container:hover {
    border-radius: 50px 0px;
    
}

.member-image-container {
    width: 80%;
    max-height: 70px;
    /* min-height: fit-content; */
    margin: auto;
   
}

.member-image {
    transition: border-radius 0.5s ease-in-out, transform 0.5s ease-in-out;
    width: 95%;
    border-radius: 50%;
    transform: translate(0PX, -250px);
    margin: auto;
    max-height: 300px;
    min-height: 300px;
    box-shadow: 0px 10px 70px var(--hrColor);
}

.member-image:hover {
   
    border-radius: 10%;
    transform: scale(1.5);
}

.member-details {
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 20px;   
    align-items: center;
    justify-content: center; 
    width: 90%;
    margin: auto;
}

.member-details a{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    gap: 20px;
    width: 85%;
    margin:0px  auto 3px auto;
    padding: 5px;
    background: var(--helperColor);
    color: var(--white);
    font-weight: 400;
    font-size: medium;
    text-decoration: none;
    border-radius: 20px;
    border: none;
    transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.member-details a:hover{
    background-color: #ca9063;
     transform: translateY(-10px);
 }

.icon{
width: 15%;
max-height: 40px;

background-color: rgba(255, 255, 255, 0);
}

.member-details h3 {
    color: var(--helperColor);

}

.member-details p {
    color: var(--primaryColor);
}

.member-details li {
    color: var(--primaryColor);
    width: 90%;
}


/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media (max-width:400px) {
    .team-container {
        /* margin-top: 70px; */
        grid-template-columns: repeat(1, 5fr);
        /* gap: 250px; */
    }

    .member-image {
        width: 99%;
        border-radius: 50%;
        transform: translate(0PX, -250px);
        margin: auto;
        /* max-height: 160px; */
    }

    .member-container {
        width: 95%;
        margin: auto;
    }
    

    /* ======================================== */

    .team-intro {

        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .team-title {
        font-size: 1.8rem;
    }

    .team-details p {
        font-size: 1rem;
    }

    .team-details h3 {
        font-size: 1.4rem;

    }

    /* ============================== */

    .images-column {
        width: 90%;
        margin: auto;
    }

    .images-column img {
        background-color: transparent;
        position: absolute;
        width: 50%;
        height: 200px;
        cursor: pointer;
    }

    .images-column a {
        position: absolute ;
        top: 0px;
        width: 100%;
        height: 100%;
       
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }


}

@media screen and (min-width:401px)and (max-width:500px) {
    .team-container {
        grid-template-columns: repeat(1, 5fr);
       
    }

    .member-image {
        width: 95%;
        border-radius: 50%;
      
        margin: auto;

    }

    .member-container {
        width: 90%;
        margin: auto;
    }

    /* =============================== */

    .team-intro {

        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .team-title{
        font-size: 1.8rem;
    }

    .team-details p {
        font-size: 1rem;
    }

    .team-details h3 {
        font-size: 1.4rem;

    }

    /* ============================== */

    .images-column {
        width: 90%;
        margin: auto;
    }

    .images-column img {
        background-color: transparent;
        position: absolute;
        width: 50%;
        height: 200px;
        cursor: pointer;
    }

    .images-column a {
        position: absolute ;
        top: 0px;
        width: 100%;
        height: 100%;    
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }
}

@media screen and (min-width: 501px) and (max-width: 540px) {
    .team-container {
        grid-template-columns: repeat(1, 5fr);
        /* gap: 120px; */
    }

    .member-image {
        width: 90%;
        border-radius: 50%;
        /* transform: translate(0PX, -120px); */
        margin: auto;
        /* max-height: 160px; */
    }

    .member-container {
        width: 90%;
        margin: auto;
    }

     /* =============================== */

     .team-intro {

        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .team-title{
        font-size: 1.8rem;
    }

    .team-details p {
        font-size: 1rem;
    }

    .team-details h3 {
        font-size: 1.4rem;

    }

    /* ============================== */

    .images-column {
        width: 90%;
        margin: auto;
    }

    .images-column img {
        background-color: transparent;
        position: absolute;
        width: 50%;
        height: 200px;
        cursor: pointer;
    }

    .images-column a {
        position: absolute ;
        top: 0px;
        width: 100%;
        height: 100%;
       
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }
}

@media screen and (min-width: 541px) and (max-width: 699px) {
    .team-container {
        grid-template-columns: repeat(1, 5fr);
        /* gap: 140px; */
    }

    .member-image {
        width: 90%;
        border-radius: 50%;
        /* transform: translate(0PX, -150px); */
        margin: auto;
        /* max-height: 160px; */
    }

    .member-container {
        width: 80%;
        margin: auto;
    }
    .team-intro {

        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .team-title{
        font-size: 1.8rem;
    }

    .team-details p {
        font-size: 1rem;
    }

    .team-details h3 {
        font-size: 1.4rem;

    }

    /* ============================== */

    .images-column {
        width: 90%;
        margin: auto;
    }

    .images-column img {
        background-color: transparent;
        position: absolute;
        width: 50%;
        height: 200px;
        cursor: pointer;
    }

    .images-column a {
        position: absolute ;
        top: 0px;
        width: 100%;
        height: 100%;
       
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }
    
}

@media screen and (min-width: 700px) and (max-width: 820px) {
    .team-container {
        grid-template-columns: repeat(2, 5fr);
        /* gap: 90px; */
    }

    .member-image {
        width: 90%;
        border-radius: 50%;
        /* transform: translate(0PX, -70px); */
        margin: auto;
        /* max-height: 160px; */
    }

    .member-container {
        width: 98%;
        margin: auto;
    }
/* ================================== */
    .team-intro {

        text-align: center;
        display: flex;
        flex-direction: flex;
        gap: 20px;
    }

    .team-title{
        font-size: 1.8rem;
    }

    .team-details p {
        font-size: 1rem;
    }

    .team-details h3 {
        font-size: 1.4rem;

    }

    /* ============================== */

    .images-column {
        width: 70%;
        margin: auto;
    }

    .images-column img {
        background-color: transparent;
        position: absolute;
        width: 50%;
        height: 200px;
        cursor: pointer;
    }

    .images-column a {
        position: absolute ;
        top: 0px;
        width: 100%;
        height: 100%;
       
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }


}

@media screen and (min-width:821px) and (max-width: 930px) {

    .team-container {
        grid-template-columns: repeat(2, 5fr);
        /* gap: 90px; */
    }

    .member-image {
        width: 90%;
        border-radius: 50%;
        /* transform: translate(0PX, -90px); */
        margin: auto;
        /* max-height: 160px; */
    }

    .member-container {
        width: 98%;
        margin: auto;
    }

    /* ================================== */
    .team-intro {

        text-align: center;
        display: flex;
        flex-direction: flex;
        gap: 20px;
    }

    .team-title{
        font-size: 1.8rem;
    }

    .team-details p {
        font-size: 1rem;
    }

    .team-details h3 {
        font-size: 1.4rem;

    }

    /* ============================== */

    .images-column {
        width: 50%;
        margin: auto;
    }

    .images-column img {
        background-color: transparent;
        position: absolute;
        width: 50%;
        height: 200px;
        cursor: pointer;
    }

    .images-column a {
        position: absolute ;
        top: 0px;
        width: 100%;
        height: 100%;
       
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }
}

@media screen and (min-width: 931px) and (max-width: 1000px) {
    .team-container {
        grid-template-columns: repeat(2, 5fr);
        /* gap: 100px; */
    }

    .member-image {
        width: 90%;
        border-radius: 50%;
        /* transform: translate(0PX, -100px); */
        margin: auto;
        /* max-height: 160px; */
    }

    .member-container {
        width: 98%;
        margin: auto;
    }
/* ================================== */
.team-intro {

    text-align: center;
    display: flex;
    flex-direction: flex;
    gap: 20px;
}

/* ============================== */

.images-column {
    width: 50%;
    margin: auto;
}

.images-column img {
    background-color: transparent;
    position: absolute;
    width: 50%;
    height: 200px;
    cursor: pointer;
}

.images-column a {
    position: absolute ;
    top: 0px;
    width: 100%;
    height: 100%;
   
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

}

@media screen and (min-width: 1001px) and (max-width: 1200px) {
    .team-container {
        grid-template-columns: repeat(2, 5fr);
        /* gap: 110px; */
    }

    .member-image {
        width: 90%;
        border-radius: 50%;
        /* transform: translate(0PX, -120px); */
        margin: auto;
        /* max-height: 160px; */
    }

    .member-container {
        width: 98%;
        margin: auto;
    }

    /* .images-column{
        height: ;
    } */
}