#brandCarousel {
  width: 100%;
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 70px;
  padding-top: 70px;
}

#brandCarousel > h1 {
  margin-top: 27px;
  line-height: normal;
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 16));
  }
}

#brandCarousel .brandSlider {
  background: white;
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 80%;
}

#brandCarousel .brandSlider::before, 
#brandCarousel .brandSlider::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

#brandCarousel .brandSlider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

#brandCarousel .brandSlider::before {
  left: 0;
  top: 0;
}

#brandCarousel .brandSlider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 32);
}

#brandCarousel .brandSlider .slide {
  height: 100px;
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#brandCarousel .brandSlider .logoSlider {
  max-height : 90px; 
  max-width : 240px;
}


@media (max-width:767px) {
  div#brandCarousel {
    padding: 30px 9%;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-250px * 16));
    }
  }

  #brandCarousel .brandSlider::before, 
  #brandCarousel .brandSlider::after {
    width: 50px;
  }
}