@import url('https://fonts.googleapis.com/css2?family=Micro+5&display=swap');
*{
  box-sizing: border-box;
}
body, html{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 0 0 0px;
    font-family: 'Micro 5', sans-serif;
    color: #efefef;
    overflow: hidden;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 1);
}
.audioPlayerWrapper {
    position: relative;
    padding: 20px 50px 20px 50px;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, .8);
    /* background: url('grad.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center; */
    overflow: hidden;
  }
  .uiPlayerWrapper{
    width: 100%;
    clear:both;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
  }
  #trackInfo{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row;
    gap: 40px;
    font-size: 45px;
    line-height: 80%;
    z-index: 2;
  }
  #trackPlayhead{
    margin-top: 20px;
  }
  #tracklist{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 40px;
    font-size: 35px;
    line-height: 80%;
    height: 70%;
    overflow: auto;
  }
  .tracklistItem{
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 10px 0px;
    cursor: pointer;
  }
  .tracklistItem *{
    pointer-events: none;
  }
  .deleteMe{
    display: none;
  }
  .uiPlayerWrapper > div{
    width: 100%;
  }
  .audioControls {
    position: relative;
    display: flex;
    align-items: center;
    margin: auto;
    z-index: 2;
    margin-bottom: 5px;
  }
  .audioTimeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 10px;
  }
  .audioTimelineBar {
    position: relative;
    width: calc(100% - 25px);
    height: 100%;
    z-index: 1
  }
  .audioTimelineBarPercentage {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    /* background: #fff; */
    background: url('grad.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: all ease 250ms;
    z-index: 2
  }
  .audioTimelineBar::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1px;
    display: block;
    background: #efefef;
  }
  .audioTimelineBar::after{
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
    background-image: url('tomb.png');
    right: -25px;
    bottom: -10px;
    color: #efefef;
  }
   
  .audioTimelineBarPercentage::after{
    content: '';
    position: absolute;
    right: -20px;
    top: -21px;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40px 40px;
    background-image: url('skelewalk.gif');
    filter: drop-shadow(-5px 0 5px #000) drop-shadow(-8px 0 5px #000);
  }
  .audioTimelineCurrent, .audioTimelineTotal {
    font-size: 28px;
    cursor: pointer;
  }
  
  .audioTimelineCurrent {
    float: left;
    position: relative;
    z-index: 2;
  }
  .audioTimelineTotal {
    float: right;
    position: relative;
    z-index: 2;
  }

  @media (width < 1300px) {
    .audioPlayerWrapper {
      width: 100%;
      height: 100%;
      clip-path: none;
    }
    .uiPlayerWrapper{
    align-items: center;
    }
    #trackInfo{
    flex-direction: column;
    gap: 5px;
    }
  }

  @media (height < 100px) {
    .audioPlayerWrapper {
      width: 100%;
      height: 100%;
      clip-path: none;
      padding: 10px 20px 8px 20px;
    }
    .uiPlayerWrapper{
      height: 100%;
      align-items: flex-start;
      justify-content: flex-start;
      flex-direction: row;
      gap: 60px;
    }
    #tracklist{
      display: none;
    }
    .uiPlayerWrapper > div{
      width: auto;
    }
    #trackInfo{
      width: 100%;
      flex-direction: row;
      padding-top: 3px;
      gap: 60px;
      line-height: 60%;
      flex: 1 1 auto
    }
    #trackInfo > div{
      white-space: nowrap;
    }
    #trackPlayhead{
      width: 200%;
      display: flex;
      justify-content: flex-start;
      gap: 10px;
      align-items: flex-start;
      flex-direction: row;
      flex: 1 1 auto;
      margin-top: 0px;
    }
    .audioTimelineCurrent{
      order: 1
    }
    .audioControls{
      width: 100%;
      order: 2;
      margin-top: auto;
      margin-bottom: auto;
    }
    .audioTimelineTotal{
      order: 3
    }
  }
