body {
  font-family: Arial, Helvetica, sans-serif;
  background: #222; /* solid dark grey */
  font-weight: bold;
}

.player {
  height: 95vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.wrapper {
  border: 1px solid transparent;
  padding: 30px;
  border-radius: 20px;
  background-color: #ddd;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 20px 38px,
              rgba(0, 0, 0, 0.22) 0px 20px 12px;

}

.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.track-art {
  position: relative;
  margin: 25px;
  height: 280px;           /* square size */
  width: 280px;
  border-radius: 12px;     /* square with rounded corners */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;       /* vinyl can stick out */
  box-shadow: 0px 2px 8px rgba(0,0,0,0.6);
}

/* Vinyl disc */
.vinyl {
  position: absolute;
  height: 80%;             /* ~30% smaller than the square */
  width: 80%;
  top: 10%;
  left: 50%;              /* push right so ~30% of vinyl sticks out */
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #111 60%, #333 85%, #111 100%);
  animation: rotation 8s infinite linear;
  z-index: 0;
}

/* Album cover */
.cover {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  z-index: 2;              /* sits above vinyl */
  box-shadow: 0px 4px 6px rgba(0,0,0,0.5);
}

/* Only vinyl rotates */
.track-art.rotate .vinyl {
  animation-play-state: running;
}
.track-art .vinyl {
  animation-play-state: paused;
}

@keyframes rotation {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}























.track-name {
  font-size: 2.5rem;
}

.track-artist {
  margin-top: 5px;
  font-size: 1.5rem;
}

.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 30px;
}

.active {
  color: black;
}

.repeat-track,
.random-track,
.playpause-track,
.prev-track,
.next-track {
  padding: 25px;
  opacity: 0.8;
  transition: opacity .2s;
}

.repeat-track:hover,
.random-track:hover,
.playpause-track:hover,
.prev-track:hover,
.next-track:hover {
  opacity: 1.0;
}

.slider_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.seek_slider,
.volume_slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background: #83A9FF;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: white;
  border: 3px solid #3774FF;
  cursor: grab;
  border-radius: 100%;
}

.seek_slider:hover,
.volume_slider:hover {
  opacity: 1.0;
}

.seek_slider {
  width: 60%;
}

.volume_slider {
  width: 30%;
}

.current-time,
.total-duration {
  padding: 10px;
}

i.fa-volume-down,
i.fa-volume-up {
  padding: 10px;
}

i,
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward,
p {
  cursor: pointer;
}

.randomActive {
  color: black;
}

.rotate {
  animation: rotation 8s infinite linear;
}

@keyframes rotation {
  from { transform: rotate(0deg); }
  to { transform: rotate(359deg); }
}

.loader {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader .stroke {
  background: #f1f1f1;
  height: 150%;
  width: 10px;
  border-radius: 50px;
  margin: 0 5px;
  animation: animate 1.4s linear infinite;
}

@keyframes animate {
  50% {
    height: 20%;
    background: #4286f4;
  }
  100% {
    background: #4286f4;
    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.6s; }
.stroke:nth-child(6) { animation-delay: 0.3s; }
.stroke:nth-child(7) { animation-delay: 0s; }
	  
