
/* Main styles */
:root {
  --primary-color: rgb(24, 24, 24);
   --primary-color:#2986cc;
  --primary-background-color: rgb(221, 221, 221);
  --secondary-color: rgb(75, 75, 75);
 /* --secondary-color: #2986cc; */
  --secondary-background-color: rgb(255, 255, 255);
  /* --highlight-color: rgb(255, 85, 1); */
    --highlight-color: #2986cc;

  --box-shadow-color: rgb(201, 201, 201);
  --disabled-button-color: rgb(175, 175, 175);
  --border-radius: 1rem;
}

/* Main Container */
.container-audio {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  
  align-items: center;
  background-color: var(--primary-background-color);
  padding: 1rem;
  border-radius: 1rem;
  /* max-width: 75%; */
  justify-content: center;
}


/* Audio player */
.audio-player {
  width: 100%;
  max-width: 100rem;
  display: flex;
  margin: 2rem 1rem;
  background-color: var(--secondary-background-color);
  border-radius: var(--border-radius);
  box-shadow: 0.2rem 0.2rem 1rem 0.2rem var(--box-shadow-color);
}


/* Audio player */
.audio-player {
  width: 100%;
  max-width: 100rem;
  display: flex;
  margin: 2rem 1rem;
  background-color: var(--secondary-background-color);
  border-radius: var(--border-radius);
  box-shadow: 0.2rem 0.2rem 1rem 0.2rem var(--box-shadow-color);
}

/* Play button */
.play-button {
  background-color: transparent;
  outline: none;
  cursor: pointer;
  border: none;

  /* Reset default button styles */
  /* border-right: inset;
  border-left: none;
  border-top: none;
  border-bottom: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  min-width: 5rem;
  min-height: 5rem; */
}

.play-button-icon{
  /* background-color: transparent; */
  /* outline: none; */
  /* cursor: pointer; */
  border:solid;
  border-radius: 50%;
  padding: 2.5px;
}

/* Main player body, which includes title, waveform, volume and timecode */
.player-body {
  width: 100%;
  padding: 1rem;
}

.audio-item-mgh {
color:crimson;
}

/* Main waveform */
.waveform {
  width: 100%;
  min-height: 6rem;
  padding: 0.5rem 0;
}

/* Controls include volume mute/unmute, volume slider and timecode */
.controls {
  display: flex;
  justify-content: space-between;
}

/* Timecode */
.timecode {
  color: var(--secondary-color);
  min-width: 100px;
  align-content: center;
}

/* Volume */
.volume {
  display: flex;
  align-items: center;
}
.volume-icon {
  cursor: pointer;
}
.volume-slider {
  /* margin: 1rem 1rem; */
  cursor: pointer;

  width: 100%;
  outline: none;
  -webkit-appearance: none;
  background: transparent;
}

/* Custom volume slider */
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 1.5rem;
  width: 1.5rem;
  border: none;
  border-radius: 50%;
  background: var(--highlight-color);
  /* background: var(--disabled-button-color); */
  margin-top: -0.6rem;
}
.volume-slider::-moz-range-thumb {
  -webkit-appearance: none;
  height: 1.5rem;
  width: 1.5rem;
  border: none;
  border-radius: 50%;
  background: var(--highlight-color);
}
.volume-slider::-ms-thumb {
  -webkit-appearance: none;
  height: 1.5rem;
  width: 1.5rem;
  border: none;
  border-radius: 50%;
  background: var(--highlight-color);
}
.volume-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.25rem;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
}
.volume-slider::-ms-track {
  background: transparent;
  border-color: transparent;
  color: transparent;

  width: 100%;
  height: 0.25rem;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
}

/* Muted/disabled volume slider */
.volume-slider[disabled] {
  cursor: not-allowed;
}
.volume-slider[disabled]::-webkit-slider-thumb {
  background-color: var(--disabled-button-color);
}
.volume-slider[disabled]::-moz-range-thumb {
  background-color: var(--disabled-button-color);
}
.volume-slider[disabled]::-ms-thumb {
  background-color: var(--disabled-button-color);
}
.volume-slider[disabled]::-webkit-slider-runnable-track {
  background-color: var(--disabled-button-color);
}
.volume-slider[disabled]::-ms-track {
  background-color: var(--disabled-button-color);
}

