.parteners-container {
  margin-top: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 16));
  }
}
.slider-card {
  max-width: 1200px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-gray);
  border-radius: 10px;
  transform: translateY(50%);
  background-color: white;
}
.slider-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.2em;
  padding: 1em;
  border-radius: 5px;
  background-color: white;
}
.polygon-container {
  filter: drop-shadow(0px 3px 20px rgb(0 0 0 / 20%));
}
.slider {
  height: 85px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 70%;
  border-radius: 20px;
}
.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 85px;
  position: absolute;
  width: 20px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 30s linear infinite;
  animation: scroll 30s linear infinite;
  display: flex;
  width: calc(250px * 14);
}
.slider .slide {
  height: 100px;
  width: 250px;
}

@media screen and (min-width: 1024px) {
  .slider-text {
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
  }
  .slider::before,
  .slider::after {
    background: linear-gradient(
      to right,
      white 0%,
      rgba(255, 255, 255, 0) 100%
    );
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
  }
}
