.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;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

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

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

.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.8rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.the-work-logos {
  display: grid;
  grid-template-columns: auto auto;
}

.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;

  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(-51%);
  }
}

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

  .the-work-content {
    margin: 0 auto;
    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-logos {
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
  }

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