
/* START TEAM */
/* .team-member {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    padding: 20px;
}

.team-box {
    background-color: rgb(255, 255, 255);
    position: relative;
    cursor: pointer;
}

.team-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    text-align: justify;
    opacity: 0;
}

.team-img img {
    transition: transform .3s ease-in-out;
}

.team-box:hover .team-img img {
    transform: scale(0.8);
}

.team-box:hover .team-info {
    opacity: 1;
}

.icon-team {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 25px;
    color: rgba(0, 0, 0, 0.426);
} */

/* END TEAM */



/*--------------------------------*/
#team{
background: #fff;
background-color: #fff;
z-index: 1;
    position: relative;
}

.team-section{

    display: flex;
    flex-direction: column;
    height:max-content;
    width: 100%;
    padding-bottom: 8vw;
    background: #fff;
    background-color: #fff;
    overflow: hidden;
z-index: 1;
}

.teamContainer{   background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;

}

.cards-container{
    width: 100%;
    height: 100%;


    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    max-width: 85em;
    flex-wrap: wrap;    
    gap: clamp(4em, 5vw, 5em);
}

.card {
    cursor: pointer;
  width:  clamp(17em, 18em, 18em);
  height:  clamp(20em, 22em, 22em);
  perspective: 500px;
border: 0px solid #fff;
}

.content {
/*   position: absolute; */
  width: 100%;
  height: 100%;


  transition: transform 1s;
  transform-style: preserve-3d;
}

.card:hover .content {

  transform: rotateY( 180deg ) ;
  transition: transform 0.5s;
  transition: transform 1.3s cubic-bezier(0.66,0.12,0.20,0.75);

/*   transition-delay: 0.4s;  */
}

.front,
.back {
    display: flex;
      align-items: center; 
 /*          box-shadow: 0 0 15px rgba(0,0,0,0.1); */

  position: absolute;
  height: 100%;
  width: 100%;
  background: white;
  border: 1px solid #c1c1c1;
  color: #001623;
  text-align: center;
  font-size: 30px;
  border-radius: 5px;
  backface-visibility: hidden;
}


.back {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: #001623;
    color: white;
    border: 1px solid #fff;
    transform: rotateY( 180deg );
}

/* -----back card ------- */

.team_info{
    position: relative;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    height: fit-content;

}


.team_info p {

    opacity: 0; 
    transition: opacity 1.73s ease-in-out;
}

.card:hover .team_info p {
    opacity: 1; 
    color: #6c757d;
}


/* inside card */

.team_member{
    position: relative;

    margin-left: auto;
    margin-right: auto;
    width: 95%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.team_img {
   
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 6em;       
    height: 6em;
    overflow: hidden;   
    border-radius: 100px; 
    border: 0px solid black;
    transition: transform 0.5s ease, filter 0.5s ease; 

}



.team_img img {
    position: relative;

  width: 100%;
  height: 100%;
  object-fit: cover;      
  transition: transform 0.7s ease, filter 1s ease; 
  
}

/* .border_effect{
  position: absolute;
  width: 8em;      
  height: 6em;
  overflow: hidden; 
  background-color: #001623;
} */

.team_name{

}

/* -----------letters delay----------- */
#team_text1 {
    transform: translateX(0em);
 
    transition: transform 0.8s cubic-bezier(0.70,0.41,0.17,0.63);
    transition-delay: 0s;
}

.card:hover #team_text1 {
    transform: translateX(1.5em);

    transition: transform 0.9s cubic-bezier(0.92,0.40,0.29,0.97);
}

#team_text2{
    transition: transform 0.8s cubic-bezier(0.70,0.41,0.17,0.63);
    transform: translateX(0em);
    transition-delay: 0.1s; 
}

.card:hover #team_text2{
    transform: translateX(1.5em);
    transition: transform 0.9s cubic-bezier(0.92,0.40,0.29,0.97);
    transition-delay: 0.1s; 
}
/* ------------------------------------- */


.card:hover .team_img{
   /*  z-index: 1; */
}

.card:hover .team_img img {
  transform: scale(1.1); 

}

