.content{
    overflow: hidden;
}

#gallery-header{
    filter: blur(10px);
    opacity: 0;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 15rem 0;
    overflow: hidden;
}

#gallery-text{
    width: 73rem;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

#gallery-text p{
    margin: 0;
    width: 100%;
    font-family: 'Mona-Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    line-height: 150%;
    /* or 30px */

    color: #C5C6C7;
}

#gallery-title{
    position: relative;
}

#gallery-title h2{ 
    margin: 0;
    font-family: 'That-New-Pixel';
    font-style: normal;
    font-size: 12.8rem;
    line-height: 130%;
    /* or 166px */
    text-align: center;
    font-weight: normal;

    color: #F4F4F4;
}

#gallery-title img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 23.4rem;
    height: auto;
}

#gallery-vectors{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    width: 100%;
    min-width: 150rem;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    pointer-events: none;
}

#gallery-vectors img{
    width: 48rem;
    height: auto;
    margin-left: -16rem;
    margin-right: -16rem;
}

#desktop-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3.2rem;

    width: 90%;
    max-width: 125.6rem;
    margin: 0 auto;
    margin-top: 10rem;
}

#mobile-grid {
    display: none;
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
    width: calc(50% - 1.6rem);
}

.case-image {
    width: 100% !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #image-grid {
        grid-template-columns: 1fr;
    }
}



#white-trans-da{
    width: 100%;
    z-index: 3;
    transform: rotate(180deg);
    margin-top: -20rem;
    pointer-events: none;
}

#white-trans-da div{
    width: 100%;
    height: 8rem;
    background: #F4F4F4;
    transform: scaleY(0);
    
}

@media (max-width: 1000px) {
    #mobile-grid{
        display: flex;
        margin-top: 10rem;
        justify-content: center;
        width: 100%;
    }
    #desktop-grid{
        display: none;
    }
    .image-column{
        width: 90%;
        max-width: 50rem;
    }
}


@media (max-width: 770px) {

    #gallery-header{
        margin: 10rem 0;
    }
    #gallery-title h2{
        font-size: 5.6rem;
    }
    #gallery-title img{
        width: 11rem;
    }
    #gallery-text{
        width: 32rem;
        gap: 3.2rem;
    }
    #gallery-text p{
        font-size: 1.6rem;
    }
}