:root {
  --blue: #1C77FF;
  --bgcolor: #111111;
}
.player {
  position: fixed;
  overflow: hidden;
  bottom: 0;
  width: 100%;
  justify-content: center;
  z-index: 2;
}

.audio-player {
  height: 60px;
  width: 100%;
  background: #1f1f1f;
  box-shadow: 0 0 20px 0 #000a;
  font-family: "Poppins-Regular";
  color: white;
  

  display: grid;
  grid-template-rows: 2px auto;
  pposition: fixed;
  bottom: 0;
  
}

.timeline {
  background: #666;
  width: 100%;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 #0008;
}

.progress {
  background: #1C77FF;
  width: 0%;
  height: 100%;
  transition: 0.25s;
}

.player-elements{
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  padding: 0 20px;
  align-items: center;
  width: 100%;
}

.player-left-elements{
  display: flex;
  flex-direction: row;
  cursor: pointer;
  padding: 5px;
  align-items: center;
}

.player-left-elements .player-playlist-item-img{
  border-radius: 5px;
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.controls {
  display: flex;
}

.play-container{
  display: flex;
  align-items: center;
}


.pause {
  height: 17px;
  width: 22px;
  cursor: pointer;
  position: relative;
  margin-right: 10px;
}

.pause:before {
  position: absolute;
  top: 0;
  left: 0px;
  background: white;
  content: "";
  height: 17px;
  width: 5px;
}

.pause:after {
  position: absolute;
  top: 0;
  right: 8px;
  background: white;
  content: "";
  height: 17px;
  width: 5px;
}
.pause:hover {
  transform: scale(1.1);
}

.play {
  cursor: pointer;
  position: relative;
  left: 0;
  height: 0;
  width: 0;
  border: 10px solid #0000;
  border-left: 15px solid white;
  margin-right: 10px;
}

.play:hover {
  transform: scale(1.1);
}

.previous{
  margin-right: 25px;
  cursor: pointer;
}
.previous:hover{
  transform: scale(1.1);
}

.previous-img{
  height: 25px;
  width: 25px;
}
.next-img{
  height: 25px;
  width: 25px;
}

.next {
  cursor: pointer;
}

.next:hover {
  transform: scale(1.1);
}

.playlist-img{
  height: 25px;
  width: 25px;
  cursor: pointer;
  margin-right: 10px;
}

.time {
  display: flex;
  align-items: center;
  margin-right: 5px;
}


.volume-container {
  cursor: pointer;  
  position: relative;
  z-index: 2;
  margin-right: 10px;
}

.volume-button {
  height: 30px;
  display: flex;
  align-items: center;
}

.volume {
  transform: scale(0.7);
}

.volume-slider:hover {
  
}
.volume-slider {
  left: -123px;
  width: 120px;
}

.volume-slider {
  position: absolute;
  left: -3px; top: 15px;
  z-index: -1;
  width: 0;
  height: 15px;
  background: white;
  box-shadow: 0 0 20px #000a;
  transition: .25s;
}

.volume-percentage {
  background: coral;
  height: 100%;
  width: 75%;
}

.playlist{
  ppadding: 10px;
  width: 100%;
  background: #1f1f1f;
  box-shadow: 0 0 20px 0 #000a;
  overflow: hidden;
  border-radius: 10px 10px 0px 0px;
}

.player-playlist-conteneur{
  display: flex;
  flex-direction: column;
}

.player-playlist-item-conteneur{
  display: flex;
  flex-direction: row;
  cursor: pointer;
  padding: 5px;
}

.player-playlist-item-conteneur-selected, .player-playlist-item-conteneur-selected span{
  color: #1C77FF;
}

.player-playlist-item-img{
  border-radius: 5px;
  height: 50px;
  width: 50px;
  margin-right: 2%;
}

.player-playlist-item-text{
  display: flex;
  flex-direction: column;
  margin-top: 2px;
}

.player-playlist-item-titre{
  color: #e2e2e2;
}

.player-playlist-item-artiste{
  color: #999;
}

.player-playlist-item-chemin{
  color: #666;
  display: none;
}

.player-playlist-item-hr{
  color: #666;
}

/* Zik player -----------------------------------------*/

.zik-player {
  --player-button-width: 5em;
  --sound-button-width: 2em;
  --space: .5em;
  width: 25rem;
  hheight: 15rem;
}

.audio-icon {
   width: 90%;
   height: 90%;
}

.zik-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.player-button {
  background-color: transparent;
  border: 0;
  width: var(--player-button-width);
  height: var(--player-button-width);
  cursor: pointer;
  padding: 0;
}

.zik-timeline {
  -webkit-appearance: none;
  width: calc(100% - (var(--player-button-width) + var(--sound-button-width) + var(--space)));
  height: .2em;
  background-color: #e5e5e5;
  border-radius: 5px;
  background-size: 0% 100%;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  margin-right: var(--space);
  margin-left: var(--space);
}

.zik-timeline::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all .1s;
  background-color: var(--blue);
}

.zik-timeline::-moz-range-thumb {
  -webkit-appearance: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all .1s;
  background-color: var(--blue);
}

.zik-timeline::-ms-thumb {
  -webkit-appearance: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all .1s;
  background-color: var(--blue);
}

.zik-timeline::-webkit-slider-thumb:hover {
  background-color: var(--blue);
}

.zik-timeline:hover::-webkit-slider-thumb {
  opacity: 1;
}

.zik-timeline::-moz-range-thumb:hover {
  background-color: var(--blue);
}

.zik-timeline:hover::-moz-range-thumb {
  opacity: 1;
}

.zik-timeline::-ms-thumb:hover {
  background-color: var(--blue);
}

.zik-timeline:hover::-ms-thumb {
  opacity: 1;
}

.zik-timeline::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.zik-timeline::-moz-range-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.zik-timeline::-ms-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.sound-button {
  background-color: transparent;
  border: 0;
  width: var(--sound-button-width);
  height: var(--sound-button-width);
  cursor: pointer;
  padding: 0;
}

.zik-time{
  color: #e2e2e2;
  margin: 5px;
}