.partner-scroll {
    margin: 10% 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-background {
    background: url('../assets/FrontPage/partners_scroll.svg') no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 400px;
    display: flex;
    margin-top: 30px;
    margin-bottom: -65px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    width: 80%;
    z-index: 2;
}

.partners-logos img {
    transition: transform 0.3s ease;
}

.partners-logos img:hover {
    transform: scale(1.1);
}

.partners-logos-mobile {
    display: none;
}

.scroll-marquee-wrapper {
    width: 89.5%;
    margin: 0px -5px 0px 0px;
    overflow: hidden;
    display: none;
}


@media (max-width: 1024px) {

    .scroll-background {
        height: 200px !important;
    }

    .partners-logos {
        display: none !important;
    }

    .partners-logos-mobile {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 2rem !important;
        width: 200% !important;
        animation: marquee 10s linear infinite !important;
    }

    .scroll-marquee-wrapper {
        width: 74.2%;
        margin: 0px -5px 0px 0px;
        overflow: hidden;
        display: unset;
    }

    .partners-logos-mobile img {
        flex: 0 0 auto !important;
    }

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

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

    /* Makes marquee infinite loop, don't ask why its 85.5%, most likel due to the gap */
}


}

@media (max-width: 768px) {

    .scroll-marquee-wrapper {
        width: 89.5%;
        margin: 0px -5px 0px 0px;
        overflow: hidden;
        display: unset;
    }
    @keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

    /* Makes marquee infinite loop, don't ask why its 94%, most likel due to the gap */
}

}