/**
 * @package     Joomla.Module
 * @subpackage  BalloonAnimation
 * @version     1.0.0
 * @author      WeDevlops.com
 * @copyright   2024
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
.balloon-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.balloon {
    position: absolute;
    width: 50px;
    height: 70px;
    background-color: var(--balloon-color, rgba(255, 0, 0, 0.7));
    border-radius: 50%;
    animation: float var(--animation-duration, 10s) infinite;
    top: calc(100% * var(--start-y));
    left: calc(100% * var(--start-x));
    transform: translate(-50%, -50%);
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translate(0px, 0px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translate(var(--move-x), var(--move-y));
        opacity: 0;
    }
}
