/* style.css */

/* Font Faces */
@font-face {
  font-family: "Alex Brush";
  src: url("font/AlexBrush-Regular.woff") format("woff");
}
@font-face {
  font-family: "Crimson Text";
  src: url("font/CrimsonText-Regular.woff") format("woff");
}

/* Animation des bulles */
.bubble-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #535353;
}
.bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(173,216,230,0.3));
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: inset -5px -5px 20px rgba(255,255,255,0.3), 0 0 15px rgba(0,0,0,0.1);
  opacity: 0.9;
  animation: float 8s ease-out forwards, rotate 12s linear infinite;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
@keyframes float {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(100vw) translateY(-100px); }
}
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Slider handle pour la version desktop */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #3498db;
  cursor: ew-resize;
  transition: 0.3s;
}