body,html {
    background-color: #77DD77;
    background-image: url("img/backgroundLeaf.png") ;
    background-size: cover; /* Scales the image to cover the element */
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    transition: background .2s ease-in-out;
    user-select: none;
  font-family: "Inter", sans-serif;
      padding: 0;

}

.scene {
    display: none;
    width: 100%;
    height: 100%;

}
.qrCodeHolder {
    position: absolute;
    width: 18%;
    left: 10px;
    bottom: 10px;
    padding: 5px;
    z-index: 500;
}
.qrCodeImg {
    width: 80%;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.screenLogo {
    z-index: 500;
    position: absolute;
    left: 0;
    right: 0;
    top: 15px;
    margin: auto;
}
.screenLogo > * {
    font-size: 30px !important;

}
.column1Fill {
    flex: 1;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 18% !important;
}
.column_1 {
    padding: 5px;
    position: fixed;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18%;
    height: 100%;
}
.displayingPort {
    background: black;
    display: flex;
    position: relative;
    width: 100%;
}

.queueList {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.queueSong {
    position: relative;
    width: 90%;
    height: 50px;
    background: rgba(0, 0, 0, 0.322);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 10px;
    flex-direction: column;
}
.elTopRow2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 50%;
    width: 100%;

}
.elBottomRow2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.appearingText {
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 50px;
    margin: auto;
    text-align: center;
    width: max-content;
    color: rgb(255, 255, 255);
    font-weight: bold;
  -webkit-text-stroke: 5px black;
   paint-order: stroke fill;
    
}
.appearingTextLarge {
    font-size: 50px;

}
.appearingTextSmall {
    font-size: 30px;
}


.subtitle {
    color: #f3f3f3;
    font-size: 20px;
    font-weight: bold;
    opacity: 0.9;
    margin-bottom: 3px;
}
.title {
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    margin: 5px;
}

#scene_user,#scene_createuser {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pinSigning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;

}
.solidLine {
    width: 90%;
    height: 0px;
    border: 1px solid black;
    margin-top: 15px;
    margin-bottom: 10px;

}
.numberInputs {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}
.inputNumber {
    border-radius: 3px;
    background-color: white;
    width: 55px;
    aspect-ratio: 1/1;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.pinNumbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

}
.inputRow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}
.inputInvis {
    width: 80px;
    height: 75px;

}
.inputDelete {
    background: rgb(219, 219, 219) !important;
}
.inputSelect,.inputDelete {
    width: 75px;
    height: 75px;
    background: white;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    justify-content: center;
    font-size: 35px;
    margin: 3px;
    border-radius: 5px;
    transition: all .2s ease-out;
    user-select: none;
    outline: none;
    border: none;
}
.inputSelect:active,.inputDelete:active {
    font-size: 23px;
}
.clicking { 
    background: pink;
}


#scene_usersigned {
    flex-direction: column;
    align-items: center;
}
.karaokeBanner {
    width: 100%;
}
.karaokeBanner2 {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 150px;
}

.tabList { 

  display: flex;
  width: 100%;
  height: 65px;
  background: rgba(0, 0, 0, 0.644);
  color: white;
  text-align: center;
  flex-direction: row;
  align-items: center;
}
.tab {
    flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: all 0.2s ease-in-out;
  -webkit-tap-highlight-color: transparent; /* remove blue flash on mobile */
  outline: none; /* prevent focus outline */
  opacity: 0.5;
}
.tabText {
    font-size: 12px;
    margin-top: 3px;
}
.tabSelected {
    opacity: 1;
}
.tabIcon {
    height: 60%;
    aspect-ratio: 1/1;
}
.warningText {
    display: none;
    color: rgba(255, 255, 255, 0.527);
    font-weight: bold;

}

.tabScene {
  padding: 1rem;
  overflow: auto;
  width: 90%;
  flex-direction: column;
  flex: 1;
}
.addSongTopRow {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 35px;
    display: none;
    width: 100%;
    flex-shrink: 0;
    justify-content: space-evenly;
    margin-top: 5px;

}
.usernameInput {
    height: 30px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border: none;
    outline: none;
    border-radius: 5px;
    width: 80%;
    padding-left: 15px;
    margin-top: 10px;
} 
.submitName {
    height: 40px;
    border: none;
    outline: none;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    font-weight: bold;
    font-size: 20px;
    background: rgb(255, 255, 255);
    margin-top: 15px;

}
.addQueue {
    height: 30px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-weight: bold;
    background: #ffffff;
    width: 120px;
    font-size: 15px;
    margin-right: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.songResultsList {
    width: 100%;
    flex: 1; /* fills all remaining space */
    overflow-y: auto; /* adds scroll bar if content too tall */
}

.showRow {
  max-height: 100px !important; /* adjust depending on your layout */
  opacity: 1 !important;
}


.blurredBackground {
    filter: blur(5px);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.541);
}
.popup,.promptQR {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;

}
.popupBody {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1000;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border-radius: 5px;
    background: white;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: max-content;
}
.popup_title,.popup_title2 {
    margin-top: 20px;
    color: black;
    font-size: 18px;
    text-align: center;
    font-weight: bold;


}
.promptOK {
    background-color: #77dd77;
    background-image: linear-gradient(314deg, #77dd77 0%, #004225 74%);

    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    color: white;
    margin-top: 5px;
}
.popup_bottomRow {
    margin-top: 15px;
    align-items: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-evenly;
    width: 100%;

}
.popup_button {
    outline: none;
    border: none;
    border-radius: 5px;
    width: 150px;
    height: 50px;
    font-size: 18px;
    font-weight: bold;
}
.popup_cancel {
    background: rgb(135 135 135);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    color: white;
    transition: all .2s ease-in-out;

}
.popup_cancel:active {
    background: rgb(252, 113, 113);
}
.popup_affirm {
    background-color: #6a5acd;
    
background-image: linear-gradient(319deg, #5acd8a 0%, #4b84c5 37%, #92be84 100%);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    color: white;
}
.displayingVideo {
    width: 95%;
    
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;

}
.adminOnly {
    display: none;
}
.queueEditIcon {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    right: 5px;

}
.queuePopup {
    position: absolute;
    z-index: 1000;
    background: rgba(24, 24, 24, 0.911);
    border-radius: 5px;
    color: white;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 90%;
    display: none;
    flex-direction: column;
    height: max-content;
    overflow: hidden;
}
.qpSetting {
    height: 60px;
    line-height: 60px;
    font-size: 25px;
    padding-left: 10px;
    border-bottom: 1px solid #97ff8eb2;
}
.qpRed {
    background: rgba(230, 127, 127, 0.932);
}
#qpExit {
    background: rgb(36, 36, 36);
}


.adminControlObject {
    background: rgba(255, 255, 255, 0.62);
    width: 95%;
    border-radius: 5px;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.userListEntry {
    width: 100%;
    font-size: 20px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    
}
.adminControls {
    width: 100%;
    font-size: 20px;
    height: 30px;
    line-height: 30px;
    text-align: center;

}
.musicControls {
    width: 100%;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.336);

}

.adminControlInput {
    width: 90%;
    height: 35px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    outline: none;
    padding-left: 10px;
}
.adminControlRow {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5px;
    justify-content: space-evenly;
}
.adminControlSelectorInput {
    width: 30%;
    height: 35px;
    font-size: 20px;
    text-align: center;
    border: none;
    outline: none;
    border-radius: 5px;
}
.adminControlButton {
    width: 75%;
    height: 35px;
    font-size: 20px;
    margin-top: 5px;
    
}
input, select {
  font-size: 16px !important;
}


.singMode {
    padding: 10px;
    transition: all .2s ease-in-out;
    opacity: 0.5;
    color: white;
}
.active {
    opacity: 1;
    font-weight: bold;
}

.inputSearchContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 3px;
    background-color: white;
    height: 40px;
    width: 90%;
    margin-top: 10px;
    border: 2px solid rgb(207, 207, 207);
    transition: all .1s ease-in-out;
}
.inputSelected {
    border: 2px solid rgb(207, 30, 154);
}
.songTitle {
    
    -webkit-appearance: none;  /* removes iOS default styles */
    appearance: none;
    line-height: normal;       /* stops weird vertical stretching */
    padding: 1px;

    height: 90%;
    border: none;
    outline: none;
    border-radius: 5px;
    flex: 1;
}
.findSongButton {
    height: 70%;
    aspect-ratio: 1/1;
    padding-right: 5px;
    padding-left: 5px;

}



.signed_header {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: #46bb4c;

}
.sideRow {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    height: 35px;
}
.adminControlsHolder {
    height: 30px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    z-index: 500;
}
.adminControlsIcon {
    width: 95%;
    aspect-ratio: 1/1;
    z-index: 500;
}

.logo {
    width: 100%;
    height: 40px;
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}
.logo > img {
    height: 100%;
}
.logoText  {
    font-size: 20px;
    font-weight: bold;
    margin: 1px;

}
.logoBrownText {
    color: #543727;
}
.logoRedText {
    background-image: linear-gradient(
        90deg,
        #a0f5a0,
        #50da50,
        #5cfa4e
    );
    background-size: 300% 300%;
    animation: gradientShift 3s ease-in-out infinite;
    color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.songResultsDiv {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: scroll;
    align-items: center;
}
#currentSong {
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 73px;
    color: white;
    
}
.songListing {
    width: 95%;
    background: rgba(0, 0, 0, 0.322);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 73px;
    color: white;

}
.usersSong {
    border: 2px solid rgba(109, 245, 104, 0.89);

}
.screenQueueObject {
    background: rgba(2, 10, 0, 0.904) !important;

}
.section1,.section3 {
    min-width: 0; /* THIS is the secret */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    height: 100%;
}
.s1IconHolder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    width: 50%;
}
.s1IconAddSong {
    width: 100%;
    height: 100%;
}
.section3 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: max-content;
    height: 100%;
    padding-right: 10px;
}
.s3IconHolder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    aspect-ratio: 1/1;

}
.s3IconFavorite {
    width: 100%;
    height: 100%;
}
.section2 {
    min-width: 0; /* THIS is the secret */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;


}
.s2Div {
    width: 100%;
    min-width: 0; /* THIS is the secret */
    white-space: nowrap;
    overflow: hidden; /* Hides overflowing text */
    text-overflow: clip;
}
.s2TextLight{
    opacity: 0.5;
    font-size: 13px;
}
.s2TextBold{
    font-size: 16px;
}
.s2TextCenter {
    text-align: center;
    width: 100%;
    font-size: 20px;
}


.showNameInput {
    outline: none;
    border-radius: 2px;
    background-color: white;
    height: 40px;
    width: 90%;
    margin-top: 10px;
    border: 2px solid rgb(207, 207, 207);
    transition: all .1s ease-in-out;
}
.inputSelected {
    border: 2px solid rgb(207, 30, 154);

}


.playingLines {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
    width: 65%;
    height: 50%;
}
.playingLine {
    width: 3px;
    background: white;
}
.animation0 {
    animation: bounceRandom0 2.5s infinite linear;
}
.animation1 {
    animation: bounceRandom3 3s infinite linear;
}
.animation2 {
    animation: bounceRandom4 3.5s infinite linear;
}
.animation3 {
    animation: bounceRandom2 3.4s infinite linear;
}
.animation4 {
    animation: bounceRandom1 3.4s infinite linear;
}
@keyframes bounceRandom0 {
    0%   { height: 10%; }
    15%  { height: 75%; }
    30%  { height: 25%; }
    50%  { height: 90%; }
    65%  { height: 40%; }
    80%  { height: 60%; }
    100% { height: 10%; }
}
@keyframes bounceRandom1 {
    0%   { height: 15%; }
    10%  { height: 85%; }
    20%  { height: 30%; }
    30%  { height: 95%; }
    40%  { height: 50%; }
    50%  { height: 75%; }
    60%  { height: 20%; }
    70%  { height: 65%; }
    80%  { height: 35%; }
    90%  { height: 100%; }
    100% { height: 15%; }
}
@keyframes bounceRandom2 {
    0%   { height: 10%; }
    5%   { height: 82%; }
    10%  { height: 33%; }
    15%  { height: 97%; }
    20%  { height: 40%; }
    25%  { height: 73%; }
    30%  { height: 18%; }
    35%  { height: 67%; }
    40%  { height: 28%; }
    45%  { height: 89%; }
    50%  { height: 35%; }
    55%  { height: 92%; }
    60%  { height: 22%; }
    65%  { height: 79%; }
    70%  { height: 30%; }
    75%  { height: 96%; }
    80%  { height: 45%; }
    85%  { height: 60%; }
    90%  { height: 20%; }
    95%  { height: 75%; }
    100% { height: 10%; }
}
@keyframes bounceRandom3 {
  0%   { height: 0%; }
  12%  { height: 38%; }
  27%  { height: 12%; }
  43%  { height: 62%; }
  59%  { height: 28%; }
  74%  { height: 80%; }
  86%  { height: 45%; }
  100% { height: 0%; }
}
@keyframes bounceRandom4 {
  0%   { height: 0%; }
  18%  { height: 55%; }
  33%  { height: 22%; }
  48%  { height: 70%; }
  63%  { height: 35%; }
  79%  { height: 90%; }
  91%  { height: 48%; }
  100% { height: 0%; }
}




#queueSheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px; /* closed height */
  background: rgb(71, 71, 71);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
  z-index: 501;
}

#queueSheet.open {
  height: 90vh; /* fullscreen height */
}
#collapseBtn {
    width: 25px;
    transition: all .5s ease-in-out;
    margin-right: 15px;
}
.collapseBtnReversed {
    transform: rotate(180deg);
}
#dragHandle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 18px;
  cursor: grab;
  user-select: none;
}

#queueContent {
  padding: 16px;
  color: white;
}

.queueTitle {
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: white;
}
.clearSearch {
    height: 70%;
    margin-right: 5px;
}

.emptyName {
    background: rgb(255, 160, 160);
}

.displayDiv {
    width: 100%;
    height: 100vh;
    background: rgb(143 221 142);
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 501;
    opacity: 0;
    display: flex;
    flex-direction: column;
    transition: opacity .2s ease-in-out;
    pointer-events: none;
}
.header {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;

}
.displayTitle {
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.displayExit {
    filter: invert(1);
    width: 25px;
}
.displayBody {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    overflow-y: auto;
    padding-bottom: 100px
}
.userStatSongs {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    padding-top: 5px;
}
.groupBoxTitle {
    color: white;
    font-weight: bold;
    width: 100%;
    text-align: left;
    padding-left: 10px;
    font-size: 25px;
}
.groupChoices {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    width: 98%;
    justify-content: left;

}
.userStatDiv {
    border-radius: 5px;
    width: 48%;
    margin: 1%;
    box-sizing: border-box;
    height: 60px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 3px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    position: relative;
    overflow: hidden;
    
}
#userStat_mostPlayed {
    background: #9ea1fd;

}
#userStat_Favorites {
    background: #e48292;

}
#userStat_History {
    background: #d07ddb;
}
#globalStat_popular {
    background: #ffb584;

}
.userStatImg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 70px;
    aspect-ratio: 1/1;
}

.statSongDiv {
    position: absolute;
    left: 0;
    top: 0;

}
.historyMarker {
    width: 100%;
    text-align: left;
    color: white;
    padding-left: 20px;
    margin-top: 10px;
}
.songResultsGradient {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    height: 100%;
    z-index: 502;
    transition: all 0s ease-in-out;
    background: #000000;
background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(217, 78, 110, 0) 20%)
}
/* Fullscreen splash */
#splash {
    position: fixed;
    inset: 0;
    background: #000; /* or whatever your brand background is */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

/* Fade-out class gets added by JS */
#splash.hidden {
    opacity: 0;
}

/* Optional animation on logo */
#splash .logo {
    transform: scale(0.9);
    opacity: 0;
    animation: splashPop 0.8s ease forwards;
}

@keyframes splashPop {
    0%   { transform: scale(0.9); opacity: 0; }
    60%  { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1.0); opacity: 1; }
}