.infografi{
    margin-top: -500px; margin-bottom: -80px;
}
.box{
    display: grid;
 
    height: 500px!important;
 
   
    direction: ltr;
    place-items: center;
   }
   .slider{
    height: 400px;
    margin: auto;
    position: relative;
    width: 98%;
    display: grid;
    place-items: center;
    overflow: hidden;
    
   }
   
   @keyframes scroll {
    0%{
        transform: translateX(0);
    }100%{
        transform: translateX(calc(-300px * 6));
    }
   }
   .slider-track{
    display: flex;
    width: calc(300px * 18);
    animation: scroll 35s linear infinite;
   
   }
   .slider-track:hover{
    animation-play-state: paused;
   }

   .slide{
    width: 300px;
    height: 360px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
   }
   .slider img{
    width: 100%;
    height: 360px;
    border-radius: 1rem;
    transition: transform 1s;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
   }
   .slider img:hover{
    transform: translateZ(10px);
    
   }

   .slider::before,
   .slider::after{
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
   }
   .slider::after{
    right:0;
    top:0;
    transform: rotateZ(180deg);
   }
   .slider::before{
    left:0;
    top:0;
   }

   @media screen and (max-width: 1350px) {
    .infografi{
        margin-top: -200px;
    }
   }


   @media screen and (max-width: 768px) {
    .box{

 
    height: 400px!important;
 
   }
    .slider{
        height: 320px;
     
        
       }
    .slide{
        width: 260px;
        height: 300px;
       
       }
       .slider img{
        width: 100%;
        height: 300px;
       
       }
   }
   @media screen and (max-width: 669px) {
    .infografi{
        margin-top: 200px;
    }
   }