/* black theme */
/*font*/
@font-face {
font-family: 'JetBrains';
src: url('/fonts/JetBrainsMono.ttf');
}

#musicplayer{ 
    font-family: 'JetBrains', monospace;
    font-weight:bold;
    height:37px;
    width:100%;
    left:0;
    bottom:0;
    position:fixed;
    margin-top:20px;  
    display:flex;
    background: linear-gradient(45deg,#41896b7c,#36728370);  
}
 
.songtitle{ 
    display:block;
    padding:2px; /* padding around song title */
    margin-top:4px;
    margin-right: 5px; 
    font-family: "JetBrains", monospace;
    font-size:15px;
    color:black;
    letter-spacing: 1px; 
}
 
.controls{
    height: 37px;
    font-family: 'JetBrains';
    font-size:12px; /* size of controls */
    text-align:center;
    width:100px;
    height:20px;
    text-decoration:none;
    filter: drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(-2px 0 0 white) drop-shadow(0 -2px 0 white)  drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black) drop-shadow(0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);
}
 
.controls td{
    padding-top:5px; /* padding around controls */
}

.seeking{
    height: 37px;
    width:75%;
    background: transparent;/* background color of seeking bar */
    display:flex;
    justify-content: space-evenly;
    padding:7px; /* padding around seeking bar */
}
 
.current-time{  
    padding-right:5px;
    margin-right: 3px; 
    font-family:'JetBrains', monospace;
    filter: drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(-2px 0 0 white) drop-shadow(0 -2px 0 white)  drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black) drop-shadow(0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);
    
}
 
.total-duration{
    padding-left:5px;
    font-family:'JetBrains', monospace;
    filter: drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(-2px 0 0 white) drop-shadow(0 -2px 0 white)  drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black) drop-shadow(0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);
}
.ctrlimg {
    height:16px;
    width:16px;
}
.ctrlimg:hover{
    cursor:help;
}

input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px; /* thickness of seeking track */
    cursor: help;
    border-radius: 6px;
    background: black; /* color of seeking track */
    border: 1px white solid;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px; /* thickness of seeking track */
    cursor: help;
    border-radius: 6px;
    background: black; /* color of seeking track */
    border: 1px white solid;
}

input[type=range]::-webkit-slider-thumb {
    height: 30px; /* height of seeking square */
    width: 20px; /* width of seeking square */
    background-image:  url('https://file.garden/Zztv0a9yEhr5pmEq/tumblr_40786d3985453eb5412348aad980ac51_3a9a1088_1280%20(1).gif'); /* image of  seeking square */
    background-size: 25px;
    -webkit-appearance: none;
    margin-top: -10px;
}
    
input[type=range]::-moz-range-thumb {
    height: 30px; /* height of seeking square */
    width: 20px; /* width of seeking square */
    background-image:  url('https://file.garden/Zztv0a9yEhr5pmEq/tumblr_40786d3985453eb5412348aad980ac51_3a9a1088_1280%20(1).gif'); /* image of  seeking square */
    background-size: 25px;
    background-color: transparent;
    border: none;
    -moz-appearance: none;
    margin-top: -10px;
}

input[type=range].volume_slider::-webkit-slider-runnable-track { 
    background: white; /* color of volume seeking track */
     filter:drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black) drop-shadow(0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);  /* outline of volume seeking track */ 
}
    
input[type=range].volume_slider::-moz-range-track { 
    background: white; /* color of volume seeking track */
    }
    
input[type=range].volume_slider::-webkit-slider-thumb {
    background-image: url(https://file.garden/Zztv0a9yEhr5pmEq/798d7d72_original.png);/* image of volume seeking square */
    background-size: 20px;
    height: 20px; /* height of volume seeking square */
    width: 20px; 
}

input[type=range].volume_slider::-moz-range-thumb {
    background-image: url(https://file.garden/Zztv0a9yEhr5pmEq/798d7d72_original.png);/* image of volume seeking square */
    background-size: 20px;
    background-color: transparent;
    border: none;
    height: 20px; /* height of volume seeking square */
    width: 20px; 
    margin-top: -10px;
}


.slider_container {  
  height: 37px;
  width: 15%;       /* width of volume seeker */
  display: flex;
  justify-content: center;
  align-items: center;
}    


/* Marquee */
    
.marquee-container {
  width: 100%;
  height: 37px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee-outer {
    height: 37px;
    background-color: rgba(255, 255, 255, 0.397);
    border-radius: 6;
    max-width: 250px;
}

/* Album cover */
.album-cover {
  width: 37px;
  height: 37px;
  object-fit: cover;
}

/*MP mobile handling*/
@media (max-width: 767.98px) {
  /* Hide volume slider container */
  .slider_container {
    display: none;
  }

  /* Stack the seek bar on its own row */
  .seeking {
    width: 100%;
    padding-top: 4px;
    justify-content: space-between;
  }

  .marquee-outer {
    flex: 1;
    max-width: calc(100% - 137px);
    }

  /* Optional: reduce spacing/padding */
  #musicplayer {
    flex-wrap: wrap;
    height: auto; /* let height adjust to stacked layout */
  }
}