.section-the-work {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.section-the-work::before,
.section-the-work::after {
  display: none;
}

.section-the-work .container {
  display: flex;
  gap: 100px;
  position: relative;
  z-index: 1;
}

/* #the-work .section-background-text {
    font-size: clamp(45px, 11vw, 180px);
} */

.the-work-content {
  max-width: 600px;
  padding-left: 60px;
  text-align: left;
}

.the-work-content .lead {
  font-size: 2.24rem;
  color: var(--primary-light-blue);
  margin-bottom: 24px;
  font-weight: 500;
}

.the-work-content p {
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.the-work-logo-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 65px;
  max-width: 350px;
  min-width: 350px;
  overflow: hidden;
}

.the-work-logo-container p {
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  color: rgb(14, 192, 216, 0.9);
  font-size: 1.2rem;
  padding-top: 12px;
  text-align: center;
}

.the-work-logos {
  align-self: flex-start;
  animation: the-work-logo-scroll 60s linear infinite;
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}

.the-work-logo {
}

#the-work .next-section-button-container.desktop-button {
  display: block;
}

#the-work .next-section-button-container.mobile-button {
  display: none;
}

.logo-item {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: 60px;
  justify-content: center;
  margin-right: 50px;
  width: 120px;
}

.logo-item:nth-child(odd) {
  /* margin: 0 80px 40px 0; */
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.logo-item img:hover {
  opacity: 0.8;
}

@keyframes the-work-logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .the-work-logos {
    animation-play-state: paused;
  }
}

@media (max-width: 768px) {
  .section-the-work .container {
    flex-direction: column;
    gap: 40px;
  }

  .the-work-content {
    margin: 0 auto;
    padding-left: 0;
    text-align: center;
  }

  .the-work-content p {
    font-size: 1.6rem;
  }

  #the-work .next-section-button-container.desktop-button {
    display: none;
  }

  #the-work .next-section-button-container.mobile-button {
    display: block;
  }

  .the-work-logo-container {
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
  }

  .logo-item,
  .logo-item:nth-child(odd) {
    /* margin: 0 auto 40px auto; */
  }
}
