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

.customer-marquee__wrapper {
  position: relative;
  display: flex;
}

.customer-marquee__inner {
  display: flex;
  animation: 25s linear 0s infinite normal none paused pxUvy6;
}

.customer-marquee__logo {
  height: 3rem;
  width: auto;
  max-width: none;
  margin: 0 2.667rem;
}

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

.customer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.customer-grid__item {
  position: relative;
  width: 50%;
}

.customer-grid__item::before {
  content: "";
  padding-top: 33.333%;
  display: block;
}

@media screen and (min-width: 768px) {
  .customer-grid__item {
    width: 33.333%;
  }
}

@media screen and (min-width: 1200px) {
  .customer-grid__item {
    width: 25%;
  }
}

.customer-grid__logo {
  position: absolute;
  height: min(calc(1rem + 5vw), 3rem);
  max-height: 100%;
  width: auto;
  max-width: calc(100% - 2rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  .customer-grid__logo {
    height: 3rem;
  }
}

.customer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.customer-row__item {
  position: relative;
  margin: 0.375rem 0.75rem;
}

.customer-row__logo {
  display: block;
  height: min(calc(1rem + 5vw), 3.33rem);
  width: auto;
}

@media screen and (min-width: 768px) {
  .customer-row__item {
    margin: 0.75rem 1.5rem;
  }
  
  .customer-row__logo {
    height: 3.33rem;
  }
}