/* body {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
  } */
/*   
  @-webkit-keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(calc(-250px * 7));
              transform: translateX(calc(-250px * 7));
    }
  }
  
  @keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(calc(-250px * 7));
              transform: translateX(calc(-250px * 7));
    }
  }
  .slider {
    background: transparent; */
/* box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125); */
/* height: 130px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  .slider::before, .slider::after {
    background: linear-gradient(to right, #212529 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 130px;
    position: absolute;
    width: 200px;
    z-index: 2;
  }
  .slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
            transform: rotateZ(180deg);
  }
  .slider::before {
    left: 0;
    top: 0;
  }
  .slider .slide-track {
    -webkit-animation: scroll 15s linear infinite;
            animation: scroll 15s linear infinite;
    display: flex;
    width: calc(250px * 37);
    
  } */
/* .slider .slide {
    height: 130px;
    width: 250px;
  } */

/* Nuevo */
/* body {
  align-items: center;
  background: #101010;
  display: flex;
  height: 100vh;
  justify-content: center;
} */


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

  95% {
    transform: translateX(-95%);
  }
}

.slider {
  background: transparent;
  /* box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125); */
  height: 130px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 960px;
}

/* Degradado */
.slider::before,
.slider::after {
  background: linear-gradient(to right, #212529 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 130px;
  position: absolute;
  width: 100px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

/* Animación */
.slider .slide-track {
  animation: scroll 50s linear infinite;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  min-width: 200%;
  position: absolute;
}

.slider .slide {
  height: 130px;
  transition: all .3s;
}

/* Detenerse al mantener */
.slider:hover .slide-track {
  animation-play-state: paused;
}

/* Tono gris */
.slider .slide {
  /* filter: grayscale(100%); */
  transition: 300ms all linear;
}

.slider .slide:hover {
  /* filter: none; */
  filter: saturate(180%);
  transition: transform .3s;
  transform: translateY(-10px);
}