.marquee-carousel {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.marquee-carousel::before,
.marquee-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 6.25rem;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-carousel::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-carousel::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

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

.marquee-carousel__content {
    display: flex;
    width: max-content;
    animation: scroll-left var(--scroll-speed, 30s) linear infinite;
    flex-wrap: nowrap;
}

.marquee-carousel__content:hover {
    animation-play-state: paused;
}

.marquee-carousel__item {
    flex-shrink: 0;
    margin: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.563rem;
    width: 13.125rem;
    position: relative;
    padding: 0.5rem 0;
}

@media (max-width: 767px) {
    .marquee-carousel__item {
        padding: 0.25rem 0;
    }
}

.marquee-carousel__item:after {
    content: '';
    height: 100%;
    position: absolute;
    right: -1.25rem;
    width: 1px;
    background-color: #00000026;
    top: 0;
}

@media (max-width: 767px) {
    .marquee-carousel__item {
        height: 4.313rem;
        width: 8.75rem;
    }
}

.marquee-carousel__item-image {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    transition: all 0.1s linear;
}

.marquee-carousel__item-image:hover {
    opacity: 0.75;
}

.marquee-carousel__item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.marquee-carousel__message{
    color: #ffffff;
    text-align: center;
    padding: 0 1rem;
}