#bubble-scene {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

body>*:not(#bubble-scene) {
    position: relative;
    z-index: 2;
}

.bubble {
    position: absolute;
    bottom: -120px;
    border-radius: 50%;
    animation: rise linear infinite;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 18%;
    left: 20%;
    width: 25%;
    height: 18%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transform: rotate(-35deg);
}

.bubble::after {
    content: '';
    position: absolute;
    top: 28%;
    left: 28%;
    width: 12%;
    height: 10%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-110vh) translateX(var(--drift)) scale(var(--scale-end));
        opacity: 0;
    }
}