#audio-controls{
  padding-left: 20px;
  min-width: 300px;
  margin-left: 1px;
  display: none;
  gap: 10px;
  align-items: center;
  width: 450px;
}

#audio-controls #play-button,
#audio-controls.playing #pause-button {
  display: flex;
}

#audio-controls.playing #play-button,
#audio-controls #pause-button {
  display: none;
}

#play-button,
#pause-button,
#cc-button,
#unmute-button,
#close-button {
  cursor: pointer;
  align-items: center;
}

#play-button img,
#pause-button img {
  height: 14px;
}
#progressBar {
  position: relative;
  margin-top: 6px;
  margin-bottom: 6px;
  flex-grow: 1;
  max-width: 300px;
  cursor: pointer;
  padding: 5px 0;
}
#progressBar .line {
  width: 100%;
  background: #8f8f8f;
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
}
#progress-value {
  background-color: var(--text-color);
  position: absolute; 
  height: 2px; 
  top: 0; 
  left: 0
}
#close-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: -5px;
  margin-bottom: 1.2px;
}
#cc-button {
  display: flex; 
  align-items: center; 
  cursor: pointer
}
#unmute-button img,
#cc-button img {
  height: 20px;
}
.pulsate {
  animation: pulsate 2s infinite;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* #unmute-button {
  display: none;
} */

/* Media Queries */
@media (max-width: 768px) {
  #audio-controls{
    margin: auto;
  }
}
