@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    white-space: nowrap;
    padding-bottom: 80px;
    background: white;
    position: relative;

  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 300px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  

  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  
  .logos-slide {
   
    float: left;
    animation: 30s slide infinite linear;
    flex-shrink: 0;
  }
  
  .logos img {
    display: inline-block;
    margin: 25px 120px;
    height: 40px;
  }