/*!
 * White Cherry Blossom Scenes Grid CSS
 * 
 * Styles for the cherry blossom background animation and container
 * Version: 1.0
 */

/* Container Styles */
.white-cherry-blossom-scenes-container {
    position: relative;
    overflow: hidden;
}

/* Cherry Blossom Animation Container */
.cherry-blossom-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Individual Cherry Blossom */
.cherry-blossom {
    position: absolute;
    font-size: 25px;
    opacity: 0.7;
    user-select: none;
    pointer-events: none;
    animation-timing-function: ease-in-out;
}

/* Content Container */
.cherry-content-container {
    position: relative;
    z-index: 2;
}

/* Cherry Blossom Falling Animation */
@keyframes fall {
    0% {
        top: -50px;
        opacity: 0;
        transform: translateX(0px);
    }
    10% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        top: calc(100% - 50px);
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Cherry Blossom Swaying Animation */
@keyframes sway {
    0%, 100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

/* Alternate cherry blossom animations for variety */
.cherry-blossom:nth-child(odd) {
    animation-name: fall, sway;
    animation-duration: 20s, 4s;
    animation-iteration-count: infinite, infinite;
    animation-timing-function: linear, ease-in-out;
}

.cherry-blossom:nth-child(even) {
    animation-name: fall, sway;
    animation-duration: 18s, 3s;
    animation-iteration-count: infinite, infinite;
    animation-timing-function: linear, ease-in-out;
    animation-delay: 0s, 1s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cherry-blossom {
        font-size: 20px;
        opacity: 0.5;
    }
    
    .white-cherry-blossom-scenes-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cherry-blossom {
        font-size: 18px;
        opacity: 0.4;
    }
    
    .white-cherry-blossom-scenes-container {
        padding: 15px;
    }
}
