#ui-player-controls-grad {
  opacity: 0;
  display: flex;
  align-items: flex-end;
  position: absolute;
  bottom: 0rem;
  width: 100%;
  height: 20%;
  z-index: 500;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

#ui-player-controls {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;

  bottom: 1.5rem;

  gap: 5%;
  padding: 0 4%;

  box-sizing: border-box;
}

#progress-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

/* Custom scrub bar styling */
#progress[type="range"] {
  position: relative;
  -webkit-appearance: none;
  height: 4px;
  width: 100%;
  background: #a491e9;
  border-radius: 2px;
  /* margin: 10px 0; */
}

#progress[type="range"]:hover {
  cursor: pointer;
}

#play-button {
  position: relative;
  margin: 0 auto;
  background-color: none;
  width: 50px;
  height: 50px;
}

#play-button img {
  width: auto;
  height: 100%;
  padding: 0.5rem;
}

#play-button:hover {
  cursor: pointer;
}

#volume-bar-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

#volume-bar {
  -webkit-appearance: none;
  width: 100px;
  height: 4px;
  background: #a491e9;
  border: none;
  border-radius: 5rem;
  cursor: pointer;
}

/* */
/* THUMB STUFF THUMB STUFF THUMB STUFF THUMB STUFF */
/* */

#volume-bar::-webkit-slider-thumb {
  position: relative;
  -webkit-appearance: none;
  width: 8px;
  height: 20px;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

#volume-bar::-moz-range-thumb {
  position: relative;
  width: 8px;
  height: 20px;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
}

#volume-bar::-webkit-slider-thumb:hover {
  position: relative;
  transform: scale(1.2);
}

#progress[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  position: relative;
  width: 5px;
  height: 20px;
  background: #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

#progress[type="range"]::-moz-range-thumb {
  position: relative;
  width: 5px;
  height: 20px;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
}

#progress[type="range"]::-webkit-slider-thumb:hover {
  position: relative;
  transform: scale(1.2);
}
