body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
  min-height: 100vh;
  background-color: #212121;
  background-image: url('images/bg.webp');
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left top;
}

.loading-wrapper {
  width: 70vw;
  margin: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-container {
  position: relative;
  width: 100%;
  height: 2vw;
  margin-bottom: 10px;
}

.loading-bar,
.progress-bar {
  position: absolute;
  width: 100%;
  height: 100%;
}

.loading-bar {
  background-color: #000000;
}

.progress-bar {
  background-color: #888888;
  width: 0%;
}

#progressText {
  margin-top: 10px;
  padding: 10px 10px;
  color: #888888;
  background-color: #000000;
  font-weight: 900;
  white-space: pre-line;
  text-align: center;
}

.audio-track-item {
  width: 800px;
  max-width: 85vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.audio-track-item:hover {
  background-color: #444;
}

.track-name {
  color: #888888;
  font-weight: 600;
  font-size: 12px;
}

.track-state {
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
}

.playing-state {
  background-color: #254D26;
  color: white;
}
.loading-state {
  color: #888888;
}
.ready-state {
  color: #888888;
}
.waiting-state {
  color: white;
}

.playing-info {
  color: white;
  white-space: pre;
}
.loading-info {
  color: #888888;
  white-space: pre;
}
.ready-info {
  color: #888888;
  white-space: pre;
}
.waiting-info {
  color: #888888;
  white-space: pre;
}

#startPauseButton {
  width: 196px;
  height: 80px;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  background: #000000;
  color: #aaaaaa;
  font-weight: 900;
  border: 4px solid #888888;
  text-transform: uppercase;
  margin: 16px;
}
