body {
  min-height: 100vh;
  justify-content: space-between;
}

#about-us {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.content {
  height: auto;
  display: flex;
  flex-direction: column;
}

.info {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0rem 1rem 1rem 1rem;
}

.info h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #2f5f33;
  display: none;
}

.info p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.image {
  width: 100%;
  height: 35rem;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.people header img {
  object-fit: cover;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* max-height: 40rem; */
}

@media (min-width: 768px) {
  #about-us {
    flex-direction: row;
  }

  .info {
    width: 58%;
    padding: 4rem 1rem 0 1rem;
  }

  #about-us .content {
    margin-bottom: 2rem;
  }

  .image {
    width: 40%;
    padding: 2rem;
    max-height: 40rem;
  }

  .info h2 {
    display: block;
  }
}

.people {
  width: 100%;
  display: grid;
  gap: 1rem;
  grid-auto-rows: 22rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.profile-card {
  border-radius: 3px;
  height: 20rem;
  width: 100%;
  max-width: 320px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
  margin: 0 auto;
  transition: all 0.5s;
}

.profile-card header {
  background: #a1bc31;
  padding: 1px;
  height: 50%;
  transition: all 0.5s;
}

.profile-card header img {
  border: 5px solid #fff;
  border-radius: 50%;
  display: block;
  margin: 10px auto;
  width: 50%;
  height: 90%;
}

.profile-card header h2,
.profile-card header h3 {
  color: #a1bc31;
  font-family:  'Nunito', sans-serif;
  text-align: center;
  transition: all 0.5s;
}

.profile-card header h2 {
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1;
}

.profile-card header h3 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 4px;
  margin-top: 1rem;
  /* margin: 0 0 5px; */
}

.profile-card .profile-bio {
  padding: 20px;
  position: relative;
  opacity: 0;
  transition: all 0.3s 0.25s;
}

.profile-card .profile-bio p {
  color: #999;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  font-family: 'Nunito', sans-serif;
}

.profile-card .profile-social-links {
  display: flex;
  justify-content: center;
  top: 3.1rem;
  list-style-type: none;
  padding: 0;
  position: relative;
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
}

.profile-card .profile-social-links li {
  display: block;
  /* transform: translateY(100px); */
  transition: all 0.3s cubic-bezier(0, 1.135, 0.73, 1.405) 0.25s;
}

.profile-card .profile-social-links li:nth-child(2) {
  transition-delay: 0.35s;
}

.profile-card .profile-social-links li:nth-child(3) {
  transition-delay: 0.45s;
}

.profile-card .profile-social-links li i,
.profile-card .profile-social-links li a,
.profile-card .profile-social-links li div {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin: 0 5px;
  outline: none;
  width: 40px;
  transition: all 0.3s;
  text-decoration: none;
  color: #a1bc31;
  cursor: pointer;
}

.profile-card .profile-social-links li a:hover,
.profile-card .profile-social-links li div:hover,
.profile-card .profile-social-links li i:hover {
  /*transform: scale(1.1);*/
}

.profile-card .profile-social-links li a img {
  padding: 5px;
  width: 40px;
}

/* CHANGES ON HOVER */

/* .profile-card:hover {
  height: auto;
} */

/* .profile-card:hover header {
  height: 200px;
} */

.profile-card:hover header h2,
.profile-card:hover header h3 {
  /* color: #fff; */
}

.profile-card:hover .profile-bio {
 /* opacity: 1;*/
}

@media (min-width: 768px) {
  .profile-card .profile-social-links li {
    display: block;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0, 1.135, 0.73, 1.405) 0.25s;
  }

  .profile-card:hover .profile-social-links li {
   /* transform: translateY(0);*/
  }
}

@media (min-width: 990px) {
    .people {
      display: flex;
      padding: 0;
    }
  
}


@media (max-width: 250px) {
  .people {
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  }
}
