.slider {
    background: #FEFFFE;
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .slide-track {
        display: flex;
        height: auto;
        flex-direction: column;
    }
    
    .slider{
        height: auto;
    }
}
    


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

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

.slider .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: calc(250px * 14);
}

.slider .slide {
    align-items: center;
    justify-content: center;
    display: flex;
    height: 100px;
    width: 250px;
    flex-wrap: wrap;
}