div.content-sponsor-main {
    width: 95%;
    max-width: 1024px;
    margin: 0 auto;
    margin-bottom: 32px;
    justify-content: space-between;
    display: flex;
    gap: 16px;
}

#content-sponsor-show {
    display: inline-block;
    width: 80%;
    flex: 1;
}

#content-sponsor-show .content-sponsor-group.exit {
    animation: block_out 0.5s ease forwards;
}

#content-sponsor-show .content-sponsor {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity .5s ease, transform .5s ease;
}

#content-sponsor-show .content-sponsor.stagger {
    opacity: 1;
    transform: translateX(0);
}

#content-sponsor-show .content-sponsor-group {
    display: none;
    opacity: 0;
    transform: translateX(-50px);
    gap: 32px;
    justify-content: start;
}

#content-sponsor-show .content-sponsor-group.active {
    display: block;
    opacity: 1;
    animation: block_in 0.5s ease forwards;
}

@keyframes block_out {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(80px); }
}

@keyframes block_in {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

div.content-sponsor-1 {
    background-color: #fff;
}

div.content-sponsor-2 {
    background-color: color(srgb 0.9441 0.973 0.9989);
}

div.content-sponsor-3 {
    background-color: color(srgb 0.1098 0.1098 0.1098);
}

div.content-sponsor-4 {
    background-color: color(srgb 0.022 0.323 0.6041);
}

div.content-sponsor-5 {
    background-color: color(srgb 0.3709 0.6453 0.858);
}

div.content-sponsor-6 {
    background-color: color(srgb 0.1534 0.1956 0.4884);
}

div.content-sponsor-7 {
    background-color: color(srgb 0.9043 0.2095 0.2752);
}

div.content-sponsor-8 {
    background-color: color(srgb 0.749 0.749 0.7491);
}

div.content-sponsor {
    width: 20%;
    height: 100px;
    aspect-ratio: 2 / 1;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 2px var(--gullys-main-gray) solid;
}

div.content-sponsor img {
    max-width: 95%;
    max-height: 95%;
}

div.content-sponsor-large-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 32px;
    justify-content: center;
}

div.content-sponsor-large {
    width: 40% !important;
    height: 400px !important;
}

@media (max-width: 1600px) {
    div.content-sponsor-large {
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    div.content-sponsor-large {
        height: 200px !important;
    }

    div.content-sponsor-main {
        flex-direction: column;
    }
    
    #content-sponsor-show {
        width: 100%;
    }

    #content-sponsor-show .content-sponsor-group {
        justify-content: center;
    }

    div.content-sponsor {
        height: 60px;
    }
}