/* Import Fonts */

.speaker-icon {
    top: 50px;
    left: -37px;
    cursor: pointer;
}

#player-container {
  position: relative;
  right: 0;
  left: 0;
  height: 38px;
}


#player-bg-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.5;
  z-index: 2;
}

#player {
  position: relative;
  height: 100%;
  z-index: 3;
}

#player-track {
  position: relative;
  top: -8px;
  width: 100%;
  border-radius: 15px 15px 0 0;
  transition: 0.3s ease top;
  z-index: 1;
}

#player-track.active {
  top: -92px;
}

/* Font Adjustments */
#album-name {
  color: #54576f;
  font-size: 17px;
  font-weight: bold;
  font-family: 'Raleway', sans-serif; /* Bold & Modern for Album Name */
}

#track-name {
  color: #acaebd;
  font-size: 13px;
  margin: 2px 0 13px 0;
  font-family: 'EB Garamond', serif; /* Classic Italic for Song Title */
  font-style: italic;
}

#track-time {
  height: 12px;
  margin-bottom: 3px;
  overflow: hidden;
}

#current-time {
  float: left;
}

#track-length {
  float: right;
}

#current-time,
#track-length {
  color: black;
  font-size: 10px;
  border-radius: 10px;
  transition: 0.3s ease all;
}

#track-time.active #current-time,
#track-time.active #track-length {
  color: #f86d92;
  background-color: transparent;
}

#seek-bar-container,
#seek-bar {
  position: relative;
  height: 4px;
  border-radius: 4px;
}

#seek-bar-container {
  background-color: #c7c7c7;
  cursor: pointer;
}

#seek-time {
  position: absolute;
  top: -29px;
  color: #fff;
  font-size: 12px;
  white-space: pre;
  padding: 5px 6px;
  border-radius: 4px;
  display: none;
}

#s-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0.2;
  z-index: 2;
}

#seek-time,
#s-hover {
  background-color: #3b3d50;
}

#seek-bar {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: #5c4d51;
  transition: 0.2s ease width;
  z-index: 1;
}

#player-content {
  position: relative;
  height: 100%;
  background-color: #fff;
  box-shadow: unset;
  border-radius: 10px;
  z-index: 2;
  display: flex;
  column-gap: 10px;
  padding: 0 10px;
  align-items: center;
}


@keyframes rotateAlbumArt {
  0% {
    transform: rotateZ(0);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

#buffer-box {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 13px;
  color: #1f1f1f;
  font-size: 13px;
  font-family: Helvetica;
  text-align: center;
  font-weight: bold;
  line-height: 1;
  padding: 6px;
  margin: -12px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.19);
  opacity: 0;
  z-index: 2;
}

#album-art img,
#buffer-box {
  transition: 0.1s linear all;
}

#album-art.buffering img {
  opacity: 0.25;
}

#album-art.buffering img.active {
  opacity: 0.8;
  filter: blur(2px);
  -webkit-filter: blur(2px);
}

#album-art.buffering #buffer-box {
  opacity: 1;
}

#player-controls {
  width: 130px;
  /* height: 100%;
  margin: 0 5px 0 141px;
  float: right;
  overflow: hidden; */
}

.control {
  width: 33.333%;
  float: left;
  padding: 0px 0;
}

.button {
    padding: 6px 3px;
    background-color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button i {
  display: block;
  color: #d6dee7;
  font-size: 26px;
  text-align: center;
  line-height: 1;
}

.button,
.button i {
  transition: 0.2s ease all;
}

.button:hover {
  background-color: #d6d6de;
}

.button:hover i {
  color: #fff;
}


.disabled {
    pointer-events: none; 
    opacity: 0.5;         
    cursor: not-allowed; 
}

/* volume icon  */

.volume-container {
    display: flex;
    width: 165px;
}

.range-volume {
    margin-left: 7px;
    padding: 6px 0px;
}

.range-volume input {
    width: 100%;
    /* background-color: #000; */
    height: 4px;
    transform: rotate(180deg);
}

