#specialist{
    overflow: hidden;
}

#why-reasons{
    display: flex;
    /*flex-direction: row-reverse;*/
    /*width: calc(306px * 8);*/
    width: calc(25% * 4);
    position: relative;
    animation: scroll 30s linear infinite;
    animation-play-state: running;
    -webkit-animation: scroll 30s linear infinite;
    -webkit-animation-play-state: running;
    cursor: pointer;
}

#why-reasons:hover{
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

.reason{
	/*width: 306px;*/
    width: 25%;
    height: 274px;
    flex-shrink: 0;
    border-radius: 10px;
}

.reason > div{
	width: 85%;
	margin: 0 auto;
	margin-top: 10%;
	text-align: center;
}

.reason-title{
	color: white !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: -10px;
}

.reason img{
	width: 100px;
	filter: invert(18%) sepia(80%) saturate(3386%) hue-rotate(195deg) brightness(87%) contrast(103%);
}

.reason p{
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    color: #3c3b3c;
}

:root {
    --scroll-distance: calc(-25% * 8);
}

@keyframes scroll {
    100% { 
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
    0% {
        transform: translateX(var(--scroll-distance));
        -webkit-transform: translateX(var(--scroll-distance));
    }
}

@media only screen and (max-width: 599px) {
    .reason{
        width: 60%;
    }

    :root {
        --scroll-distance: calc(-60% * 8)
    }

    .reason img {
        width: 80px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px){
    .reason{
        width: 40%;
    }

    :root {
        --scroll-distance: calc(-40% * 8)
    }
}