:root{
    --bild-url: url('small.jpg');
    --color-strong: rgba(30, 118, 186 ,1);
    --color-light: rgba(30, 118, 186 ,0.3);
    --color-more-light: rgba(30, 118, 186 ,0.2);
    --btn-size: 60px;
  }
  
  *{
      user-select: none;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
    font-family: 'Cairo', sans-serif;
  }
  
  html, body {
    width: 100%;
    height: 100%;
    font-size: 16px;
    overflow: hidden;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  }
  
  body{
      margin: 0px;
      padding: 0px;
  }

  #logo {
    color: white;
    background-color:#343a40!important;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    line-height: 2;
    padding: 8px;
    height: 56px;
}

  #logo-name {
    font-size: 36px;
    font-weight: 400;
    left:0;
    right:0;
    margin:auto 0;
    text-align: center;
    position: absolute;
    z-index: 100;
}


  
  .hidden{
    display: none !important;
  }
  
  #previous-audio-player{
    font-size: 5px !important;
    outline: none;
    width: 90%;
    height: 40px;
  }

  #image{
    background: var(--bild-url);
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-size: cover;
    width: 100%;
    height: 150px;
    position: relative;
  }

/*#image{
    background-image:url('small.jpg');
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-size: cover;
    height: 150px;
    width: 100%;
    position: relative;
    
  }*/

  #footer {
    text-align: center;
    color: black;
    width: 100%;
    margin-bottom: 10px;
    position: absolute;
    bottom: 0;
    z-index: 999;
    
}	
  
  /*---------------- breiter Bildschirm -----------------------*/
  @media screen and (min-width: 200px) {
    #bg{
        height: 100vh;
        width: 100%;
        position: absolute;
        overflow: hidden;
    }
    #bg #bg-pic{
      background: var(--bild-url);
      background-size: cover;
        height: 120vh;
        width: 105%;
        -webkit-filter:blur(15px);
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 1;
    }
    #blackLayer{
        height: 100vh;
        width: 100%;
        background-color: rgba(252, 249, 249, 0.2);
        position: absolute;
        z-index: 99;
    }
  
    #main{
        width: 300px;
        background-color:rgba(255,255,255,0.9);
        border-radius: 15px;
        position: absolute;
        top:50%;
        left: calc(50% - 150px);
        transform: translate(0,-50%);
        z-index: 999;
        opacity: 1;
    }
  
    #content{
      display: flex;
      flex-direction: column;
      position: relative !important;
    }
  
    #image{
      width: 300px;
      margin-top: -5px;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }
  
    .player-content{
      max-height: 300px;
    }
  }
  
  /*------------------------ kleiner Bildschirm ------------------*/
  @media screen and (max-width: 600px) {
  
    #logo-name {
        display: none;
    }
    #main{
      display: flex;
      flex-direction: column;
      max-width: 90%;
      height: 80%;
      background-color:rgba(255,255,255,0.7);
      overflow: hidden;
      margin-top: 30px;
    }
  
    #image{
      display: flex;
      height: 30%;
    }
  
    #content{
      height:100%;
    }
  }
  
  .player-container{
    display: flex;
    width: 50%;
    flex-direction: column;
    height: 60%;
    border-radius: 15px;
  }
  
  .player-content{
    overflow-y: auto;
    overflow-x: hidden;
    padding: none;
    margin: none;
    
  }
  
  .player-header{
    width: 100%;
    padding-bottom: 10px;
  }
  
  .player-controls{
      display: flex;
      align-items: center;
      flex-direction: column;
  }
  
  #previous-player{
    height: 100%;
  }
  
  #playlist{
    display: flex;
    flex-direction: column;
  
    height: 100%;
    list-style: none;
    padding:0;
    margin: 0 2px;
  }
  
  #playlist li{
    text-align: center;
    padding: 5px 5px;
    margin: 0 0 2px 0;
    border-radius: 10px;
    font-weight: bold;
    background: none;
    color: #737373;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0); 
  }
  
  #playlist li.ordner{
      text-align: left;
  }
  
  #playlist li.ordner > span {
      padding-right: 15px;
  }
  
  #playlist li.active{
    color: var(--color-strong);
    border: 2px solid var(--color-strong);
    background: var(--color-more-light);
  }
  
  #playlist li:hover, #playlist li:focus{
    background: var(--color-more-light);
    transition: .4s all ease-out;
  }
  
  .player-container{
    color:#333;
    width: 100%;
  }
  #caption{
      position: absolute;
      bottom:5px;
      left: 5px;
      width:100%;
      font-size: 18px;
      color: white;
  }
  #buttons{
      width: 100%;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-bottom: 20px;
  }
  #play{
      width: var(--btn-size);
      height: var(--btn-size);
      border: 0;
      background-color:var(--color-strong);
      border-radius: 50%;
      outline: none;
      cursor: pointer;
      color: white;
  }
  .play-animation{
    animation-name: puls;
    animation-duration: .3s;
  }
  
  @keyframes puls {
      0% {  height: calc(var(--btn-size));            width: calc(var(--btn-size)) }
      20%   {  height: calc(var(--btn-size) + 5px);   width: calc(var(--btn-size) + 5px) }
      60%   {  height: calc(var(--btn-size) - 2px);   width: calc(var(--btn-size) - 2px) }
      100% { height: calc(var(--btn-size));           width: calc(var(--btn-size)) }
  }
  
  /* ----------------------- BUTTONLEISTE -----------------------------*/
  .btn-group-type{
    position: relative;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
  }
  
  .btn-group-type button{
    position: relative;
    width: 100%;
    line-height: 28px;
  
    background: inherit;
    border: 0px;
      outline: none;
    transition: .2s all ease-out;
  }
  
  .btn-group-type button:hover:not(.active){
      background: var(--color-light);
      color: black;
    transition: .2s all ease-out;
  }
  
  .btn-group-type button.active{
    background: var(--color-light);
    font-weight: bold;
    transition: .2 all ease-out;
  }
  
  .btn-marker{
    display: inline-flex;
    position: absolute;
    left:-5px;
    top: calc(5%);
  
    height: 40%;
    width: 10px;
    border-radius: 1rem;
    background: var(--color-strong);
    transition: .3s all ease-in-out;
  }
  
  .btn-marker-previous{
    top: calc(50% + 5%);
  }
  
  #btn-type-previous > span {
      padding-right: 10px;
  }
  
  /* -------------- Eigene Scrollbar --------------*/
  /* width */
  ::-webkit-scrollbar {
   width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
   background: #f1f1f1;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
   background: #888;
   border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
   background: #555;
  }
  
  /* -------------- Audio Error --------------*/
  .error {
      text-align: center;
      color: red;
  }