#leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.leaf {
    position: absolute;
    top: -50px;
    display: block;
    fill: #4CAF50;
    opacity: 0.3;
    animation-name: fall, sway;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
}

@keyframes fall {
    0% {
        top: -50px;
    }

    100% {
        top: 100vh;
    }
}

@keyframes sway {
    0% {
        transform: translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateX(50px) rotate(45deg);
    }

    50% {
        transform: translateX(0px) rotate(90deg);
    }

    75% {
        transform: translateX(-50px) rotate(45deg);
    }

    100% {
        transform: translateX(0px) rotate(0deg);
    }
}