#bubble-container {
  position: fixed;
  inset: 0;
  pointer-events: none; /* allows page interaction except bubbles */
  overflow: hidden;
  z-index: 9999;
}

.bubble {
  position: absolute;
  bottom: -150px; /* start off screen */
  border-radius: 50%;
 /* background: radial-gradient(
    circle at 30% 30%,
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.05)
  );*/
  /*background: radial-gradient(
    circle at 30% 30%,
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.05)
  );*/
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255,0.75),
    rgba(235, 219, 194,0.35),
    rgba(255, 249, 237,0.12)
);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  /*opacity: 0.8;*/
  opacity: 0.8;
  pointer-events: auto; /* enable tapping */
  animation: floatUp linear forwards;
}

@keyframes floatUp {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(var(--drift)) translateY(-120vh);
  }
}

.bubble.pop {
  animation: pop 0.25s ease-out forwards;
}

@keyframes pop {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0.4;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}
