.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 25px;
  color: white;
  row-gap: 2rem;
}

.track-art {
  margin: 25px;
  height: 250px;
  width: 250px;
  background-image: url("https://images.pexels.com/photos/262034/pexels-photo-262034.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260");
  background-size: cover;
  border-radius: 15%;
}

.now-playing {
  font-size: 1rem;
}



.track-artist {
  font-size: 1.5rem;
}

.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: white !important;
}

.playpause-track, .prev-track, .next-track {
  padding: 14px;
  opacity: 0.8;

  /* Smoothly transition the opacity */
  transition: opacity .2s;
}

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

.slider_container {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white  !important;
}

/* Firefox */
.seek_slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0c2d1c;
  border: none;
}


.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.fa-play-circle, i.fa-pause-circle, i.fa-step-forward, i.fa-step-backward {
  cursor: pointer;
}

.player {
  /* background-image: url("https://cdn.prod.website-files.com/68a69b0e2c20b2d5908fa1aa/68a81701ce10ff2d50138850_philip-martin-5aGUyCW_PJw-unsplash.jpg"); */
  background-position: 50%;
  background-size: cover;
  border-radius: 1.875rem;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: 60%;
  height: 90vh;
  display: block;
  max-width: 500px;
}

.player_blur {
  background-image: linear-gradient(#000000b3 100%, #9c9c9c 100%, #000000b3);
  border-radius: 1.875rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100%;
  display: flex;
}

.player_content {
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 4rem;
  display: flex;
}

.player_content-header {
  flex: 0 auto;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 100%;
}

.player_content-interact {
  flex-flow: column;
  flex: 0 auto;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 100%;
}


@media screen and (min-width: 1920px) {
  
  .player {
    background-position: 50%;
    background-repeat: repeat;
    background-size: cover;
    background-attachment: scroll;
  }

  .track-name-wrapper {
    width: 500px;
  }


}

@media screen and (max-width: 991px) {

  .player {
    width: 90%;
  }
  
}

@media screen and (max-width: 767px) {

  .player {
    width: 100%;
  }

}

.seek_slider  {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    #0c2d1c 0%,
    #0c2d1c var(--seek-before),
    #555 var(--seek-before),
    #555 100%
  );
}

.volume_slider  {
  -webkit-appearance: none;
  /* width: 100%; */
  height: 4px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    #0c2d1c 0%,
    #0c2d1c var(--volume-before),
    #555 var(--volume-before),
    #555 100%
  );
}

/* CERCLE */
.seek_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0c2d1c;
  cursor: pointer;
  border: none;
}

.volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0c2d1c;
  cursor: pointer;
  border: none;
}

/* Firefox */
.seek_slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0c2d1c;
  border: none;
}


.track-name {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

@media screen and (max-width: 767px) {

  .main-container .is-player {
    padding: 0.5rem !important;
    
  }

  .track-name-wrapper {
      width: 300px;
    }

}

.track-name-wrapper {
  max-width: 400px;
  width: 80% ;
  overflow: hidden;     
  position: relative;
  white-space: nowrap;
}

.track-name {
  display: inline-block;
  animation: scroll-text 20s linear infinite;
  animation-delay: 5s;
}

@keyframes scroll-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes spin { to { transform: rotate(360deg); } }
.track-name.marquee { 
    white-space:nowrap;
    display:inline-block;
    padding-left:100%;
    animation-name:scroll-text;
    animation-timing-function: linear;
    animation-iteration-count: infinite; 
  }
