/* Contenedor de hojas animadas */
.leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Permite hacer clic en los botones detrás de las hojas */
    overflow: hidden;
    z-index: 1; /* Queda detrás del contenido pero sobre el fondo */
}

/* Estilo individual de cada hoja */
.leaf {
    position: absolute;
    top: -10%;
    opacity: 0.6;
    font-size: 1.2rem;
    user-select: none;
    animation: fall linear infinite;
}

.leaf:nth-child(odd) {
    color: #5A5A3A;
}

/* Las hojas pares llevan el segundo color */
.leaf:nth-child(even) {
    color: #3A5A3A;
}

/* Animación de caída y balanceo */
@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        top: 105%;
        transform: translateX(100px) rotate(360deg);
        opacity: 0;
    }
}