
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  .team-showcase{
    background: url(https://static.igem.wiki/teams/4932/wiki/screenshot-2023-10-01-at-12-48-32.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 670px;
    margin-bottom: 70px;
  }

  .team-overlay{
    background-color: #0000009a;
    height: 100%;
  }

  .about-team{
    text-align:center;
    font-family:   sans-serif;
    font-size:40px;
    color: #3C2C00;
    margin-bottom:40px;
  }

  .about-team-content{
    max-width:80vw;
    margin:auto;
    line-height:45px;
    text-align:justify;
    font-size:20px;
    font-family:   sans-serif;
    margin-bottom:30px;
  }

  .team-showcase-content{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    font-size: 50px;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.1rem;
  }

  .header-text{
    margin-bottom: 70px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 35px;
    letter-spacing: 0.05em;
  }

 .team-container {
    color: #000000;
    max-width: 80vw;
    margin: auto;
}

  .sub-about-container{
    max-width:80vw;
    margin:auto;
  }

  .team-card{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
  }

  .sub-about-content{
    display:flex;
    justify-content:space-between;
    margin-bottom:40px;
  }

  .sub-about-content-txt{
    width:900px;
    line-height:45px;
    text-align:justify;
    font-size:20px;
    font-family:   sans-serif;
  }

  .card-img1{
    width: 400px;
    height: 200px;
    margin-right: 40px;
  }

  .card-img1 img{
    width: 100%;
    height: 100%;
    object-fit:contain;
  }

  .card-img-PI img{
    width: 150%;
    height: 150%;
    object-fit:contain;
  }

.card1 {
    background-color: #f1ffec;
    padding: 20px 0px;
    border-radius: 10px;
}

.flex-team-1 {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 10px;
}

  .gem{
    width: 80px;
    height:80px;
    object-fit: fill;
  }

  .gem2{
    width: 130px;
    height: 130px;
    object-fit: fill;
  }


  .gem img,
  .gem2 img
  {
    width: 100%;
    height:100%
  }

  .team-info{
    margin-right: 40px;
  }

  .info2{
    padding-left: 20px;
  }

  .name1 {
    color: #000000;
    padding-bottom: 10px;
    font-size: 35px;
    font-family: sans-serif;
}

  .bio2{
    width: 90%;
    margin: auto;
  }

 .lead1 {
    color: #063700;
    padding-bottom: 10px;
    font-size: 20px;
    font-family:   sans-serif;
}

  .bio{
    background-color: #fff;
    width: 95%;
    padding: 10px 10px;
    line-height: 28px;
    border-radius: 5px;
    font-family:   sans-serif;
  }

.card2 {
    background-color: #F0F0F0;
    display: flex;
    flex-direction: row-reverse;
    padding-bottom: 20px;
    border-radius: 5px;
    margin-bottom: 40px;
}

  .about-team-content-container{
    width:100%;
    margin:auto;
  }

  .about-team-content-container p{
    width:100%;
  }

  .eli{
    background:#E3E8E5;
  }

  .sub-about-content-img img{
    height:400px;
    width:500px;
    object-fit:cover;
    border-radius:10px;
  }

.vera {
    background: #F4F5FF;
}

  .gidi {
    background: #EEF9FF;
}

   @media screen and (max-width: 1920px) {
    .sub-about-content-txt{
        width:700px;
    }

     .sub-about-content-img img{
        height:320px;
        width:700px;
        object-fit:cover;
    }
   }

 @media screen and (max-width: 1780px) {
     .sub-about-content-img img{
        height:320px;
        width:600px;
        object-fit:cover;
    }
 }

  @media screen and (max-width: 1780px) {
    .sub-about-content-txt{
        width:600px;
    }

    .sub-about-content-img img{
        height:400px;
        width:600px;
        object-fit:cover;
    }
 }

@media screen and (max-width: 1820px) {
   .sub-about-content{
    display:flex;
    justify-content:space-between;
    margin-bottom:40px;
    flex-direction:column-reverse;
  }

  .sub-about-content-txt{
        width:100%;
    }

    .sub-about-content-img img{
        height:500px;
        width:100%;
        object-fit:cover;
        margin-bottom:30px;
    }
 }

 @media screen and (max-width: 1390px) {
    .whole{
        width: 500px
    }

    .sub-about-content-txt{
        width:100%;
    }
 }

  @media screen and (max-width: 1140px) {
    .whole{
        width: 400px
    }

    .sub-about-content-txt{
        width:100%;
    }
 }

 @media screen and (max-width: 980px) {
    .whole{
        width: 90%;
        margin-bottom:30px;
    }

    .sub-about-content-txt{
        width: 100%;
    }

    .sub-about-content{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-direction:column-reverse;
        margin-bottom:40px;

    }
 }

  @media screen and (max-width: 650px) {
    .team-card{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: unset;
    }

    .card-img1{
      width: 100%;
      height: 200px;
      margin-right: 0px;
      margin-bottom: 30px;
    }

    .team-info{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 80%;
      margin-right: 0px;
      margin-bottom: 20px;
    }

    .bio{
      margin: auto;
    }
  }

  @media screen and (max-width: 600px) {
    .team-showcase-content{
      font-size: 30px;
    }
  }

  @media screen and (max-width: 450px) {
    .team-showcase-content{
      font-size: 20px;
    }

    .gem{
      display: none;
    }

    .team-info{
      width: 100%;
    }
  }

  @media screen and (max-width: 340px) {

    .team-info{
      width: 100%;
      text-align: center;
    }
  }

  .image-container-team-photos {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.image-container-team-photos img {
  max-width: 50%; /* Adjust the maximum width as needed */
  height: auto;
}
