html {
  scroll-behavior: smooth;
}

.section--clients:hover .greyed-out {
  color: #252525;
}

.section--clients {
  /* Container for the image */
}
.section--clients .normal-state {
  color: white;
}
.section--clients button {
  background: transparent;
  color: white;
  border: 0;
  text-align: left;
  display: block;
  cursor: pointer;
  width: 100%;
}
.section--clients button .a {
  transition: left 300ms;
  font-variation-settings: "slnt" 0;
  transition: font-variation-settings 300ms;
}
.section--clients button:hover .a, .section--clients button.active .a {
  font-variation-settings: "slnt" -19;
}
.section--clients .client:nth-child(1) button,
.section--clients .client:nth-child(4n) button,
.section--clients .client:nth-child(4n+1) button,
.section--clients .client:nth-child(14n) button {
  text-align: right;
}
.section--clients .client:nth-child(8n) button {
  text-align: left;
}
.section--clients button.active + .content {
  display: block;
}
.section--clients .content {
  display: none;
}
.section--clients .content-inner {
  display: flex;
  gap: var(--margin);
  padding-bottom: var(--margin);
}
.section--clients .content-inner > * {
  flex: 1;
}
@media screen and (max-width: 650px) {
  .section--clients .content-inner {
    flex-direction: column;
  }
}
.section--clients p {
  max-width: 600px;
}
@media screen and (max-width: 1190px) {
  .section--clients p {
    font-size: 18px;
  }
}
.section--clients p:first-child {
  margin-top: 0;
}
.section--clients .aspect-ratio-container {
  position: relative;
  height: 0;
  width: 100%; /* Takes the full width of the parent */
  padding-top: 80%; /* 5:4 aspect ratio (4/5 = 0.8, so 80%) */
  overflow: hidden; /* Ensures nothing spills out of the container */
  align-self: flex-start;
}
.section--clients .aspect-ratio-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures the image covers the whole area without distortion */
}
.section--clients a {
  transition: font-variation-settings 200ms;
  font-variation-settings: "slnt" 0;
}
.section--clients a:hover {
  font-variation-settings: "slnt" -19;
}

/*# sourceMappingURL=clients.css.map */