main {
    background: var(--black);
}

section.client-work {
    display: flex;
    flex-direction: column;
    gap: 7.5rem;
}

.work-header {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.filter-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-box a, .filter-box button {
    background: transparent;
    padding-inline: 2rem;
    padding-block: 0.5rem;
    text-decoration: none;
    border-radius: 999px;
    color: var(--text-white);
    outline: none;
    border: none;
    font-weight: 200;
    font-size: 1.25rem;
    letter-spacing: 6%;
    transition: all 0.2s ease;
    text-wrap: nowrap;
    white-space: nowrap;
}

.filter-box a.active, .filter-box button.active {
    background: var(--primary-color);
    font-weight: 600;
}

/* .work-warpper {
    display: grid;
    width: 100%;
    gap: 64px 48px;
    grid-template-columns: repeat(2, 1fr);
} */

/* .work-warpper {
    column-count: 2;
    column-gap: 48px;
    width: 100%;
}

.work-warpper > li {
    break-inside: avoid;
    margin-bottom: 64px;
} */

.work-warpper {
    position: relative;
    transition: height 0.4s ease;
}

.work-card {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-card.hide {
    opacity: 0;
    /* transform: translateY(20px); */
    pointer-events: none;
}

.work-warpper > li {
    position: absolute;
    width: calc(50% - 24px);
}

.work-warpper blockquote {
    margin: 0;
    color: var(--text-white);
    font-size: 1.75rem;
    font-weight: 100;
}

.work-warpper blockquote svg {
    fill: var(--primary-color);
    margin-left: 2rem;
    margin-right: 0.5rem;
}

ul.work-warpper {
    list-style: none;
    /* margin-left: 5%;
    margin-right: 5%; */
}

section.text-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    overflow-x: hidden;
}

section.text-banner div.text-warpper {
    display: flex;
    gap: 4px;
    width: 100vw;
    overflow: hidden;
}

section.text-banner .text-warpper .row span {
    font-size: 8rem;
    font-weight: 500;
    white-space: nowrap;

    background: linear-gradient(
        90deg,
        #1f4fff 0%,
        #2a3ebe 25%,
        #8fb2e1 50%,
        #2a3ebe 75%,
        #1f4fff 100%
    );

    background-size: 200% 100%;
    background-position: 0% 50%;

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

    animation-name: gradientSlide;
    animation-duration: 12s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

section.text-banner .text-warpper .row {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

section.text-banner .text-warpper:last-child .row {
    animation-direction: reverse;
    animation-delay: -20s;
}

section.text-banner .text-warpper .row span:nth-child(2) {animation-delay: -6s;}
section.text-banner .text-warpper .row span:nth-child(4) {animation-delay: -6s;}
section.text-banner .text-warpper .row span:nth-child(6) {animation-delay: -6s;}
section.text-banner .text-warpper .row span:nth-child(8) {animation-delay: -6s;}

section.text-banner .text-warpper .row span.bottom {
    animation-direction: normal;
}

@keyframes textMove {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100vw);
    }
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 1399px) {}
@media screen and (max-width: 1199px) {}
@media screen and (max-width: 991px) {
    section.text-banner span {font-size: 6rem;}
}

@media screen and (max-width: 767px){
    ul.work-warpper {
        margin-left: 0%;
        margin-right: 0%;
    }
    section.text-banner .text-warpper .row span {font-size: 4rem;}
    .work-warpper blockquote {font-size: 1.25rem;}
}

@media screen and (max-width: 575px) {

    section.client-work{gap: 3rem;}
    .work-header {gap: 2rem;}
    .filter-box {flex-direction: column; flex-wrap: nowrap; gap: 0.25rem;}
    .filter-box a, .filter-box button {padding-inline: 0rem; width: max-content;}
    .filter-box a.active, .filter-box button.active {padding-inline: 1.5rem;}

    section.text-banner .text-warpper .row span {font-size: 3rem;}
}