body {
  min-width: 280px;
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  background-color: #383636;
}

.header {
  width: 100%;
  height: 10vh;
  padding: 20px;
}

.main {
  display: flex;
  flex-direction: column;
}
.title {
  text-align: center;
  font-size: 27px;
  color: rgb(95, 179, 227);
  text-shadow: 2px 2px 4px rgb(113, 113, 226);
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-left: 20px;
}

.player-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
}
.container-play-list {
  max-width: 300px;
  max-height: 115px;
  overflow: hidden;
}

.audio-touch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 20px;
  cursor: pointer;
}

.audio-track {
  width: 260px;
  height: 4px;
  background-color: #e5e3e3;
}

.time-song {
  width: 0;
  height: 4px;
  background-color: rgb(95, 179, 227);
  cursor: pointer;
}

.play-list {
  text-align: left;
}

.play-item {
  padding: 5px;
  opacity: 0.8;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 300px;
}

.play-item:hover {
  opacity: 1;
}

.item-song {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 300px;
  justify-content: flex-start;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
  color: #8fd5d1;
}
.item-song::before {
  content: '\2713';
  position: absolute;
  left: 10px;
  font-weight: 900;
  margin-left: 10px;
}

.item-active::before {
  color: rgb(10, 140, 214);
}

.item-active {
  color: rgb(10, 140, 214);
}

.player-icon,
.slider-icon,
.change-quote {
  width: 32px;
  height: 32px;
  background-size: 32px 32px;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0;
  outline: 0;
  opacity: 0.8;
  cursor: pointer;
  transition: 0.3s;
}

.player-icon:hover,
.slider-icon:hover,
.change-quote:hover {
  opacity: 1;
}

.player-icon:active,
.slider-icon:active,
.change-quote:active {
  border: 0;
  outline: 0;
  transform: scale(1.1);
}

.play {
  width: 40px;
  height: 40px;
  background-size: 40px 40px;
  margin: 0 10px;
  background-image: url('../svg/play.svg');
}

.pause {
  background-image: url('../svg/pause.svg');
}

.play-prev {
  background-image: url('../svg/play-prev.svg');
}

.play-next {
  background-image: url('../svg/play-next.svg');
}

.container-time-audio {
  width: 300px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-bottom: 5px;
  color: rgb(0, 204, 255);
}

.volume-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.volume-button {
  width: 30px;
  height: 30px;
  background: url('../svg/volume.svg') center no-repeat;
  cursor: pointer;
  background-size: 20px 20px;
  margin-left: 15px;
}

.volume-off {
  width: 30px;
  height: 30px;
  background: url('../svg/volume-off.svg') center no-repeat;
  background-size: 15px 25px;
  cursor: pointer;
}

.volume-container {
  margin-left: 5px;
  width: 100px;
  height: 2px;
  background-color: #e5e3e377;
  transition: 0.3s;
  cursor: pointer;
}

.volume-touch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 20px;
  cursor: pointer;
}

.volume {
  width: 50px;
  height: 2px;
  background-color: rgb(95, 179, 227);
}

.waveform {
  cursor: pointer;
  position: relative;
  padding: 30px;
}

.hover {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  pointer-events: none;
  height: 100%;
  width: 0;
  mix-blend-mode: overlay;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.waveform:hover .hover {
  opacity: 1;
}
.time,
.duration {
  position: absolute;
  z-index: 11;
  top: 50%;
  margin-top: -1px;
  transform: translateY(-50%);
  font-size: 11px;
  background: rgba(0, 0, 0, 0.75);
  padding: 2px;
  color: #ddd;
}
.time {
  left: 0;
}
.duration {
  right: 0;
}

@media (max-width: 500px) {
  .waveform {
    cursor: pointer;
    position: relative;
    max-width: 500px;
    padding: 10px;
  }
  .header {
    padding: 10px 0;
  }
  .item-song {
    width: 200px;
  }
  .volume-button {
    margin-left: 5px;
  }
  .volume-touch-wrapper {
    width: 50px;
  }
}
