.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bubbles li {
    position: absolute;
    list-style-type: none;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(255, 255, 255, .2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.bubbles li:nth-child(1) {
    left: 25%;
    width: 5rem;
    height: 5rem;
    animation-delay: 0s;
}

.bubbles li:nth-child(2) {
    left: 10%;
    width: 1.25rem;
    height: 1.25rem;
    animation-delay: 2s;
    animation-duration: 12s;
}

.bubbles li:nth-child(3) {
    left: 75%;
    width: 1.25rem;
    height: 1.25rem;
    animation-delay: 4s;
}

.bubbles li:nth-child(4) {
    left: 40%;
    width: 3.75rem;
    height: 3.75rem;
    animation-delay: 0s;
    animation-duration: 18s;
}

.bubbles li:nth-child(5) {
    left: 65%;
    width: 1.25rem;
    height: 1.25rem;
    animation-delay: 0s;
}

.bubbles li:nth-child(6) {
    left: 75%;
    width: 6.8rem;
    height: 6.8rem;
    animation-delay: 3s;
}

.bubbles li:nth-child(7) {
    left: 35%;
    width: 9.3rem;
    height: 9.3rem;
    animation-delay: 7s;
}

.bubbles li:nth-child(8) {
    left: 50%;
    width: 1.56rem;
    height: 1.56rem;
    animation-delay: 15s;
    animation-duration: 45s;
}

.bubbles li:nth-child(9) {
    left: 20%;
    width: 0.93rem;
    height: 0.93rem;
    animation-delay: 2s;
    animation-duration: 35s;

}

.bubbles li:nth-child(10) {
    left: 85%;
    width: 9.3rem;
    height: 9.3rem;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}