.dot-1 {
  animation: wave 1.4s ease-in-out infinite;
  animation-delay: 0s;
}

.dot-2 {
  animation: wave 1.4s ease-in-out infinite;
  animation-delay: 0.2s;
}

.dot-3 {
  animation: wave 1.4s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes wave {
  0%,
  60%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  30% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in forwards;
}

.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.custom-video-player:hover .video-controls {
  opacity: 1;
}

.custom-video-player.playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.volume-slider {
  -webkit-appearance: none;
  height: 4px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 100%,
    rgba(255, 255, 255, 0.3) 0%
  );
  border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.progress-container:hover .progress-thumb {
  opacity: 1;
}

.progress-bar {
  height: 4px;
}

.progress-container:hover .progress-bar {
  height: 6px;
}
