/*------------------------------------------
AUTHOR: ING. ANTONIO GIL GÓMEZ
DESCRIPTION: ...
EDITION: 2024
------------------------------------------
*/

.logo-slider{
    white-space: nowrap;
    overflow: hidden;
    width: 1200px;
    display: flex;
    position: relative;
    
}

.logo-slider:before, .logo-slider:after {
    content: "";
    width: 200px;
    z-index: 1;
    position: absolute;
    top: 0;
    height: 100%;
}

.logo-slider::after{
    right: 0;
    background: linear-gradient(to right, transparent, rgb(255, 255, 255));
}
.logo-slider::before{
    left: 0;
    background: linear-gradient(to left, transparent, rgb(255, 255, 255));
}

.logo-slider img{
    
    height: 100px;
    margin: 0 2em;
    transition: 0.3s all ease-in;
    filter: grayscale(100%);
    cursor: pointer;
}


.logo-slider img:hover{
    filter: grayscale(0);
}


.logos-container{
    
    display: flex;
    justify-content: center;
    margin: 4em;
}


@keyframes slide{
    from {
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

.slider{
    animation: 20s slide infinite linear;
    display:flex;
}


@media (width <= 480px){
    
    .logo-slider:before, .logo-slider:after {
        content: "";
        width: 100px;
        z-index: 1;
        position: absolute;
        top: 0;
        height: 100%;
    }
    
    .logo-slider {
        white-space: nowrap;
        overflow: hidden;
        width: 400px;
        display: flex;
        position: relative;
    }
    .logo-slider img{
    
        height: 80px;
        margin: 0 1.5em;
        transition: 0.3s all ease-in;
        filter: grayscale(100%);
        cursor: pointer;
    }

}