.people {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0px 0px 30px rgba(var(--black-rgb), 0.16);
  color: var(--gray-800);
  display: flex;
  flex-wrap: wrap;
  position: relative;
  text-align: center;
}

@media (min-width: 1200px) {
  .people {
    flex-wrap: nowrap;
  }
}

.people-item {
  border-bottom: 1px solid var(--cyan-100);
  border-left: 1px solid var(--cyan-100);
  padding: 1rem 0;
  position: relative;
  transition: all 0.1s ease-in-out;
  width: 50%;
}

@media (min-width: 992px) {
  .people-item {
    padding: 2rem 0;
    width: 33.33%;
  }
}

@media (min-width: 1200px) {
  .people-item {
    border-bottom: 4px solid transparent;
    width: 16.66%;
  }
}

.people-item img {
  width: 64px;
}

@media (min-width: 992px) {
  .people-item img {
    width: auto;
  }
}

@media (min-width: 992px) {
  .people-item:hover {
    background-color: var(--white);
    border-bottom-color: var(--primary-500);
    border-radius: 10px;
    box-shadow: 0px 0px 30px rgba(var(--black-rgb), 0.16);
    transform: scale(1.15);
    z-index: 1;
  }

  .people-item:hover img {
    image-rendering: auto;
  }
}

.people-item:last-child {
  border-left: none;
}

.people-title {
  font-size: 18px;
  font-weight: 500;
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  .people-title {
    font-size: 24px;
    margin-top: 1rem;
  }
}
