@keyframes float {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -40px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -80px) scale(0.5);
    opacity: 0;
  }
}

.thought-bubble {
  animation: float ease-in-out infinite;
}

.thought-bubble:nth-child(1) {
  animation-duration: 1.5s;
  animation-delay: 0s;
}

.thought-bubble:nth-child(2) {
  animation-duration: 2s;
  animation-delay: 0.5s;
}

.thought-bubble:nth-child(3) {
  animation-duration: 2.5s;
  animation-delay: 1s;
}
