
html {
  margin: auto;
  background-color: #3d3d3d;
  touch-action: none;
}
 html, body { overflow-x: hidden; overflow-y: auto;} body { position: relative; } 

body {
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  
  background-color: rgb(22, 21, 21);  
}


.btn-style {
  background-color: #e9e6e617;
  border: 1px solid #9c99992d;
}
.text-highlight {
  color: #8dee80;
}
.text-accent {
  color: rgb(243, 141, 247);
}
.text-lighter {
  color: rgb(172, 172, 172) !important;
}
.border-accent {
  border-color: rgb(243, 141, 247) !important;
}
.bg-highlight {
  background-color: #7beb6d !important;
}
.bg-accent {
  background-color: rgb(95, 18, 105) !important;
}
.bg-accent-subtle {
  background-color: rgb(236, 182, 243);
}
.bg-accent-subtle-frost {
  background-color: rgba(187, 243, 182, 0.507);
}
.border-bottom-frost {
  border-bottom: 1px solid #9c99992d;
}
  #root {
    /* background-color: rgb(22, 21, 21); */
    min-height: 100vh;
    height: fit-content;
    min-width: 100%;
    max-width: 42rem !important; 
    padding: 10px;
  }

  .playlist {
    display: flex;
    justify-content: center;
    background-color: rgb(19, 18, 18); 
    overflow-y: scroll;
    border: .1px solid #1b0618ec;
    transition: padding-right .2s ease-out;
    
  }


  .now-playing {
    
    background-color: rgba(36, 26, 36, 0.616);
    padding: 0px;
    width: 98%;
    text-align: center;
    position: fixed;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    padding-bottom: 15px;
    z-index: 1002;
    border: 2px solid #e9e9e90e;
    border-radius: 20px 20px 0 0 !important;
  }

  #now-playing-wrapper {
    background-size:cover;
    background-position: center;
    opacity: .8;      
    height: 19.5vh;
    filter: blur(10px);
    -webkit-filter: blur(10px);   
    margin-top: 10px;
  }


  .mini-nav-bar {
    width: fit-content;
    padding: 0;
    border-radius: 4px;
    position: absolute !important;
    left: 6px; 
    bottom: 0px;
  }
  .fullscreen-bar {
    width: fit-content;
    padding: 0;
    border-radius: 4px;
    position: absolute !important;
    right: 6px; 
    bottom: 0;
  }

  /* width @media  */
   @media screen and (max-width: 845px) {
      *{
          font-size: calc(.8rem + .5vw);
          max-width: 500px;

      }
   }

  @media screen and (min-width: 845px) {
        *{
          font-size: calc(1rem + .1vw);
          font-weight: 500;
      }
      html {
        background-color: rgba(77, 75, 77, 0.918);
      }
      * {
        max-width: 530px;


      }

   }

   /* hieght @media  */
    @media screen and (max-height: 845px) {

      .playlist {
        padding-top: 50px;
        height: 72vh;
      }
      .now-playing {
        height: 28vh;        
      }
      #now-playing-wrapper {   
        height: 28vh;
      }

    }

    @media screen and (min-height: 845px) {
      body {
        font-size: calc(.8rem + .6vw);
      }
      .playlist {
        height:77vh;
        }
      .now-playing {
        height: 23vh;        
      }
      #now-playing-wrapper {   
        height: 23vh; 
      }
      .mini-nav-bar {

        bottom: 25px;
      }
    .fullscreen-bar {

      bottom: 25px;
    }
    }

      .track {
        display: grid; 
        grid-template-columns: 1fr 6fr;
        align-items: center; 
        border-radius: 5px;
        margin-bottom: 5px; 
        column-gap: 5px; 
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, .3); 
        padding: 6px; 
        border-bottom: 1px solid #9c99992d;
        /* background-color: rgba(12, 3, 10, 0.205);
        background-color: #e9e6e617;
        border: 1px solid #9c99992d; */
        color: white;
        cursor: default !important;
        user-select: none !important;
      }
      .track:hover {
        background-color: rgba(107, 105, 105, 0.03);
        cursor: pointer;
      }

      .track img {

        border-radius: 2px;
        box-shadow: 0 0 4px 0 rgba(235, 231, 231, 0.151); 
      }
      .track div h5 {
        font-size: 15px; 
        color: rgb(255, 254, 254);
        /* text-transform: capitalize !important; */
        /* text-transform: lowercase !important; */
        width: 100%;

      }
      .track div small b button {
        color: rgb(199, 193, 193) !important;
      }
      .bg-purple {
        background-color: rgb(95, 18, 105);
      }
      .track div h5 span{
        float: inline-end;
        background-color: rgb(95, 18, 105);
        font-size: 10px !important;
        color: white;
        padding: 1px 10px;
        border-radius: 45px;
        font-size: 13px;
        text-transform: uppercase;
        font-weight: 700;
      }
      .track-album-btn {
        background-color: transparent;
        border: 0;
        color: rgb(43, 227, 252);
        text-align: start;
      }
      #notification {
        background-color: rgb(249, 255, 163);
        font-weight: 700;
        height: auto;
        position: fixed;
        width: 100%;
        text-align: center;
      }
      #play, #previous, #next {
        width : 80px;
        text-align: center;
      }

      .btn-main {
        color: white;
        background-color: transparent;
        border: 0;
        font-weight: 600;
        width: 30px !important;
        padding: 0;
        margin: 0;
      }
      .btn-toolbar {
        background-color: rgba(245, 239, 239, 0.062);
        background-color: transparent;
        color: white;
        font-weight: 500;
        /* border-radius: 5px; */
        border: 0;
        /* margin-right: 4px; */
        padding: 3px 11px;
        margin-top: 2px;
      }
      .toolbar-menu {
        list-style: none;
        color: white;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-around;
        margin-bottom: 1px;
      }
      #toolbar{      
        background-color: rgb(7, 1, 7);
        display: flex;
        justify-content: space-between;
        align-items: bottom;
        height: 10%;
        top: 0;
      }

      
      .active-track {
        background-color: rgba(225, 161, 231, 0.041);
        box-shadow: 0 0 8px 0 rgba(161, 159, 159, 0.055);
        border: 1px solid #181717;
      }

      .now-playing img {
        border-radius: 50%;
        height: 60px;
        width: 60px;
        margin-left: 8px;
        margin-top: 15px;
        box-shadow: 0 0 4px 0 #333;

      }
      #now-playing-text {
        height: 90px !important;
        width: 100%;
        user-select: none;
        background-color: #e9e6e617;
        border: 1px solid #9c99992d;
        border-radius: 50px;
        padding: 8px;
        color: #fff;
        margin-bottom: 5px;
      }
      .genre-item, .artist-item {
        list-style: none;
        /* display: grid; */
        /* background-color: #e9e6e617; */
        border-bottom: 1px solid #9c99992d;
        width: 100%;
        /* border-radius: 5px; */
        margin-bottom: 3px;
        text-align: left;
        padding-right: 10px !important;
        width: 90%;
      }

      .album-item {
        list-style: none;
        display: flex;

        background-color: #e9e6e617;
        border: 1px solid #9c99992d;
        width: 100%;
        padding: 1px;
        border-radius: 5px;
        margin-bottom: 3px;
        text-align: left;
        padding-right: 60px !important;
      }
      .album-btn:hover {
        color: #c4d6eb;
      }
      .btn-item {
        background-color: transparent;
        color: white;
        border: 0;
        text-align: left;
        margin-bottom: 2px;
      }
     .notify {
        position: fixed;
        left: 50%;
        transform:  translateX(-50%);
        z-index: 99559;
        padding: 10px 12px;
        border-radius: 2px;
        box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.2);
        font-size: 16px;
        font-weight: bold;
        max-width: 95%;
        min-width: 310px;
        width: 450px;
        top: 8%;
        line-height: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
  


.now-playing-full {
  height: 100vh;
  opacity: 1;
  background-color: #141414;
  justify-content: center !important;
  border: 0;
  animation: slideInAndExpand .3s ease-in; 
  border-radius: 0 !important;
  
}
.now-playing-minimize {
  animation: fade .8s ease-out forwards; 
}

.now-playing-wrapper-full {
  opacity: 1 !important;
  height: 100vh !important;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  border-radius: 0 !important;
  
}
.now-playing-img-full {
  max-width: 400px !important;
  max-height: 400px !important;
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  margin-top: 2% !important;
  margin-bottom: 10% !important;
  border-radius: 10px !important;
  box-shadow: 0 0 6px 0 #ffffff0e !important; 
  padding: 2px 4px;
  animation: slideInDown .8s ease-out forwards; 
  
}
.now-playing-control-full {
  display: flex;
  flex-direction: column;
}


@keyframes slideInDown {

  from {
  
    opacity: 0;
    width: 10%;

  }
  to {
    opacity: 1;
    height: 23vh;
    width: 100%;
    bottom: 0;
    
  }
}

@keyframes slideInAndExpand {

  0% {
    bottom: 0;
    transform: scaleY(0.01);
    opacity: 0;
    transform: translate(0, 100vh); 
    width: 10% !important;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
    transform: translate(0, 0vh); 
    width: 100%;
  }
}
@keyframes fade {

  from {
  /* transform: scaleY(.9); */
    opacity: 0;

  }
  to {
    /* transform: scaleY(1); */
    opacity: 1;  
  }
}



.avatar-stack {
  display: flex; 
}
.avatar {
  position: relative;
  border: 1px solid #31313150;
  border-radius: 50%;
  width: 90px; 
  height: 90px;
  object-fit: cover; 
  box-shadow: 0 0 5PX 0 rgba(0, 0, 0, .3);
  
}

.avatar:not(:first-child) { 
  margin-left: -40px; 
  /* animation: slideInAndExpand .2s ease-out forwards;  */
}

.more-badge {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: 2px solid rgb(230, 158, 236);
  background-color: rgb(230, 158, 236);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #242323;
  margin-left: -15px;
  position: relative;
  top: -5px;
  right: -4px;

}


.queue-fullscreen {
  cursor:pointer; 
  height:500px;
  overflow-y:scroll;
  text-align: start;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2.5rem;
  animation: fade .2s ease-in; 
  user-select: none;
}
.queue-fullscreen-close-btn {
  position: absolute;
  top: 20%h;
  right: 28px;
}
.queue-item {
  background-color: transparent;
  color: #e2dede;
  padding: 8px;
  margin-bottom: 3px;
  border-bottom: 1px solid #9c99992d;

}

.queue-active {
  background-color: #e7e7e709;
}

#search-query, #playlist-input-name{
  font-size: 17px !important;
  border-radius: 15px;
  width: 88% !important;
  color: #fff;
  background-color: #4d4b4c41;
  border: 1px solid #9c32971a;
}
#search-query::placeholder {
  color: rgb(243, 141, 247);; 
  opacity: .7; 
}
#search-query:focus{
  background-color: #4d4b4c41;
  border: 1px solid #9c32971a;
}

#search-box{
  height: 100%;
  width: auto;
  overflow-y: scroll;
  background-color: #0c0c0c98;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  margin-bottom: 5px;  
}
#search-results {
  /* background-color: #f7eeee42; */
  height: 100%;
}
.search-header {
  border-bottom: 1px solid #444344;
  margin-bottom: 2px;
  padding: 5px;
}
.search-title {
  border-bottom: 1px solid #8a568a;
  background-color: #c75dc231;
  width: 100%;
  padding: 6px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  border-radius: 5px;
}
.search-item {
  width: 100%;
  list-style: none;
  background-color: #4d4b4c41;
  border: 1px solid #9c32971a;;
  margin-bottom: 4px;
  padding: 5px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 5px;
  user-select: none;
  
}
.search-badge {
  text-transform: uppercase;
  padding-left: 3px;
  font-size: 12px;
  font-weight: 500;
  color: #c2bebe;
}
.search-badge b {
  font-style: italic;
  color: #676d7e;
}



#scroll-to-bar {
  position: absolute;
  z-index: 1000;
  right: 5.3%;
  top: 44%;
  background-color: #e9e6e617;
  border: 1px solid #9c99992d;
  padding: 0px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  font-size: calc(.9rem + .55vw);
  user-select: none;
}
.alphabet-letter {
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 3px;
  width: 100%;
  color: white;
  text-align: center;
  padding: 1px 7px;
  user-select: none;
  color: #ffffff;
}
.alphabet-letter:first-child {
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  
}
.alphabet-letter:last-child {
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}
.alphabet-letter:hover {
  background-color: rgba(29, 20, 31, 0.288);
  color: #9fc8f1;
  cursor: pointer;
  
}
.padding-right-scrollbar {
    padding-right: 50px !important;
    transition: padding-right .2s ease-in-out;
  }
