/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0px);
  }

  100% {
    transform: translateX(calc(-250px * 9 + 410px));
  }
}

/*  Styling  */
#logos-home-page {
  height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#logos-home-page .slider {
  height: auto;

  overflow: hidden;
  position: relative;
  width: 100%;
}

#logos-home-page .slider:before,
#logos-home-page .slider: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;
}

@media only screen and (max-width: 576px) {
  #logos-home-page .slider:before,
  #logos-home-page .slider:after {
    width: 0;
  }
}

#logos-home-page .slider:after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

#logos-home-page .slider:before {
  left: 0;
  top: 0;
}
#logos-home-page .slide-track {
  animation: scroll 15s linear infinite;
  animation-delay: 1s;
  display: flex;
  width: calc(250px * 18);
}

#logos-home-page div.slide {
  padding: 0 12px;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#logos-home-page .slide img {
  height: 60px;
  width: auto;
}

#logos-home-page .slide img[alt="thndr"] {
  height: 40px;
  width: auto;
}

#logos-home-page .slide {
  filter: grayscale(1);
}

#logos-home-page .slide:hover {
  filter: grayscale(0);
}
