#player-container {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: purple;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#player-container:hover {
  animation-play-state: paused;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#player-button.playing {
  animation: rotate 4s linear infinite;
}
#player-button .fa-music {
  color: white;
  z-index: 100000;
  font-size: 24px;
}
#wave {
  position: absolute;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: wave 3s linear infinite;
}
@keyframes wave {
  0% {
    transform: scale(0);
    border: 1px solid rgba(183, 0, 183, 0.9);
  }
  60% {
    transform: scale(0.5);
    border: 10px solid rgba(255, 136, 0, 0.8);
  }
  80% {
    transform: scale(1);
    border: 15px solid rgba(255, 136, 0, 0.6);
  }
  100% {
    transform: scale(1.2);
    border: 20px solid rgba(255, 136, 0, 0.1);
  }
}
#player-controls {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;
  background: linear-gradient(
    -55deg,
    #777777,
    #000000,
    #777777,
    #000000,
    #777777,
    #000000
  );
  background-size: 400% 400%;
  animation: gradient 12s ease infinite;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(0, 0, 0, 0.678);
  border-radius: 100px;
  padding: 20px;  
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.9);
  flex-direction: column;
  align-items: center;
  width: 90px;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#player-controls input[type="file"] {
  display: none;
}
#choose-file-label {
  margin-bottom: 10px;
  cursor: pointer;
}
#progress-bar {
  width: 10px;
  height: 150px;
  background-color: #ffffff;
  border: 1px solid rgba(48, 48, 48, 0.3);
  border-radius: 5px;
  position: relative;
  margin-bottom: 10px;
}
#progress {
  width: 100%;
  height: 0;
  background-color: purple;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
}
#time-display {
  font-size: 14px;
  color: rgb(255, 255, 255);  
  margin-bottom: 3px;
}

.total-duration {
  font-size: 14px;
  margin-top: 3px;
  color: rgb(255, 255, 255);  
  margin-bottom: 10px;
}

#file-name {
  font-size: 12px;
  color: rgb(255, 255, 255);
  margin-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;  
  border-left: 10px solid rgb(0, 0, 0);  
  border-right: 10px solid rgb(0, 0, 0);
  box-shadow: 0px 0px 10px rgb(0, 0, 0);
  width: 100px;
  position: relative;
}

#file-name::before,
#file-name::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;  
  width: 35px; 
  pointer-events: none;
  z-index: 1; 
}

#file-name::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
 
  );
}

#file-name::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 1),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
  );
}

#file-name-text {
  display: inline-block;
  margin: 3px 3px;
  white-space: nowrap;
  animation: marquee 10s linear infinite;
  position: relative;
  z-index: 0; 
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.contbut {
  color: white;
  background-color: purple;
  border: 1px solid purple;
  height: 40px;
  width: 40px;  
  margin-bottom: 10px;
  border-radius: 40px;
}

.contbut :hover {
  color: white;
  border-radius: 40px;
}

.time-divider {
  background-color: white;
  margin: auto;
  width: 70%;
  height: 2px;
  display: block;
}