.companies {
  margin-top: var(--spacing-lg);
}

.companies__title {
  margin: 0 0 22px 0;
  text-align: center;
  font-size: 18px;
  line-height: 1;
}

.companies__note {
  width: 100%;
  padding: 0 20px;
  text-align: right;
  margin-top: var(--spacing-md);
}

.company-logos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.marquee-line {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.marquee-line img {
  width: auto;
  height: 80px;
  max-width: none;
}

@keyframes marquee-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}

.animate-left {
  animation: marquee-left 40s linear infinite 0.5s both;
}

.animate-right {
  animation: marquee-right 40s linear infinite 0.5s both;
}


@media (width >= 769px) {

  .marquee {
    width: 100vw;
  }

  .companies__title {
    margin-bottom: 8px;
  }

  .marquee-line img {
    width: auto;
    height: 106px;
  }
}


@media (width >= 1200px) {
  .companies__note {
    padding: 0 122px 0 0;
  }
}


.companies-page {
  & .companies {
    padding-bottom: 10px;
  }
}