/* Six Seven Styles */
.six-seven-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through */
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    background-color: white;
    opacity: 0;
    animation: fadeInOut 5s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

.hand-img {
    position: absolute;
    width: 200px; /* Adjust based on actual image size preference */
    top: -300px; /* Start off-screen */
}

.hand-left {
    left: 10%;
    animation: dropAndBobLeft 5s ease-in-out forwards;
}

.hand-right {
    right: 10%;
    animation: dropAndBobRight 5s ease-in-out forwards;
}

@media (max-width: 768px) {
    .hand-left {
        left: 5%;
    }
    .hand-right {
        right: 5%;
    }
}

/* 
 * Animation Logic:
 * 0%: Start off screen
 * 10%: Drop down to visible area
 * 10-90%: Bob up and down (multiple cycles)
 * 100%: Retract up
 */

@keyframes dropAndBobLeft {
    0% { top: -300px; }
    10% { top: 0; }
    
    /* Bobbing cycle: Left hand goes UP while Right goes DOWN */
    20% { top: -30px; }
    30% { top: 0; }
    40% { top: -30px; }
    50% { top: 0; }
    60% { top: -30px; }
    70% { top: 0; }
    80% { top: -30px; }
    
    90% { top: 0; }
    100% { top: -300px; }
}

@keyframes dropAndBobRight {
    0% { top: -300px; }
    10% { top: 0; }
    
    /* Bobbing cycle: Right hand goes DOWN while Left goes UP */
    20% { top: 30px; }
    30% { top: 0; }
    40% { top: 30px; }
    50% { top: 0; }
    60% { top: 30px; }
    70% { top: 0; }
    80% { top: 30px; }
    
    90% { top: 0; }
    100% { top: -300px; }
}
