@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 802px 953px; 
    }
}

@keyframes swayBackground {
    0%,100% {
        transform: translateX(-10%); /* Moves left relative to container width */
    }
    50% {
        transform: translateX(0%); /* Moves left relative to container width */
    }
}
.overlay-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    background: url('images/seperate1.png') repeat;
    background-size: 802px 953px; 
    /* OG  background-position: 4816px 5718px;  */
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
    /*animation: moveBackground 3.5s linear infinite;*/
    /*animation: moveBackground 9s linear infinite;*/


    animation: moveBackground 9s linear infinite,
        swayBackground 6s ease-in-out infinite;
       /* swayBackground 6s ease-in-out infinite; /* Sways left & right */ /* Adjust duration and timing */
}

.overlay-image2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/seperate1.png') repeat;

    background-position: 200px 0; /* Shift the pattern */
    background-size: contain;
    background-attachment: fixed; /* Keep consistent alignment */
    opacity: 0.2;
    pointer-events: none;
    z-index: -2;
}
