.team {
  margin: 75px 0;
}

h1 {
  text-align: center;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #333;
  padding-bottom: 10px;
}

h1:after {
  content: "";
  background: #333;
  display: block;
  height: 3px;
  width: 300px;
  margin: 10px auto;
}

.imgadjustor2021 {
  width: 250px;
  height: 260px;
  border-radius: 50%;
}

/* Container for Officer's Image & Text */
.profile {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Container for Officer Image */
.profile .img-box {
  opacity: 1;
  display: block;
  position: relative;
}

/* Officer Name */
.profile h2 {
  font-size: 25px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 0px;
}

/* Officer Title (President, Treasurer, etc.) */
.profile h3 {
  font-size: 15px;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 5px; 
}

/* Officer Image */
.img-box img {
  aspect-ratio: 1/1;
  border: 4px solid rgb(0, 0, 0);
}

/* On thinner screens, show 1 Officer per row */
@media (max-width: 991px) {
  /* Individual Officer Row */
  .profile {
    display: flex;
    flex-direction: row;
    /* transform: translateX(10%); */
    margin-bottom: 20px;
  }
  /* Container for Officer Text */
  .officer-text {
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-self: center;
    margin-left: 5%;
  }
  /* Officer Name */
  .profile h2 {
    font-size: clamp(17px, 5.5vw, 30px); /* Officer name size scales w/ page */
  }
  /* Officer Title (President, Treasurer, etc.) */
  .profile h3 {
    font-size: clamp(13px, 3vw, 20px); /* Officer title size scales w/ page */
  }
  /* Container for Officer Images */
  .img-box {
    max-width: 30%; 
  }
  /* Officer Image */
  .img-box img {
    aspect-ratio: 1/1;
    width: 100%;
    max-width: clamp(140px, 30vw, 215px); /* Officer image dynamically scales with page */
    height: auto;
    border: 4px solid black;
  }
}