/* CLIENTS STICKY FORMATTING */
h2 {
  margin: 10px 0px 0px 0px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;

  /* webkit sticky is required by safari (this lets h2 stick to top of page when scrolling) */
  position: -webkit-sticky;
  position: sticky;
  top: 71px;

  background-color: rgba(255, 255, 255, 0.9);
  color: rgb(0, 0, 0);

}

/* trusted partner title */
.trusted-partner-title {
  font-size: 32px;
  text-align: center;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;

}

.clients-grid {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  justify-content: center;
  max-width: 1200px;
  column-gap: 40px;
  row-gap: 40px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.client-logos {
  height: 200px;
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;

}

/* for the smaller logos */
.client-logos-small {
  height: auto;
  width: auto;
  display: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 85px 0px;

}

/* for the medium logos */
.client-logos-medium {
  height: 100px;
  width: 200px;
  display: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 0px;

}

/* for the medium-condensed logos */
.client-logos-medium-condensed {
  height: 60px;
  width: 200px;
  display: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 70px 0px;

}

/* for the medium-condensed logos */
.client-logos-medium-hui {
  height: 140px;
  width: 260px;
  display: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 25px 0px;

}

/* for the larger logos that take up their whole div */
.client-logos-large {
  height: 140px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 0px;

}

.client-logos-x3 {
  height: auto;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px px;

}

/* helps with sizing when on mobile */
@media (max-width: 724px) {
  .clients-grid {
    grid-template-columns: 1fr;
    row-gap: 0px;
  }
}

@media (min-width: 725px) and (max-width: 960px) {
  .clients-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}