/* =========================================
   ASTERION - FALLING LEAVES
   ========================================= */

#asterion-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
}

.asterion-leaf {
    position: absolute;
    top: -60px;

    width: 20px;
    height: 12px;

    background: #9cab39;

    border-radius: 100% 0 100% 0;

    opacity: 0.8;

    animation:
        leaf-fall linear infinite,
        leaf-swing ease-in-out infinite alternate;

    filter: blur(0.2px);
}

.asterion-leaf:nth-child(3n) {
    background: #c3b83d;
}

.asterion-leaf:nth-child(4n) {
    background: #718c2d;
}

.asterion-leaf:nth-child(5n) {
    background: #d5c74b;
}

@keyframes leaf-fall {

    0% {
        transform: translateY(-10vh) rotate(0deg);
    }

    100% {
        transform: translateY(115vh) rotate(720deg);
    }
}

@keyframes leaf-swing {

    0% {
        margin-left: -35px;
    }

    100% {
        margin-left: 35px;
    }
}
