﻿.rain {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.drop {
    position: absolute;
    bottom: 100%;
    width: 15px;
    height: 120px;
    pointer-events: none;
    animation: drop 5s linear infinite;
}

@keyframes drop {
    0% {
        transform: translateY(0vh);
    }

    75% {
        transform: translateY(98vh);
    }

    100% {
        transform: translateY(98vh);
    }
}

.stem {
    width: 3px;
    height: 60%;
    margin-left: 7px;
    background: linear-gradient(to bottom, rgba(0, 102, 255, .2), rgba(0, 102, 255, 0.9));
    animation: stem 5s linear infinite;
}

@keyframes stem {
    0% {
        opacity: 1;
    }

    65% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}
