@keyframes balloonsAnimation {
    0% {
        margin-top: 100vh;
    }
    100% {
        margin-top: -100vh;
    }
}

@keyframes sideways {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: 50px;
    }
}

.balloon-1 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 1.5s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 1.5s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 1.5s ease-in-out infinite alternate;
    left: 2%;
    top: 5%;
}

.balloon-2 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 2s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 2s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 2s ease-in-out infinite alternate;
    left: 5%;
    top: 80%;
}

.balloon-3 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 3.5s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 3.5s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 3.5s ease-in-out infinite alternate;
    left: 10%;
    top: 40%;
}

.balloon-4 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 1.6s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 1.6s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 1.6s ease-in-out infinite alternate;
    left: 20%;
    top: 0;
}

.balloon-5 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 1.7s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 1.7s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 1.7s ease-in-out infinite alternate;
    left: 30%;
    top: 50%;
}

.balloon-6 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 1.4s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 1.4s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 1.4s ease-in-out infinite alternate;
    left: 50%;
    top: 0;
}

.balloon-7 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 1.3s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 1.3s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 1.3s ease-in-out infinite alternate;
    left: 65%;
    top: 70%;
}

.balloon-8 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 3.1s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 3.1s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 3.1s ease-in-out infinite alternate;
    left: 80%;
    top: 10%;
}

.balloon-9 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 3.2s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 3.2s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 3.2s ease-in-out infinite alternate;
    left: 90%;
    top: 50%;
}

.balloon-10 {
    -webkit-animation: balloonsAnimation 35s linear infinite, sideways 2.1s ease-in-out infinite alternate;
    -moz-animation: balloonsAnimation 35s linear infinite, sideways 2.1s ease-in-out infinite alternate;
    animation: balloonsAnimation 35s linear infinite, sideways 2.1s ease-in-out infinite alternate;
    left: 80%;
    top: 80%;
}

#balloon-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1050;
    display: none;
}

.balloon {
    position: absolute;
    width: 20vw;
    max-width: 148px;
}

@keyframes spinning {
    0% {
        -moz-transform:rotate(0deg);
        -webkit-transform:rotate(0deg);
        -o-transform:rotate(0deg);
        -ms-transform:rotate(0deg);
    }
    100% {
        -moz-transform:rotate(360deg);
        -webkit-transform:rotate(360deg);
        -o-transform:rotate(360deg);
        -ms-transform:rotate(360deg); 
    }
  }

.celebration-rotation {
    -webkit-animation: spinning 5s ease-out 1;   
    -moz-animation: spinning 5s ease-out 1;   
    animation: spinning 5s ease-out 1;    
  }

#celebration-wrapper {
    position: fixed;
    top: calc(50% - 200px);
    left: calc(50% - 200px);
    width: 0;
    height: 0;
    z-index: 1050;
    display: none;
}

#celebration-wrapper > div {
    background-color: #A3DFFB;
    width: 400px;
    height: 400px;
    text-align: center;
    padding: 16px;
    border-radius: 100px;
    -webkit-box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}

.birthday-message {
    font-family: 'SkranjiRegular';
    font-size: 2rem;
    line-height: 1.5;
}

#age-counter {
    font-size: 5rem;
}

#celebration-wrapper a {
    font-family: 'RalewayRegular';
    font-size: 1rem;
    line-height: 1;
    text-decoration: underline;
}

.show {
    display: block !important;
}

@media (max-width: 767.98px) {
    #celebration-wrapper {
        top: calc(50% - 100px);
        left: calc(50% - 100px);
    }

    #celebration-wrapper > div {
        width: 200px;
        height: 200px;
        padding: 16px;
        border-radius: 50px;
    }

    .birthday-message {
        font-family: 'SkranjiRegular';
        font-size: 1rem;
        line-height: 1.5;
    }

    #age-counter {
        font-size: 2rem;
    }

    #celebration-wrapper a {
        font-size: 0.6rem;
    }
}