body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(to right,#9a1d86, #1595be);
  font-weight: bold;
}
    
.player{
  /* height: 95vh; */
  /* width: 30%; */
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  /* margin-left: -24px; */
}

.wrapper{
  /* width:70%; */
  border: 1px solid transparent;
  padding: 30px;
  border-radius: 20px;
  background-color: #ddd;
  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: 250px;
  width: 250px;
  border:2px solid 	#FFFAFA;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  -moz-box-shadow: 0px 6px 5px black;
  -webkit-box-shadow: 0px 6px 5px black;
  box-shadow: 0px 6px 5px black;
  -moz-border-radius:190px;
  -webkit-border-radius:190px;
  border-radius:190px;
}
    
.now-playing {
  font-size: 1rem;
}

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

/* .buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 30px;
} */
.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Centers the buttons horizontally */
  margin-bottom: 30px;
}

.active{
    color: black;
}

.repeat-track,
.random-track,
.playpause-track,
.prev-track,
.next-track {
  /* padding: 25px; */
  padding: 10px;
  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;
}

.playlist {
  margin-top: 20px;
  padding: 10px;
  background: #222;
  border-radius: 10px;
  color: #fff;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  overflow-y: auto;
  max-height: 200px;
}
.playlist h3 {
  text-align: center;
  margin-bottom: 10px;
}
.playlist ul {
  list-style: none;
  padding: 0;
}
.playlist li {
  padding: 10px;
  border-bottom: 1px solid #444;
  cursor: pointer;
  transition: 0.3s;
}
.playlist li:hover {
  background: #444;
}
.top-buttons {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  cursor: pointer;
}

.back-track {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
  color: white;
}

.back-track i {
  font-size: 24px;
}
    
