.scroll {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent)
}

.scroll .scroll-box {
    white-space: nowrap;
    /* animation: scroll var(--time) linear infinite; */
    animation-duration: var(--time);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: scroll;
    animation-delay: calc(var(--time)*-1);
}

.scroll:hover .scroll-box,
.scroll:focus .scroll-box ,
.scroll:focus-within .scroll-box {
    animation-play-state: paused !important;
}

.scroll .scroll-box:nth-child(2) {
    /* animation: scroll2 var(--time) linear infinite; */
    animation-duration: var(--time);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: scroll2;
    animation-delay: calc(var(--time)/-2);
}


.scroll.reverse .scroll-box {
    animation-direction: reverse;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll2 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-200%);
    }
}

.scroll div span {
    display: inline-flex;
    margin: 10px;
    letter-spacing: 0.2em;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.5s;
}

.scroll div span:hover {
    background: #3fd2f9;
    cursor: pointer;
}

.imgBox>.scroll-box {
    display: flex;
    align-items: center;
    justify-content: center;
}


.imgBox .img-element {
    width: 300px;
    height: 160px;
    scale: 0.98;
}


@media (min-width: 992px) {
    .imgBox .img-element {
        width: 400px;
        height: 265px;
        scale: 0.95;
    }
}


@media (max-width: 991px) {
    .imgBox .img-element .text-more span {
        font-size: 0.55rem;
    }

    .imgBox .img-element .text-more h3 {
        font-size: 0.86rem;
    }
}
