.audio-player {
  /* height: 5px; */
  width: 70%;
  color: #fff;
  font-size: 0.75em;
  display: flex;
  flex-direction: column;
  justify-content: center;

  .timeline {
    background: #ffffff87;
    width: 100%;
    position: relative;
    height: 2px;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 #0008;
    border-radius: 20px;

    .progress {
      /* background: coral; */
      width: 15px;
      height: 100%;
      transition: 0.25s;
      display: flex;
      justify-content: end;
    }
  }

  .controls {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 99;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #fff;
    transition: all 0.5s;

    >* {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .toggle-play {
      &.play {
        cursor: pointer;
        position: relative;
        left: 5px;
        height: 0;
        width: 0;
        border: 7px solid #0000;
        border-left: 13px solid white;

        &:hover {
          transform: scale(1.1);
        }
      }

      &.pause {
        height: 15px;
        width: 20px;
        left: 10px;
        cursor: pointer;
        position: relative;

        &:before {
          position: absolute;
          top: 0;
          left: 0px;
          background: white;
          content: "";
          height: 15px;
          width: 3px;
        }

        &:after {
          position: absolute;
          top: 0;
          right: 8px;
          background: white;
          content: "";
          height: 15px;
          width: 3px;
        }

        &:hover {
          transform: scale(1.1);
        }
      }
    }

    .time {
      display: flex;
      width: 90px;
      opacity: .6;

      >* {
        padding: 2px;
      }
    }

    .volume-container {
      cursor: pointer;

      .volume-button {
        height: 26px;
        display: flex;
        align-items: center;

        .volume {
          transform: scale(0.7);
        }
      }

      position: relative;
      z-index: 2;

      .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%;
        }
      }

      &:hover {
        .volume-slider {
          left: -123px;
          width: 120px;
        }
      }
    }
  }
}

.play-container .pause {
  margin-right: 12px;
}

.audio-player .timeline .progress .progress-dot {
  background: #e09695;
  max-width: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: -5px;
}

.time-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .audio-player .controls:hover {
  height: 45px;
  width: 45px;
} */

.only-play-btn {
  height: fit-content !important;
  margin-top: -6px;
  width: 35px !important;
  margin-right: 10px;
}

.only-play-btn:hover {
  height: fit-content !important;
  margin-top: -6px;
  width: 35px !important;
  margin-right: 10px;
}

@media only screen and (max-width:600px) {
  /* .audio-player {
    .controls.border1 {
      bottom: 60px;
    }
  } */

}