html,
body {
   margin: 0;
   padding: 0;
   width: 100%;
   height: 100%;
   background-color: black;
   overflow: hidden;
   touch-action: none;
}

#gameContainer {
   margin: 0;
   padding: 0;
   width: 100%;
   height: 100%;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
   position: fixed;
}

#gameContainer canvas {
   position: fixed;
   z-index: 1;
}

#moreGamesFrame {
   display: none;
   position: absolute;
   border: none;
   z-index: 2;
   user-select: none;
}

.lil-gui {
   opacity: 0.95;
   --background-color: rgba(0, 0, 0, 0.85);
   --font-family: 'NunitoSans';
   --font-size: 13px;
}

.lil-gui.root {
   right: 0;
}

.lil-gui-left {
   right: unset !important;
   left: 0 !important
}

.waitToStart {
   display: none !important;
}

@media screen and (min-width: 1024px) {
   .lil-gui button {
      height: clamp(1.25rem, calc(1.25rem + ((1vw - 0.64rem) * 1.3021)), 2.5rem);
   }
}

#stats {
   position: static;
   opacity: 1;
   margin-bottom: 5px;
}

#stats canvas {
   width: 150px;
   height: 90px;
}

/* notifications */
#notificationContainer {
   pointer-events: none;
   z-index: 200;

   position: absolute;
   width: 100%;
   height: 100%;

   left: 0;
   bottom: 12%;

   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: end;
   gap: 5px;
}

.notificationtheearcasino {
   /* position: absolute; */
   width: min(95%, 1000px);
   /* left: 33%; */
   /* bottom: 200px; */

   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;

   padding: 8px;

   background: linear-gradient(90deg,
         rgba(0, 0, 0, 0) 0%,
         rgba(0, 0, 0, 0.6) 20%,
         rgba(0, 0, 0, .9) 50%,
         rgba(0, 0, 0, 0.6) 80%,
         rgba(0, 0, 0, 0) 100%);
   color: #FFF;
   font-family: 'NunitoSans';
   font-size: clamp(0.75rem, calc(0.75rem + ((1vmin - 0.2rem) * 0.75)), 1.5rem);
   text-align: center;

   opacity: 0;
   animation: fadeInUp .5s ease-out forwards;
}

.notificationtheearcasino .date {
   font-weight: 500;
}

.notificationtheearcasino .text {
   font-size: clamp(0.875rem, calc(0.875rem + ((1vmin - 0.2rem) * 0.875)), 1.75rem);
   ;
   font-weight: 600
}

.notificationtheearcasino .text b {
   font-weight: 900;
}

.notificationtheearcasino .jackpot {
   text-transform: capitalize;
}

.notificationtheearcasino .jackpot[type="bronze"],
.win:has(+.jackpot[type="bronze"]) {
   color: #cd7f32;
}

.notificationtheearcasino .jackpot[type="silver"],
.win:has(+.jackpot[type="silver"]) {
   color: #c0c0c0;
}

.notificationtheearcasino .jackpot[type="gold"],
.win:has(+.jackpot[type="gold"]) {
   color: #ffd700;
}

.notificationtheearcasino .jackpot[type="platinum"] {
   background-image: linear-gradient(to right, #5b9ef7, #e5e4e2, #5b9ef7);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;

   text-shadow: none;
}

.win:has(+.jackpot[type="platinum"]) {
   background-image: linear-gradient(to right, #e5e4e2, #5b9ef7);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;

   text-shadow: none;
}

@keyframes fadeInUp {
   0% {
      opacity: 0;
      transform: translateY(20px);
   }

   100% {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes fadeOutDown {
   0% {
      opacity: 1;
      transform: translateY(0);
   }

   100% {
      opacity: 0;
      transform: translateY(-20px);
   }
}

/* Nunito  */
@font-face {
   font-family: 'NunitoSans';
   src: url('../fonts/NunitoSans-Variable.ttf') format("truetype-variations");
   font-weight: 1 999;
   font-display: swap;
}