﻿
.eask-img-logo {
    width: 250px;
    height: 65px;
    object-fit: cover;
}

.eask-img-banner {
    width: 100%;
    height: 100%;
}

@media (max-width: 1199.98px) {
    .eask-img-banner {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.scroll-wrapper {
    width: 90%;
    max-width: 1536px;
    margin-inline: auto;
    position: relative;
    height: 100px;
    overflow: hidden;
    mask-image: linear-gradient( to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) );
}

.scroll-item {
    width: 200px;
    height: 100px;
    background-color: #fd5f00;
    border-radius: 6px;
    position: absolute;
    left: max(calc(200px * 8), 100%);
    animation-name: scrollLeft;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes scrollLeft {
    to {
        left: -200px;
    }
}

.scroll-wrapper:hover .scroll-item{
    animation-play-state: paused !important;
}

.scroll-pos-1 {
    animation-delay: calc(30s / 8 * (8 - 1) * -1);
}

.scroll-pos-2 {
    animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.scroll-pos-3 {
    animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.scroll-pos-4 {
    animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.scroll-pos-5 {
    animation-delay: calc(30s / 8 * (8 - 5) * -1);
}

.scroll-pos-6 {
    animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.scroll-pos-7 {
    animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.scroll-pos-8 {
    animation-delay: calc(30s / 8 * (8 - 8) * -1);
}
