/* Heart animate */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.circles li {
    background: url('../img/icons/heart.png') no-repeat center;
    background-size: 100%;
    position: absolute;
    display: block;
    list-style: none;
    width: 40px;
    height: 40px;
    animation: animate 20s linear infinite;
    bottom: -60px;

}

.circles li:nth-child(1) {
    left: 25%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}


.circles li:nth-child(2) {
    left: 10%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
    animation-duration: 7s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
    animation-duration: 8s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 40px;
    height: 40px;
    animation-delay: 6s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 40px;
    height: 40px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 4s;
    animation-duration: 15s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 17s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
    animation-duration: 11s;
}

.circles li:nth-child(11) {
    left: 8%;
    width: 50px;
    height: 50px;
    animation-delay: 1s;
    animation-duration: 7s;
}

.circles li:nth-child(12) {
    left: 60%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
    animation-duration: 5s;
}

.circles li:nth-child(13) {
    left: 30%;
    width: 40px;
    height: 40px;
    animation-delay: 3s;
    animation-duration: 4s;
}

.circles li:nth-child(14) {
    left: 70%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
    animation-duration: 9s;
}

.circles li:nth-child(15) {
    left: 50%;
    width: 30px;
    height: 30px;
    animation-delay: 4s;
    animation-duration: 3s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.9;
    }

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

}

/* Bubble animate */
.bubble-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* bubble */
.bubble {
    position: absolute;
    bottom: 0px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .8);

    animation: floatingBubble linear infinite;
}

/* ukuran + posisi random */
.bubble:nth-child(1) {
    left: 5%;
    width: 40px;
    height: 40px;
    animation-duration: 12s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    left: 20%;
    width: 50px;
    height: 50px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    left: 40%;
    width: 25px;
    height: 25px;
    animation-duration: 10s;
    animation-delay: 1s;
}

.bubble:nth-child(4) {
    left: 60%;
    width: 60px;
    height: 60px;
    animation-duration: 22s;
    animation-delay: 3s;
}

.bubble:nth-child(5) {
    left: 78%;
    width: 45px;
    height: 45px;
    animation-duration: 14s;
    animation-delay: 2s;
}

.bubble:nth-child(6) {
    left: 90%;
    width: 65px;
    height: 65px;
    animation-duration: 20s;
    animation-delay: 1s;
}

/* animasi floating */
@keyframes floatingBubble {

    0% {
        transform:
            translateY(0) translateX(0) scale(0.8);

        opacity: .7;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform:
            translateY(-50vh) translateX(30px) scale(1);
    }

    100% {
        transform:
            translateY(-120vh) translateX(-40px) scale(1.2);

        opacity: .4;
    }

}

/*
** sparkle gif
** place in position relative div
** src pinterest.com
** src kibrispdr.org
*/
.sparkles-right {
    background: url('../img/animate/sparkle.gif') no-repeat center;
    background-size: 100%;
    width: 130px;
    height: 130px;
    position: absolute;
    /* position custom in theme */
}

/* left */
.sparkles-left {
    background: url('../img/animate/sparkle.gif') no-repeat center;
    background-size: 100%;
    width: 130px;
    height: 130px;
    position: absolute;
    /* position custom in theme */
}

.sparkles-color-right {
    background: url('../img/animate/sparkle-color.gif') no-repeat center;
    background-size: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
}
