body {
  font-family: Arial, Helvetica, sans-serif;
}
.player {
  max-width: 400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 100vh;
}
.wrapper {
  border: 1px solid transparent;
  padding: 30px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.track-art {
  margin: 25px;
  height: 220px;
  width: 220px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  -moz-box-shadow: 0px 6px 5px #ccc;
  -webkit-box-shadow: 0px 6px 5px #ccc;
  box-shadow: 0px 6px 5px #ccc;
  -moz-border-radius: 190px;
  -webkit-border-radius: 190px;
  border-radius: 190px;
}
.track-name {
  font-size: 2.2rem;
  font-weight: bold;
}
.track-artist {
  margin-top: 5px;
  font-size: 1.3rem;
}
.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.active {
  color: black;
}
.repeat-track,
.random-track,
.playpause-track,
.prev-track,
.next-track {
  padding: 25px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.repeat-track:hover,
.random-track:hover,
.playpause-track:hover,
.prev-track:hover,
.next-track:hover {
  opacity: 1;
}
.slider_container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.seek_slider,
.volume_slider {
  height: 5px;
  background: #83a9ff;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background: white;
  border: 3px solid #3774ff;
  cursor: pointer;
  border-radius: 100%;
}
.seek_slider:hover,
.volume_slider:hover {
  opacity: 1;
}
.seek_slider {
  width: 60%;
}
.volume_slider {
  width: 30%;
}
.current-time,
.total-duration {
  padding: 10px;
}
.fa-volume-down,
.fa-volume-up {
  padding: 10px;
}
.fa-play-circle,
.fa-pause-circle,
.fa-step-forward,
.fa-step-backward {
  cursor: pointer;
  font-size: 32px;
}
.fa-play-circle {
  font-size: 50px;
}
.rotate {
  animation: rotation 8s infinite linear;
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.loader {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader .stroke {
  background: #f1f1f1;
  height: 50px;
  width: 10px;
  border-radius: 50px;
  margin: 0px 20px;
  animation: animate 1.4s linear infinite;
}
@keyframes animate {
  50% {
    height: 20%;
    background: #4286f4;
  }
  100% {
    height: 100%;
  }
}
.stroke:nth-child(1) {
  animation-delay: 0s;
}
.stroke:nth-child(2) {
  animation-delay: 0.3s;
}
.stroke:nth-child(3) {
  animation-delay: 0.6s;
}
.stroke:nth-child(4) {
  animation-delay: 0.9s;
}
.stroke:nth-child(5) {
  animation-delay: 0.5s;
}
.stroke:nth-child(6) {
  animation-delay: 0s;
}
.randomActive {
  color: #3774ff;
}

/* Responsive web design */
@media only screen and (max-width: 446.9px) {
  .player {
    width: 320px;
  }
  .repeat-track,
  .random-track,
  .playpause-track,
  .prev-track,
  .next-track {
    padding: 20px 15px 0;
  }
  .loader {
    padding-top: 20px;
  }
  .loader .stroke {
    margin: 20px 14px;
  }
}
