.section-logos {
  padding: 3rem 0;
  background-color: var(--primary);
  overflow: hidden;
  position: relative;
}
.section-logos:before {
  content: "";
  position: absolute;
  top: -150px;
  left: -200px;
  height: 350px;
  aspect-ratio: 1;
  background-image: url("/wp-content/uploads/2025/05/cropped-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  filter: brightness(0);
}
.section-logos:after {
  content: "";
  position: absolute;
  top: -120px;
  right: -200px;
  height: 400px;
  aspect-ratio: 1;
  background-image: url("/wp-content/uploads/2025/05/cropped-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  filter: brightness(0);
}
.section-logos .container :is(h1, h2) {
  font-size: 1.8em;
}
.section-logos .container .buttons {
  margin-top: 2rem;
}

@media (max-width: 1000px) {
  .section-logos {
    padding: 2.5rem 0;
  }
  .section-logos:before {
    left: -275px;
  }
  .section-logos:after {
    right: -275px;
  }
  .section-logos .container .logos img {
    max-height: 25px;
  }
}
/*

Logos

*/
.section-logos .container .logos {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 50px;
  grid-row-gap: 25px;
  flex-wrap: wrap;
}
.section-logos .container .logos img {
  max-height: 35px;
  max-width: 250px;
}

/*

Options - No Lines

*/
.section-logos[options~=no-lines] :is(h1, h2) {
  text-align: center;
}
.section-logos[options~=no-lines] :is(h1, h2) hr {
  display: none;
}
.section-logos[options~=no-lines] :is(h1, h2) span {
  border: 0;
  padding: 0;
}

/*

Options - Centered

*/
.section-logos[options~=centered] .logos {
  justify-content: center;
}
.section-logos[options~=centered] .logos img {
  margin: 0 30px 30px;
}

/*

Scroll Animations

*/
.section-logos .logos img {
  opacity: 0;
  margin: -20px 0 20px;
}
.section-logos.scrolled-to .logos img {
  animation: logosAppear 1s ease-out forwards;
}
.section-logos.scrolled-to .logos img:nth-child(1) {
  animation-delay: 0s;
}
.section-logos.scrolled-to .logos img:nth-child(2) {
  animation-delay: 0.2s;
}
.section-logos.scrolled-to .logos img:nth-child(3) {
  animation-delay: 0.3s;
}
.section-logos.scrolled-to .logos img:nth-child(4) {
  animation-delay: 0.4s;
}
.section-logos.scrolled-to .logos img:nth-child(5) {
  animation-delay: 0.5s;
}
.section-logos.scrolled-to .logos img:nth-child(6) {
  animation-delay: 0.6s;
}
.section-logos.scrolled-to .logos img:nth-child(7) {
  animation-delay: 0.7s;
}
.section-logos.scrolled-to .logos img:nth-child(8) {
  animation-delay: 0.8s;
}
.section-logos.scrolled-to .logos img:nth-child(9) {
  animation-delay: 0.9s;
}
.section-logos.scrolled-to .logos img:nth-child(10) {
  animation-delay: 1s;
}

@keyframes logosAppear {
  to {
    opacity: 1;
    margin: 0;
  }
}