#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle-element {
    position: absolute;
    pointer-events: none;
    animation: fall var(--duration) linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) translateX(var(--start-x)) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) translateX(var(--end-x)) scale(0.5);
        opacity: 0;
    }
}