.audio-player {
    height: 35px;
    width: 177px;
    background: var(--darkbrown);
  
    font-family: 'MS UI Gothic';
    color: white;
    font-size: 14px;
    overflow: hidden;
  
    display: grid;
    grid-template-rows: 6px auto;
    .timeline {
      border-top: 1px dotted var(--darkbrown);
      border-right: 1px dotted var(--darkbrown);
      border-bottom: 1px dotted var(--white);
      background: var(--white);
      width: 100%;
      position: relative;
      cursor: pointer;
      .progress {
        background: var(--darkbrown);
        width: 0%;
        height: 100%;
        transition: 0.25s;
      }
    }
    .controls {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      padding-left: 5px;
  
      > * {
        display: flex;
        justify-content: right;
        align-items: center;
      }
      .toggle-play {
        &.play {
          cursor: pointer;
          position: relative;
          left: 0;
          height: 0;
          width: 0;
          border: 7px solid #0000;
          border-left: 13px solid var(--white);
          &:hover {
            transform: scale(1);
          }
        }
        &.pause {
          height: 15px;
          width: 20px;
          cursor: pointer;
          position: relative;
          &:before {
            position: absolute;
            top: 0;
            left: 0px;
            background: var(--white);
            content: "";
            height: 15px;
            width: 3px;
          }
          &:after {
            position: absolute;
            top: 0;
            right: 8px;
            background: var(--white);
            content: "";
            height: 15px;
            width: 3px;
          }
          &:hover {
            transform: scale(1.1);
          }
        }
      }
      .time {
        display: flex;
  
        > * {
          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: var(--white);
          transition: .25s;
          .volume-percentage {
            background: coral;
            height: 100%;
            width: 75%;
          }
        }
        &:hover {
          .volume-slider {
            left: -123px;
            width: 120px;
          }
        }
      }
    }
  }
.audio-player::selection {
  color: var(--darkbrown);
  background-color: var(--white);
}