﻿@charset "utf-8";

.balloons span {
    position: absolute;
    left: 0;
    bottom: -75px;
    width: 40px;
    height: 50px;
    background: #ffa07a;
    border-radius: 50%;
    box-shadow: -3px -3px 0 rgba(0, 0, 0, 0.15) inset;
}

    .balloons span:before {
        content: '';
        position: absolute;
        left: 19px;
        bottom: -35px;
        width: 1px;
        height: 35px;
        background: #a0a0a0;
        transform: rotate(5deg);
    }

    /* [origin]
.balloons span {
    position: absolute;
    left: 0;
    bottom: -150px;
    width: 80px;
    height: 100px;
    background: #ffa07a;
    border-radius: 50%;
    box-shadow: -6px -6px 0 rgba(0, 0, 0, 0.15) inset;
}

    .balloons span:before {
        content: '';
        position: absolute;
        left: 38px;
        bottom: -70px;
        width: 2px;
        height: 70px;
        background: #a0a0a0;
        transform: rotate(5deg);
    }
*/


    .balloons span:nth-of-type(1) {
        left: -5%;
        background: #9400d3;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 13s ease-in-out infinite;
    }

    .balloons span:nth-of-type(2) {
        left: 12%;
        background: #ffc0cb;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 7s ease-in-out infinite;
    }

    .balloons span:nth-of-type(3) {
        left: 18%;
        background: #ffa07a;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 16s ease-in-out infinite;
    }

    .balloons span:nth-of-type(4) {
        left: 22%;
        background: #f0f8ff;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 14s ease-in-out infinite;
    }

    .balloons span:nth-of-type(5) {
        left: 36%;
        background: #ffa07a;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 7s ease-in-out infinite;
    }

    .balloons span:nth-of-type(6) {
        left: 50%;
        background: #00fa9a;
        animation: wobbling_x 0.9s ease-in-out infinite alternate, wobbling_y 1.2s ease-in-out infinite alternate, fly_high 12s ease-in-out infinite;
    }

    .balloons span:nth-of-type(7) {
        left: 62%;
        background: #ffc0cb;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 15s ease-in-out infinite;
    }

    .balloons span:nth-of-type(8) {
        left: 68%;
        background: #9400d3;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 7s ease-in-out infinite;
    }

    .balloons span:nth-of-type(9) {
        left: 78%;
        background: #ffa07a;
        animation: wobbling_x 0.9s ease-in-out infinite alternate, wobbling_y 1.2s ease-in-out infinite alternate, fly_high 9s ease-in-out infinite;
    }

    .balloons span:nth-of-type(10) {
        left: 90%;
        background: #ff0000;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 11s ease-in-out infinite;
    }

    .balloons span:nth-of-type(11) {
        left: 0%;
        background: #f0f8ff;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 9s ease-in-out infinite 7s;
    }

    .balloons span:nth-of-type(12) {
        left: 3%;
        background: #ffa07a;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 7s ease-in-out infinite 2s;
    }

    .balloons span:nth-of-type(13) {
        left: 10%;
        background: #ff0000;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 8s ease-in-out infinite 5s;
    }

    .balloons span:nth-of-type(14) {
        left: 25%;
        background: #00ced1;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 12s ease-in-out infinite 6s;
    }

    .balloons span:nth-of-type(15) {
        left: 37%;
        background: #00fa9a;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 7s ease-in-out infinite 4s;
    }

    .balloons span:nth-of-type(16) {
        left: 45%;
        background: #00ced1;
        animation: wobbling_x 0.9s ease-in-out infinite alternate, wobbling_y 1.2s ease-in-out infinite alternate, fly_high 9s ease-in-out infinite;
    }

    .balloons span:nth-of-type(17) {
        left: 55%;
        background: #ffc0cb;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 13s ease-in-out infinite 8s;
    }

    .balloons span:nth-of-type(18) {
        left: 60%;
        background: #f0f8ff;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 10s ease-in-out infinite 1s;
    }

    .balloons span:nth-of-type(19) {
        left: 75%;
        background: #00fa9a;
        animation: wobbling_x 0.9s ease-in-out infinite alternate, wobbling_y 1.2s ease-in-out infinite alternate, fly_high 15s ease-in-out infinite 7s;
    }

    .balloons span:nth-of-type(20) {
        left: 95%;
        background: #00ced1;
        animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate, fly_high 11s ease-in-out infinite 6s;
    }

@keyframes wobbling_x {
    0% {
        margin-left: 8px;
    }

    100% {
        margin-left: 0px;
    }
}

@keyframes wobbling_y {
    0% {
        margin-bottom: 0px;
    }

    100% {
        margin-bottom: 8px;
    }
}

@keyframes fly_high {
    100% {
        /*transform: translateY(-1000px);*/
        transform: translateY(-1200px);
    }
}