.people {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.people header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.people header p {
  text-transform: uppercase;
  font-size: 18px;
  font-family: "Work Sans", sans-serif;
}

.people header h3 {
  font-size: 64px;
  font-weight: normal;
  width: 34%;
  text-align: center;
  font-family: "Playfair Display", serif;
  text-transform: capitalize;
}

.people header h3 span {
  font-weight: 800;
  font-style: italic;
}

/* .people main {
    padding: 0px 50px;
} */

.people main .cards {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.people main .cards .card {
  padding: 70px 67px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border: 1px solid #303030;
  border-radius: 24px;
}

.cards #card-one {
  background: #ffdd81;
  border: none;
}

.cards #card-one .main .pills p {
  background: white;
}

.card #card-two {
  display: flex;
  flex-direction: column-reverse;
}

.card .header {
  font-size: 40px;
  font-family: "Playfair Display", serif;
}

.card .header span {
  font-weight: 800;
  font-style: italic;
}

.card .main .pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main .pills p {
  font-size: 14px;
  font-family: "Work Sans", sans-serif;
  padding: 14px 24px;
  border: 1px solid #303030;
  border-radius: 24px;
  width: fit-content;
}

.main .pills p span {
  font-weight: 600;
}

.cards .card .main .image img {
  width: 100%;
}

@media (max-width: 768px) {
  .people {
    gap: 20px;
    padding-top: 30px;
  }

  .people header {
    gap: 10px;
  }

  .people header h3 {
    font-size: 30px;
    width: 60%;
  }

  .people main .cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .people main .cards .card {
    padding: 50px 30px;
    flex-direction: column;
    gap: 30px;
  }

  .card .header {
    font-size: 30px;
  }
}
