@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
  background-color: #121212 !important;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.player-container {
  background-color: #121212 !important;
  padding: 3vw;
  padding-bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow: hidden;
}

#playlist {
  list-style: none;
  padding: 0;
  height: 100%;
  overflow-y: auto;
  margin: 0 0 1vw 0;
  flex-grow: 1;
}

#playlist li {
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 0.4rem;
  background-color: #3a3a3a;
  transition: background-color 0.3s;
  font-size: 0.7rem;
}

#playlist li:hover {
  background-color: #4a4a4a;
}

#playlist li.playing {
  background-color: #00ffff;
  color: #1a1a1a;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
}

.controls button {
  background-color: #00ffff;
  color: #1a1a1a;
  border: none;
  padding: 0.4rem 0.8rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;

}

.controls button:hover {
  background-color: #009999;
}

.custom-timeline {
  width: 100%;
  height: 8px;
  background-color: #333;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  margin: 0.5vw 0;
  flex-shrink: 0;
}

.custom-timeline .thumb {
  width: 12px;
  height: 12px;
  background-color: #00ffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  transition: left 0.1s linear;
}

#current-song {
  text-align: center;
  margin: 1.5vw 0;
  font-size: clamp(0.7rem, 2.5vw, 0.9rem);
  color: #00ffff;
  flex-shrink: 0;
  min-height: 1.5rem;
}

#time-display {
  text-align: center;
  font-size: 0.9rem;
  color: #00ffff;
  margin: 0.5rem 0;
}

#playlist::-webkit-scrollbar {
  width: 16px;
}
#playlist::-webkit-scrollbar-track {
  background: #2a2a2a;
}
#playlist::-webkit-scrollbar-thumb {
  background: #00ffff;
  border-radius: 8px;
}

.volume-control i,
.volume-control svg,
.volume-control .icon {
  color: #00ffff;
  fill: #00ffff;
}

.volume-control {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 1.2em;
  color: #fff;
}

.volume-control input[type="range"] {
  width: 100px;
  accent-color: #00ffff;
}

h1 {
  text-align: center;
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #00ffff;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .volume-control {
    flex-direction: column;
    align-items: center;
    flex-basis: 100%;
    margin-top: 1rem;
  }

  .volume-control input[type="range"] {
    width: 80vw;
  }
}
button.repeat-button {
  background-color: #00ffff;
  color: #1a1a1a;
}

button.repeat-button.active {
  background-color: #009999;
  color: #ffffff;
}
