main{
    justify-content: center;
    align-items: end;
    z-index: 2;
}

header, nav{
    z-index: 3;
}

.background{
    display: flex;
    position: absolute;
    height: 60%;
    width: 100%;
    background-image: url(resources/background.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    top: 50px;
    mask-image: radial-gradient(white 20%, transparent 70%);
}

.carrossel{
    display: flex;
    position: absolute;
    height: 100px;
    width: 1000px;
    mask-image: linear-gradient(90deg, transparent 10%, black 30%, black 70%, transparent 90%);
    backdrop-filter: blur(25px);
    box-sizing: border-box;
    z-index: 2;
    bottom: 20%;
    border: .2vh solid red;

    & .scroll{
        display: flex;
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        gap: 10%;
        animation: carrossel-animation 0s linear infinite;
    }

    & .sponsor{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: red;
        font-family: Arial;
        font-weight: bold;
        height: 100%;
        background-position: center;
        background-size: contain;
        font-size: 2vh;
    }
    & .fivem{
        aspect-ratio: 1;
        background-image: url(resources/sponsors/5m.png);
    }
    & .spikerushpt{
        aspect-ratio: 320/124;
        background-image: url(resources/sponsors/spikerushpt.png);
    }
    & .comingsoon{
        aspect-ratio: 2/1;
    }
}

.partners{
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: fit-content;
    align-items: center;
    z-index: 2;
    font-family: Arial, Helvetica, sans-serif;

    & .partners-title{
        color: white;
        padding: 0;
        margin: 0;
        font-size: clamp(10px, 4vh, 25px);
    }

    & section{
        display: flex;
        box-sizing: border-box;
        height: 200px;
        max-height: 25dvh;
        gap: 20px;
        justify-content: center;

        & div{
            height: 100%;
            aspect-ratio: 1;
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
        }
        & .partners-fivem{
            aspect-ratio: 1;
            background-size: 70%;
            background-image: url(resources/partners/5m.png);
        }
        & .partners-spikerush{
            aspect-ratio: 320/124;
            background-image: url(resources/partners/spikerushpt.png);
        }
        & .partners-tba{
            aspect-ratio: 1;
            background-image: url(resources/partners/tba.png);
        }
    }
}

@keyframes carrossel-animation {
    from {
        margin-left: 0;
    }to{
        margin-left: -73.5vw;
    }
}