body {
  margin: 0;
  font-family: sans-serif;
}

#canvas-container {
  width: 100vw;
  height: 85vh;
  position: relative;
  overflow: hidden;
}

canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.audio-btn {
  width: 53px;
  height: 53px;
  background-color: transparent;
  border: #aeaeae 4px solid;
  color: #aeaeae;
  border-radius: 100px;
  cursor: pointer;
  position: fixed; 
  top:42.5vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
}

.audio-btn:hover {
  border: #aeaeae 4px solid;
  color: #aeaeae ;
}

.timeline-bar {
  appearance: none;
  width: 90vw;
  height: 2px;
  background: #aeaeae;
  border-radius: 4px;
  outline: none;
  position: absolute;
  bottom: 115px;
  left: 5vw;
  cursor: pointer;
  z-index: 10;
  font-family: 'Montserrat', sans-serif;
}

.timeline-bar::-webkit-slider-runnable-track {
  height: 1px;
  background: #aeaeae;
  border-radius: 4px;
}

.timeline-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  border: 2px solid #aeaeae;
  margin-top: -6px;
  cursor: grab;
}

.timeline-bar::-moz-range-track {
  height: 2px;
  background: #e0e0dc;
  border-radius: 4px;
}

.timeline-bar::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  border: none;
  cursor: grab;
}

.time-display {
  position: fixed;
  left: 50%;
  bottom: 75px;
  color: #aeaeae;
  font-family: 'Montserrat', monospace, sans-serif;
  font-size: 21px;
  align-content: center;
  z-index: 10;
  transform: translate(-50%, 0);
}

.audio-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.audio-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}

#playButton {
  transition: font-size 0.3s ease;
}

.audio-btn.always-visible {
  opacity: 1 !important;
  pointer-events: auto;
}

@media (max-height: 530px) {
  .timeline-bar {
  bottom: 55px;
}

.time-display {
  bottom: 20px;
}
}

