.section-content {
  min-height: 50vh;
  padding: 60px 0;
}

.section-heading {
  padding-top: 3rem;
}

.section-gallery {
  padding: 80px 0;
  /* same as general wrapper */
  padding-left: 15%;
  padding-right: 15%;
}

/* Avatar Styling */

.avatar-team {
  display: grid;
  grid-template-columns: repeat(3, auto);
}

.avatars {
  padding: 0 10rem 0 10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.avatar {
  display: grid;
  grid-template-rows: repeat(4, auto);
  padding: 0 5rem 0 5rem;
}

.avatar-photo {
  width: 8rem;
  padding-bottom: 1rem;
  margin: auto;
}

.avatar-name {
  text-align: center;
  padding-bottom: 1rem;
}

.capitalized {
  text-transform: uppercase;
}

.contact-list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list > p {
  color: #fff;
}

.contact-icons {
  width: 2rem;
  padding-right: 10px;
}

.social-icons {
  width: 2rem;
}

.team-socials {
  display: grid;
  grid-template-columns: repeat(2, 200px);
  justify-content: center;
  padding-top: 5rem;
}

.team-socials p {
  color: #fff;
}

.socials {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* owl carousel */
.carousel.box {
  width: 300px;
}
.carousel-img {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.carousel-content {
  padding: 10px;
  font-family: "Varela Round", sans-serif;
  display: grid;
  justify-items: center;
  /* border: solid 2px #f99b1c; */
  border: solid 2px #ccc;
  border-top: 0;
}
.carousel-content p {
  color: #8a8a8a;
}
.carousel-detail {
  margin-bottom: 1px;
}

/* --- MEDIA QUERIES --- */

/* For the Carousel */

@media only screen and (max-width: 1024px) {
  /* .section-gallery {
        min-height: 300px;
    } */
}

@media only screen and (max-width: 980px) {
  .section-gallery {
    /* same as general wrapper */
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media only screen and (max-width: 768px) {
  /* team */
  .avatar {
    padding: 0 2rem 0 2rem;
  }
}

@media only screen and (max-width: 686px) {
  .avatar-team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media only screen and (max-width: 500px) {
  .section-gallery {
    /* same as general wrapper */
    padding-left: 15px;
    padding-right: 15px;
  }
  .avatar-team {
    display: grid;
    grid-template-columns: 1fr;
  }
  .avatar {
    padding-top: 3rem;
  }
  .team-socials {
    grid-template-columns: auto auto auto;
    justify-content: space-around;
  }
}
