.memberContainer{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.team-section-title{
  text-align: center;
  padding-block: 5rem;
}

.team-section-title span{
  border-bottom: 2px solid #fbf1ca;
}

.member{
  width: 22rem;
  height: 28rem;
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.member::before{
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, .1);
  animation: pulse 1.5s infinite;
  backdrop-filter: blur(6px);
}

.member.loaded::before{
  content: none;
}

@keyframes pulse{
  0%{
    background-color: rgba(255, 255, 255, 0);
  }
  50%{
    background-color: rgba(255, 255, 255, .1);
  }
  100%{
    background-color: rgba(255, 255, 255, 0);
  }
}

.overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  opacity: 0;
  transition: opacity 250ms;
  display: flex;
  justify-content: center;
  align-items: end;
}

.member:hover .overlay{
  opacity: 0.7;
}

.more-bio{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11rem;
  height: 3rem;
  font-size: 1.4rem;
  background-color: aliceblue;
  color: black;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0;
  z-index: 11;
}

.member:hover .more-bio{
  opacity: 1;
}

.member img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 250ms ease-in-out;
}

.memberImg{
  opacity: 0;
}

.attribute{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.attribute img{
  width: 3rem;
  height: 3rem;
}

.extended-bio{
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 730px;
  width: 70rem;
  background-color: black;
  z-index: 1032;
  transition: opacity 250ms;
}

.photoDiv{
  width: 60%;
  height: 100%;
}

.bioDiv{
  width: 40%;
  height: 100%;
  background-color: #1F1C24;
}

.bioImg{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(251, 241, 202, 0.425);
  /* opacity: 0.5; */
  backdrop-filter: blur(0.2rem);
  z-index: 1031;
  transition: all .5s;
}

.iconDiv{
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 20%;
  top: 0;
  z-index: 11;
}

.socialDiv{
  transition: transform 250ms;
  transform: translateX(-100%);
  width: 4rem;
  cursor: pointer;
}

.showBioDiv{
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1.4rem;
  transform: translateX(110%);
  width: 3rem;
  cursor: pointer;
  gap: 0.4rem;
  transition: all 250ms;
}

.showBioDiv:hover{
  gap: 0.6rem;
}

.dot{
  width: 0.6rem;
  aspect-ratio: 1;
  background-color: aliceblue;
  border-radius: 50%;
}

.member:hover .socialDiv{
  transform: translateX(0);
}

.infoDiv{
  position: absolute;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
  height: 40%;
  bottom: 0;
  transition: transform 250ms;
  transform: translateY(100%);
  z-index: 11;
}

.member:hover .infoDiv{
  transform: translateY(0);
}

.infoName{
  font-size: 1.2rem;
  font-weight: 400;
}

.attribute-container{
  display: flex;
  gap: 0.6rem;
}

.attribute{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.attribute img{
  width: 2.8rem;
  aspect-ratio: 1;
}

.infoAttr{
  background-color: transparent;
  font-size: 13px;
  margin-top: 0px;
}

.member:hover .showBioDiv{
  transform: translateX(0);
}

/* Autotyped text section */

.bioContent {
  padding: 1rem;
  /* border-right: 2px solid #cfcfcf; */
  /* padding-right: 5px; */
  margin-right: 2px;
  animation: typing 2s steps(20) forwards;
  /* , blinkCursor 0.5s infinite; */
  color: #FBF1CA;
  text-align: justify;

}

@keyframes typing {
  from {
      width: 0;
  }
  to {
      width: 100%;
  }
}

@media(max-width: 1250px){
  .extended-bio{
    width: 58rem;
  }
}

@media(max-width: 980px){
  .extended-bio{
    width: 50rem;
  }

  .bioContent{
    font-size: 1.2rem;
  }
}

@media(max-width: 835px){
  .extended-bio{
    width: 60%;
  }

  .photoDiv{
    display: none;
  }

  .bioDiv{
    width: 100%;
  }
}

@media(max-width: 675px){
  .extended-bio{
    width: 70%;
  }
}

@media(max-width: 500px){
  .extended-bio{
    width: 90%;
  }

  .bioContent{
    font-size: 1.1rem;
  }
}