@font-face {
    font-family: "font";
    src: url(font.ttf);
}
*:not(.ui-slider-range) {
    margin: 0;
    padding: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    box-sizing: border-box;

}
body {
    background-color: black;
    font-family: "font";

}



.BG{
    height:100vmin;
    width:100vmin;
    z-index: 10;
    position: absolute;
}

.UIshade{
    display: block;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.4));
    width:100vw;
    height:50vh;
    bottom:0px;
}








.CRY_container {
    margin: 0px;
}
.CRY_player {
    background: url("cover.jpg") no-repeat #111111;
    background-size: contain;

    position: relative;

    z-index: 2;
    display: block;
    overflow: hidden;
    height:100vmin;
    width:100vmin;

}
/* Container for the top-level controls */
.CRY_controls {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    
    /* Lay them out horizontally, centered */
    display: flex;
    align-items: center;
    justify-content: center;
  
    /* For breathing room if needed */
    gap: 2vw; /* space between .play/.pause and the volume slider */
  }
  
  /* Play/Pause icons, each sized nicely */
  .CRY_controls .play,
  .CRY_controls .pause {
    width: 9vmin;  /* Adjust as desired */
    height: 9vmin;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;  
  }
  
  /* Example background images (assuming you have them) */
  .CRY_controls .play {
    background: url("Play.svg") no-repeat center;
  }
  .CRY_controls .pause {
    background: url("Pause.svg") no-repeat center;
    display: none; /* hidden until playing */
  }
  
  /* The volume wrapper: ensures the slider can be clicked. 
     Position: relative if you like, or just let it flow in the row. */
  .volume-wrapper {
    position: relative;
    z-index: 9999;       /* ensure it’s above any overlapping elements */
  }
  
  /* The input range is rotated vertically */
  #volumeSlider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    width: 80px;         /* “height” of slider pre-rotation */
    height: 6px;         /* thickness of track */
    transform: rotate(-90deg);
    transform-origin: center;
    
    background: #888;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
  }
  
  /* Thumb for Chrome/Safari/Edge */
  #volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #333;
    cursor: pointer;
  }
  /* Thumb for Firefox */
  #volumeSlider::-moz-range-thumb {
    width: 16px; height: 16px; 
    border-radius: 50%; background: #fff; 
    border: 2px solid #333; cursor: pointer;
  }
  /* Thumb for old IE/Edge (non-Chromium) */
  #volumeSlider::-ms-thumb {
    width: 16px; height: 16px; 
    border-radius: 50%; background: #fff; 
    border: 2px solid #333; cursor: pointer;
  }
  
  
  
  
  


















/* Adjust the position so the tooltip appears BELOW the connect text
   and doesn't get cut off. */
   #connectBtn {
    position: relative; 
    cursor: pointer;
    font-size: 2vmin;
    margin-top: 1em;
    text-align: center;
  }
  
  /* The tooltip text */
 .hover-text {
    display: none;
    position: absolute;
    z-index: 9999;
    top: 105%;                   /* appear just below the button */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #ccc;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 1.5vmin;
    max-width: 20vw;            /* limit width so it doesn’t overflow */
    white-space: normal;        /* allow wrapping */
    pointer-events: none;       /* prevents flicker/overlay issues */
    text-align: center;
  }
  
  /* On hover, show the tooltip */
  #connectBtn:hover .hover-text {
    display: block;
  }
  

/* Hide connect button entirely when needed */
#connectBtn.hidden {
  display: none;
}

/* #ownershipStatus ephemeral text can appear/disappear. 
   #status remains visible with "Click [+]" message. */
#status {
  margin-top: 1em;
  /* visible at all times unless you want a different approach */
}

#ownershipStatus {
  margin-top: 0.5em;
  color: rgb(255, 255, 255);
}


.title {
  color: #FFFFFF;
  font-size: 4vmin;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  /* Remove display: flex; */
}

.subtitle {
  color: #ccc;
  font-size: 3vmin;

  position: absolute;
  bottom: 6%; /* Slightly above the bottom relative to title */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: none; /* hidden by default */
}



.pl {
    background: transparent url("PlaylistOpen.svg") no-repeat;
    cursor: pointer;
    height: 7vmin;
    right: 4%;
    position: absolute;
    top: 4%;
    width: 7vmin;
    fill:black;
}
.pl:hover {
    fill:grey;
}


.timeline{
    width:90%;
    height:1px;
    position: absolute;
    bottom: 25px;
    left: 5%;
}
.hitplay{
  z-index: 11;
  width: 60%;
  height: 10%;
  background-color: black;
  opacity: 0.7;
color: white;
  border-radius: 6px;
  opacity: 0.7;
  font-size: 5vmin;

        align-items:center;
        justify-content:center;
}
.hitplay:hover{
    cursor: pointer;
  width: 70%;
  height: 15%;
  background-color: black;
  border-radius: 15px;
  font-size: 6vmin;
  color: white;
  opacity: 0.6;

  background: linear-gradient(231deg, #425b99, #67462f, #6c3c3c, #610e0e, #0e1761, #610e0e);
   background-size: 1200% 1200%;

   -webkit-animation: AnimationName 8s ease infinite;
   -moz-animation: AnimationName 8s ease infinite;
   -o-animation: AnimationName 8s ease infinite;
   animation: AnimationName 8s ease infinite;
}

@-webkit-keyframes AnimationName {
   0%{background-position:0% 90%}
   50%{background-position:100% 11%}
   100%{background-position:0% 90%}
}
@-moz-keyframes AnimationName {
   0%{background-position:0% 90%}
   50%{background-position:100% 11%}
   100%{background-position:0% 90%}
}
@-o-keyframes AnimationName {
   0%{background-position:0% 90%}
   50%{background-position:100% 11%}
   100%{background-position:0% 90%}
}
@keyframes AnimationName {
   0%{background-position:0% 90%}
   50%{background-position:100% 11%}
   100%{background-position:0% 90%}
}
.playhead {
    height: 14px;
    bottom: 0px;
    cursor: pointer;
}
.ui-slider {
    height:10px;
    background-color: #ffffff33;
    text-decoration:none;
    text-align:center;
    border-radius: 5px;
    border:none !important;
}
.ui-slider-handle {
    background: url("Timeline_Status.svg") no-repeat !important;
    height: 14px;
    width: 14px;
    bottom: 22px;
    text-decoration:none;
    border:none !important;
    display:none;
}

.showpl{
    visibility: visible !important;
    right:0px !important;
}

.playlist {
  position: absolute;
  top: 2vh;
  right: 0;
  color: white;
  border-radius: 15px;
  margin: 25px 0 0 0;      /* top, right, bottom, left margin */
  padding: 15px 10px 10px 10px;
  z-index: 999;
  width: 30vmin;
height: 100%;     /* or px if you prefer */
  font-size: 2vmin;
  overflow: auto;
  overflow-x: hidden;
  display: none;          /* or 'visibility: hidden' if you prefer */
}

/* Scrollbar styling */
.playlist::-webkit-scrollbar-track {
  border: 1px solid #000;
  padding: 2px 0;
  background-color: #404040;
}
.playlist::-webkit-scrollbar {
  width: 10px;
}
.playlist::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #737272;
  border: 1px solid #000;
}

/* The unordered list and list items */
.plul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.plul li {
  cursor: pointer;
  margin: 0 0 10px 15px;
}

/* Variation button and dropdown */
.variation-btn {
  margin-left: 10px;
  cursor: pointer;
  color: cyan;
}
.variation-dropdown {
  display: none;
  margin-left: 5px;
}

.plul li:hover {

  background: linear-gradient(270deg, #f3fcab, #ddd452, #d78d25, #d5a293, #a36161, #e1a193, #ead1a0, #f3f6c4);
   background-size: 1600% 1600%;

-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: anim 15s ease infinite;
     -moz-animation: anim 15s ease infinite;
     animation: anim 15s ease infinite;
}

@-webkit-keyframes anim {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@-moz-keyframes anim {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes anim {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
.plul li.active {
    font-weight: bold;
    background: linear-gradient(270deg, #abf4fc, #52addd, #2587d7, #93b2d5, #6181a3, #93b3e1, #a0cbea, #c4f4f6);
    background-size: 1600% 1600%;

  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: anim 15s ease infinite;
     -moz-animation: anim 15s ease infinite;
     animation: anim 15s ease infinite;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
