.container-bomb {
    overflow: hidden;
    position: fixed; /* Covers the entire viewport */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    z-index: 9999; /* High z-index to ensure it is on top of all other content */
    pointer-events: none; /* Optional: Allows interaction with elements below the fireworks */
}


/* Bomb icon animation */
.icon-bomb-animation {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: moveUp 1s forwards, shake 1s 1s forwards, hideBomb 0.4s 2s forwards;
    animation-iteration-count: 1;
}

/* Make the bomb icon disappear */
@keyframes hideBomb {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Boom image animation */
.boom-image {
    position: absolute;
    bottom: 40%; /* Start at the same position as the bomb icon at the end of its movement */
    left: 50%;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    animation: scaleBoom 1s 2.5s forwards, fadeInBoom 1s 2.5s forwards, hideBoom 1s 2.5s forwards;
    animation-iteration-count: 3; /* Repeat the boom animation 2 times */
    
}

/* Scale up and fade in the boom image */
@keyframes scaleBoom {
    0% {
        transform: translateX(-50%) scale(0);
    }
    100% {
        transform: translateX(-50%) scale(8);
    }
}

@keyframes fadeInBoom {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Hide the boom image */
@keyframes hideBoom {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
    }
}

/* Move up the bomb icon */
@keyframes moveUp {
    0% {
        bottom: 0;
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        bottom: 50vh;
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Shake animation after moving up */
@keyframes shake {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    10% {
        transform: translateX(-48%) translateY(-5px);
    }
    20% {
        transform: translateX(-52%) translateY(5px);
    }
    30% {
        transform: translateX(-50%) translateY(-10px);
    }
    40% {
        transform: translateX(-45%) translateY(10px);
    }
    50% {
        transform: translateX(-55%) translateY(-5px);
    }
    60% {
        transform: translateX(-47%) translateY(5px);
    }
    70% {
        transform: translateX(-53%) translateY(-8px);
    }
    80% {
        transform: translateX(-50%) translateY(8px);
    }
    90% {
        transform: translateX(-49%) translateY(-5px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}
.container-firework {
    overflow: hidden;
    position: fixed; /* Covers the entire viewport */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    z-index: 9999; /* High z-index to ensure it is on top of all other content */
    pointer-events: none; /* Optional: Allows interaction with elements below the fireworks */
}

@keyframes firework {
    0% { transform: translate(var(--x), var(--initialY)); width: var(--initialSize); opacity: 1; }
    50% { width: 1vmin; opacity: 1; }
    100% { width: var(--finalSize); opacity: 0; }
}

.firework,
.firework::before,
.firework::after {
    --initialSize: 2vmin; /* Increased the initial size */
    --finalSize: 80vmin; /* Increased final size for larger fireworks */
    --particleSize: 1vmin; /* Increased particle size */
    --color1: rgb(219, 237, 21);
    --color2: khaki;
    --color3: rgb(237, 228, 49);
    --color4: rgb(214, 184, 33);
    --color5: gold;
    --color6: rgb(187, 167, 13);
    --y: -30vmin;
    --x: -50%;
    --initialY: 60vmin;
    content: "";
    animation: firework 3s forwards;
    animation-iteration-count: 3; /* Play the animation three times */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, var(--y));
    width: var(--initialSize);
    aspect-ratio: 1;
    background: 
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 50% 0%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 100% 50%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 50% 100%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 0% 50%,
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 80% 90%,
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 95% 90%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 90% 70%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 100% 60%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 55% 80%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 70% 77%,
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 22% 90%,
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 45% 90%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 33% 70%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 10% 60%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 31% 80%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 28% 77%,
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 13% 72%,
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 80% 10%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 95% 14%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 90% 23%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 100% 43%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 85% 27%,
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 77% 37%,
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 60% 7%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 22% 14%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 45% 20%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 33% 34%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 10% 29%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 31% 37%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 28% 7%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 13% 42%;
    background-size: var(--initialSize) var(--initialSize);
    background-repeat: no-repeat;
}

.firework::before {
    --x: -50%;
    --y: -50%;
    --initialY: -50%;
    transform: translate(-50%, -50%) rotate(40deg) scale(1.3) rotateY(40deg);
}

.firework::after {
    --x: -50%;
    --y: -50%;
    --initialY: -50%;
    transform: translate(-50%, -50%) rotate(170deg) scale(1.15) rotateY(-30deg);
}

.firework:nth-child(2) {
    --x: 30vmin;
}

.firework:nth-child(2),
.firework:nth-child(2)::before,
.firework:nth-child(2)::after {
    --color1: rgb(220, 124, 140);
    --color2: violet;
    --color3: fuchsia;
    --color4: orchid;
    --color5: plum;
    --color6: lavender; 
    --finalSize: 70vmin; /* Larger size */
    left: 30%;
    top: 60%;
    animation-delay: -0.25s;
}

.firework:nth-child(3) {
    --x: -30vmin;
    --y: -50vmin;
}

.firework:nth-child(3),
.firework:nth-child(3)::before,
.firework:nth-child(3)::after {
    --color1: lime;
    --color2: lightgreen;
    --color3: darkgreen;
    --color4: mediumseagreen;
    --color5: yellowgreen;
    --color6: olive; 
    --finalSize: 65vmin; /* Larger size */
    left: 70%;
    top: 60%;
    animation-delay: -0.4s;
}

.firework:nth-child(4) {
    --x: 0vmin;
    --y: -60vmin;
}

.firework:nth-child(4),
.firework:nth-child(4)::before,
.firework:nth-child(4)::after {
    --color1: rgb(25, 78, 157);
    --color2: rgb(26, 195, 195);
    --color3: rgb(16, 117, 151);
    --color4: rgb(53, 26, 205);
    --color5: SkyBlue;
    --color6: rgb(69, 69, 177);
    --finalSize: 75vmin; /* Larger size */
    left: 50%;
    top: 50%;
    animation-delay: -0.3s;
}
/* Icons */  
.icon-checked, .icon-unchecked, .icon-blank, .icon-bomb, .icon-black {
    display: inline-block;
    vertical-align: middle;    
    width: 35px;
    height: 35px;
    position: relative;

    
}
      
/* Checkmark for icon-checked */
.icon-checked {
    background-color: var(--face-color);
  }
    
/* Outline box for icon-unchecked */
.icon-unchecked {
    background-color: #d1d1d1;
}
  
.icon-blank{
    background: #6d6b6b;
}
  
.icon-black{
  background: #000000 ;
}

/* Eyes for icon-checked */
.eye {
    position: absolute;
    top: 4px; /* Position the eyes vertically */
    width: 13px; /* Width of the eye */
    height: 13px; /* Height of the eye */
    border-radius: 100%; /* Make it a circle */
    background-color: var(--eyes-color); /* Color of the eye */
    border: solid 4px rgb(255, 255, 255);
}
  
.eye-blank {
    position: absolute;
    top: 6px; /* Position the cross vertically */
    width: 10px; /* Width and height of the cross (square) */
    height: 10px;
    background:
      /* Diagonal from top-left to bottom-right */
      linear-gradient(45deg, transparent 0%, transparent 40%, rgb(196, 196, 196) 40%, rgb(196, 196, 196) 60%, transparent 60%, transparent 100%),
      /* Diagonal from top-right to bottom-left */
      linear-gradient(-45deg, transparent 0%, transparent 40%, rgb(196, 196, 196) 40%, rgb(196, 196, 196) 60%, transparent 60%, transparent 100%);
  }
  
    
.eye-black {
  position: absolute;
  top: 4px; /* Position the eyes vertically */
  width: 13px; /* Width of the eye */
  height: 13px; /* Height of the eye */
  border-radius: 100%; /* Make it a circle */
  background-color: black; /* Color of the eye */
  border: solid 5px #FBD804;
}
  
  .left-eye {
    left: calc(6px + var(--eyes-position)); /* Position the left eye dynamically */
  }
  
  .right-eye {
    left: calc(19px + var(--eyes-position)); /* Position the right eye dynamically */
  }
  
  .left-eye-blank {
    left: 6px; /* Position the left eye dynamically */
  }
  
  .right-eye-blank {
    left: 20px; /* Position the left eye dynamically */
  }

  .left-eye-black {
    left: 4px; /* Position the left eye dynamically */
  }
  
  .right-eye-black {
    left: 18px; /* Position the left eye dynamically */
  }
  
  /* mouth for icon-checked */
  .mouth {
    position: absolute;
  }
    
  .mouth-shape-blank {
    top: 24px; /* Position the mouth below the eyes */
    left: 6px; /* Center horizontally */
    width: 26px; /* Width of the mouth */
    height: 20px; /* Height of the mouth (taller to allow for curvature) */
    border-radius: 0 0 50px 50px; /* Create a curved bottom for a sad mouth */
    border: 3px solid transparent; /* Only bottom border should be visible */
    border-bottom: 2px solid rgb(196, 196, 196); /* Set the color for the visible bottom border */
    transform: rotate(180deg); /* Flip the curve to make it a sad smile */
  }
      
  .mouth-shape-black {
    top: 18px; /* Position the mouth below the eyes */
    left: 9px; /* Center horizontally */
    width: 16px; /* Width of the mouth */
    height: 12px; /* Height of the mouth */
    border-radius: 50%; /* Shape of the mouth */
    border-bottom: 5px solid #FBD804;
  }

  .mouth-shape1{
    top: 18px; /* Position the mouth below the eyes */
    left: 9px; /* Center horizontally */
    width: 14px; /* Width of the mouth */
    height: 12px; /* Height of the mouth */
    border-radius: 50%; /* Shape of the mouth */
    border-bottom: 4px solid var(--mouth-color);
  }
  
  .mouth-shape2{
    top: 16px; /* Position the mouth below the eyes */
    left: 10px; /* Center horizontally */
    width: 20px; /* Width of the mouth */
    height: 14px; /* Height of the mouth */
    border-bottom: 4px solid var(--mouth-color);
    border-radius: 10% 0% 80% 40%; /* Shape of the mouth */
  }
  
  .mouth-shape3{
    top: 20px; /* Position the mouth below the eyes */
    left: 10px; /* Center horizontally */
    width: 18px; /* Width of the mouth */
    height: 10px; /* Height of the mouth */
    border-bottom: 4px solid var(--mouth-color);
    border-radius: 0% 0% 45% 90%; /* Shape of the mouth */
  }
    
  .mouth-shape4{
    top: 23px; /* Position the mouth below the eyes */
    left: 10px; /* Center horizontally */
    width: 14px; /* Width of the mouth */
    height: 4px; /* Height of the mouth */
    border-bottom: 4px solid var(--mouth-color);
    border-radius: 0% 0% 45% 60%; /* Shape of the mouth */
  }
  
  .mouth-shape5{
    top: 24px; /* Position the mouth below the eyes */
    left: 10px; /* Center horizontally */
    width: 18px; /* Width of the mouth */
    height: 6px; /* Height of the mouth */
    border-bottom: 4px solid var(--mouth-color);
    border-radius: 0% 0% 50% 55%; /* Shape of the mouth */
  }

  .bomb-main-circle {
    width: 80%;
    height: 80%;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 50%;     /* Center vertically within the circle */
    left: 50%;    /* Center horizontally within the circle */
    transform: translate(-50%, -50%); /* Center the line horizontally */

}

  .bomb-inner-circle {
    width: 7px;    /* Diameter of the inner circle */
    height: 7px;   /* Diameter of the inner circle */
    background-color: white; /* Color of the inner circle */
    border-radius: 50%; /* Makes it a circle */
    position: absolute;
    top: 9px;       /* Positioning from the top */
    left: 9px;      /* Positioning from the left */
  }


  .bomb-line {
    position: absolute;
    background-color: rgb(0, 0, 0); /* Color of the lines */
  }

  .bomb-line-horizontal-1 {
    width: 36px; /* Width of the first horizontal line (slightly larger than the circle) */
    height: 5px;  /* Thickness of the line */
    top: 50%;     /* Center vertically within the circle */
    left: 50%;    /* Center horizontally within the circle */
    transform: translate(-50%, -50%) rotate(45deg); /* Center the line and rotate */
  }

  .bomb-line-horizontal-2 {
    width: 36px; /* Width of the second horizontal line (slightly larger than the circle) */
    height: 5px;  /* Thickness of the line */
    top: 50%;     /* Center vertically within the circle */
    left: 50%;    /* Center horizontally within the circle */
    transform: translate(-50%, -50%) rotate(-45deg); /* Center the line and rotate */
  }

  .bomb-line-horizontal-3 {
    width: 34px;  /* Width of the additional horizontal line (slightly larger than the circle) */
    height: 5px;  /* Thickness of the line */
    top: 50%;     /* Center vertically within the circle */
    left: 50%;    /* Center horizontally within the circle */
    transform: translate(-50%, -50%); /* Center the line horizontally */
  }

  .bomb-line-vertical {
    width: 5px;   /* Width of the vertical line */
    height: 34px; /* Height of the vertical line (slightly larger than the circle) */
    top: 50%;     /* Center vertically within the circle */
    left: 50%;    /* Center horizontally within the circle */
    transform: translate(-50%, -50%); /* Center the line horizontally */
  }

/*



 */

@import url('https://fonts.googleapis.com/css2?family=Anton+SC&display=swap');

.body-old-style{
 /* background-color: rgb(151, 150, 150);
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;*/

  background-color: #94bede; /* Replace with a color that matches the bg.webp */
  background-image: url(/assets/bg-0b1ae0816bd593fa4a8c6f1e7f72e070978d34f04397d3263c98e726d1bc90cf.webp);

  background-size: cover; 
  background-attachment: fixed; 
  background-repeat: no-repeat; 
  background-position: center; 

  max-width: 930px; 
  padding-left: 10px; 
  padding-right: 10px;
}

/* Global styles for scrollbars  */
::-webkit-scrollbar {
  width: 15px;
  height: 15px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #d1d1d1;
  border-radius: 4px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #8e8c8c;
}

/* Specific override for the navbar to hide the scrollbar */
.navbar-nav {
  overflow-x: auto; /* Allow horizontal scrolling */
  -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  white-space: nowrap; /* Prevent wrapping */
}

.navbar-nav::-webkit-scrollbar {
  display: none; /* Hide the scrollbar for this specific navbar */
}



.main-title {
  font-family: "Anton SC", sans-serif;
  font-weight: 900;
  font-size: 38px ; 
  background: linear-gradient(180deg, #ffd700, #ff4500); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-transform: uppercase;
  transform: rotate(-3deg);
  transform-origin: bottom right;
  filter: 
    drop-shadow(1px 1px 0 #ab3003)
    drop-shadow(2px 2px 0 #ab3003)
    drop-shadow(3px 3px 0 #ab3003)
    drop-shadow(4px 4px 0 #ab3003);
}

h2{
  font-weight: 900;
  font-family: "Anton SC", sans-serif;
  color: #3a3a3a;
  font-size: 14px ; 
  filter: 
    drop-shadow(1px 1px 0 #c3c0c0)
    drop-shadow(2px 2px 0 #c3c0c0);
}

h3{
  font-weight: bold;
  font-size: medium;
}

.main-title span {
  background: linear-gradient(180deg, #ffd700, #ff4500); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dashboard_box {
  padding: 5px;
  text-align: center; /* Center text horizontally */
  height: 60px; /* Adjust height as needed */
}

.full-width-box {
  grid-column: span 2; /* Make the third box span across both columns */
}

#dashboard h3 {
  grid-column: 1 / -1; 
  text-align: left;
  margin-bottom: 10px; 
}

.container-gameover {
  background-color: #4b4a4a;
  border-radius: 2px;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  max-width: 930px; 
  max-height: 90vh; 
  padding: 1em; 
  box-sizing: border-box; 
  text-align: center; 
}

.game-over {
  font-family: "Anton SC", sans-serif;
  font-weight: 900;
  font-size: 35px; /* Responsive font size based on viewport width */
  background: linear-gradient(180deg, #469d39, #1da231); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-transform: uppercase;
  filter: 
    drop-shadow(1px 1px 0 #c0c0c0)
    drop-shadow(2px 2px 0 #c0c0c0);
  letter-spacing: 2px; /* Adjust this value as needed for spacing */
}

.twitter-link{
  font-family: "Anton SC", sans-serif;
  font-weight: 500;
  font-size: 30px;
  text-transform: lowercase;
  letter-spacing: 2px; /* Adjust this value as needed for spacing */
  background-color: #d1d1d1;
  border-width: 1px;
  border-style: solid;
  border-color: white #9e9e9e #9e9e9e white;
  text-decoration: none;
  color: #000000;
  padding: 8px;
  font-weight: bold;
  border-radius: 0;

}

.game-over span {
  background: linear-gradient(180deg, #469d39, #1da231); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Scrolling text effect */
.text-defilant {
  overflow: hidden;
  white-space: nowrap; 
  width: 100%;
}

.defilant-item {
  display: inline-block;
  padding-right: 2em;
  padding-left: 100%;
  white-space: nowrap;
  animation: defilement-rtl 10s linear infinite; 
}

@keyframes defilement-rtl {
  0% {
    transform: translate3d(0, 0, 0); 
  }
  100% {
    transform: translate3d(-100%, 0, 0); 
  }
}


.small-text{
  font-size: 13px;
}

.retro-counter {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.digit-retro-counter{
  background-color: #000000;
  padding: 4px;
}

.main-bg-color{
  background-color: rgb(151, 150, 150);
}

.blur-effect{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); 
  transform: translate3d(0, 0, 0); 
}

.fixed-main-counter {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 104px; /* Stick to the top */
  z-index: 3; /* Ensure it is above other content */
 /* background-color: rgb(151, 150, 150);*/
  backdrop-filter: blur(20px); /* Adjust the blur intensity */

  padding: 5px; /* Padding to provide some spacing */
}

.container-bordered {
  width: 100%;
  padding: 10px;
  background-color: #d1d1d1;
  border-width: 3px;
  border-style: solid;
  border-color: white #9e9e9e #9e9e9e white;
}

.inside-bordered {
  padding: 5px;
  position: relative;
  background-color: #d1d1d1; /* Background color inside the border */
  border-width: 6px;
  border-style: solid;
  border-color: #9e9e9e white  white  #9e9e9e;
}

.old-school-input {
  padding: 1px;
  position: relative;
  background-color: #f5f1f1; /* Background color inside the border */
  border-width: 6px;
  border-style: solid;
  border-color: #9e9e9e white  white  #9e9e9e;

    /* Remove the default outline that appears on focus */
    outline: none;
}

.row {
  margin: 0; /* Remove default margin */
}

.box {
  box-sizing: border-box; 
  padding: 10px; 
  height: 100%; 
}

.square-box {
 /* aspect-ratio: 1; /* Maintain square shape */
  min-height: 10px;
}

.claim-btn{
 /* width: 100%;
  height: 150px;*/  
  background-color: #d1d1d1;
  border-width: 3px;
  border-style: solid;
  border-color: white #9e9e9e #9e9e9e white;
  text-decoration: none;
  color: #000000;
  padding: 3px;
  font-weight: bold;
  border-radius: 0;
}

.claim-btn:hover {
  background: #d6d4d4;
  border-color: #9e9e9e white  white  #9e9e9e;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(212, 212, 212, 0.8);
  transform: perspective(5px) rotateX(0deg) rotateY(0deg); 
}


.old-school-btn{
  background-color: #d1d1d1;
  border-width: 3px;
  border-style: solid;
  border-color: white #9e9e9e #9e9e9e white;
  text-decoration: none;
  color: #000000;
  padding: 3px;
  font-weight: bold;
  border-radius: 0;
}



.old-school-btn:hover {
  background: #d6d4d4;
  border-color: #9e9e9e white  white  #9e9e9e;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(212, 212, 212, 0.8);
  transform: perspective(5px) rotateX(0deg) rotateY(0deg); 
}


.old-school-btn:active {
  box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.3); 
  transform: translateY(2px); 
}


.bg-light-grey{
  background-color: #bbb9b9;
}

.no-overflow {
  overflow-x: hidden; 
}
  
/* Define the shake animation */
@keyframes checkbox-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  50% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Apply the shake animation when the class is added */
.animate-checkbox {
  animation: checkbox-shake 0.25s infinite; /* Very fast shaking with 0.5s duration */
}

/* Define the shake animation */
@keyframes claim-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(4deg); }
  50% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}
/* Apply the shake animation when the class is added */
.animate-claim {
  animation: claim-shake 0.25s infinite; /* Very fast shaking with 0.5s duration */
}


.custom-button {
  padding: 0;
  /*margin: 5px;*/
  background-color: #d1d1d1;
  border-width: 5px;
  border-style: solid;
  border-color: white #9e9e9e #9e9e9e white;
  
}

.light-blur{
   filter: blur(3px);
   -webkit-filter: blur(3px); 
}
   
.custom-button:hover {
  border-color: #9e9e9e white  white  #9e9e9e;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(255, 255, 255, 0.8);
  transform: perspective(10px) rotateX(0deg) rotateY(0deg); 
}
  
  
/*  alerts style */
#flash, #bottom_flash {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1100; /* Ensure this is higher than the z-index of the sticky element */
}

.flash.alert {
  background-color: red;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

.alert-container {
  margin-bottom: 5px; /* Space between messages */
  opacity: 1;
  transition: opacity 0.5s ease-out; /* Smooth fade-out effect */
  z-index: 1100; /* Ensure this is higher than the z-index of the sticky element */
}

.alert {
  padding: 5px;
  margin: 0;
  border: 1px solid black; /* Black border */
  border-radius: 4px; /* Optional: Adds rounded corners */
}

.fixed-bloc-height{
  height: 40px;
}

.badge-first{
  background-color: rgb(239, 191, 4);
}

.badge-second{
  background-color: rgb(146, 153, 158);
}

.badge-thrid{
  background-color: rgb(134, 74, 17);
}

.modal-content {
  background-color: #d1d1d1; /* Default or any color you prefer */
  border-style: none;
}

.container-scroll-buttons{
  position: fixed;
  bottom: 95px;
  z-index: 3;
  padding: 5px;
}

.scroll-down-btn{
  background-color: #9c9b9b;
  border-width: 3px;
  border-style: solid;
  border-color: white #9e9e9e #9e9e9e white;
  text-decoration: none;
  padding: 3px;
  font-weight: bold;
  border-radius: 50%;
  font-size: 50px;
} 

.scroll-down-btn:hover {
  background: #d6d4d4;
  border-color: #9e9e9e white  white  #9e9e9e;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(212, 212, 212, 0.8);
  transform: perspective(5px) rotateX(0deg) rotateY(0deg); 
}

.scroll-down-btn:active {
  box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.3); 
  transform: translateY(2px); 
}

.gold-color{
  background-color: gold;
}


.daily-claim-answer-text {
  word-wrap: break-word;  /* Ensures long words or unbreakable text will wrap */
  word-break: break-word; /* Forcing breaks for long strings without spaces */
}





/* new style */

.new-style-html{
  margin: 0;
  background-color: rgb(0, 128, 128);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 7px;
  background: silver;
  
  
  /*  box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff; */
  
  
}


/* .overlay {
  position: fixed; 
  top: 0;         
  left: 0;       
  width: calc(100% - 10px);   
  height: calc(100% - 10px);  
  pointer-events: none;
  z-index: 1100;   
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 10%);
  background-size: 4px 4px;
  opacity: 0.6;
  

  margin: 5px;  
  box-sizing: border-box; 

} */

.body-new-style {

  background-color: #94bede; /* Replace with a color that matches the bg.webp */
  background-image: url(/assets/demons_bg-e8464414eadfdd9bc019305029cd668c1c6cbd5f4c926afc3ad7b60a10bd4f64.webp);
  background-size: cover; 
  background-attachment: fixed; 
  background-repeat: no-repeat; 
  background-position: center; 
  font-family: "Pixelated MS Sans Serif", Arial;

}

.main-scrollable-container, .main-scrollable-container-without-answer {
  overflow-y: auto;          /* Enable vertical scrolling */
  margin: 0;                 /* No margins */
  padding: 0;                /* No padding */
  background: silver;
}

.main-scrollable-container {
  height: calc(100vh - 52px); /* Subtract the footer height (50px) and bottom margin (6px + 6px) */
}

.main-scrollable-container-without-answer {
  height: calc(100vh - 10px); 
}


.body-welcome-login {
  height: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 128, 128);


}



/* Header styling */
header {
  align-items: center;
  background: linear-gradient(90deg,navy,#1084d0);
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 3px 3px;

}

.windows-header{
  color: white;
  border-radius: 0 !important; /* Ensures square corners for the modal dialog */
  padding: 4px;
  align-items: center;
  background: linear-gradient(90deg,navy,#1084d0);
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 3px 3px;
  height: 40px;

}

/* Remove rounded corners from the modal */
.modal-dialog {
  border-radius: 0 !important; /* Ensures square corners for the modal dialog */
}

.modal-content {
  border-radius: 0 !important; /* Ensures square corners for the modal content */
}

#modalGettingStarted .modal-dialog {
  width: 80%; /* Limit the width of the modal */
  max-width: 600px; /* Limit the width of the modal */
  margin: auto; /* Center the modal horizontally */
}


/* Footer styling */
.new-style-footer {
  position: fixed; /* Fix the footer to the bottom of the page */
  bottom: 3px; /* Position it at the bottom */
  left: 7px; /* Optional: Add a bit of space on the left */
  right: 7px; /* Optional: Add a bit of space on the right */
  z-index: 1; /* Ensure it stays on top of other content */
  align-items: center;
  margin: 0;
  z-index: 1030; /* Higher than Bootstrap's sticky-top z-index */
  height: 45px;
  border-bottom: 7px solid silver; /* Add a silver border at the bottom */

}

.window-bordered{
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;
  padding: 3px;
}


.fixed-bottom-q-and-a {
  position: sticky;
  bottom: 49px;
  left: 0;
  right: 0;
  z-index: 1;
}

.old-school-btn{
  background-color: #d1d1d1;
  border-width: 3px;
  border-style: solid;
  border-color: white #9e9e9e #9e9e9e white;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  border-radius: 0;
  padding: 4px;
}

.old-school-btn:hover,
.old-school-btn-active:hover {
  background: #d6d4d4;
  border-color: #9e9e9e white  white  #9e9e9e;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(212, 212, 212, 0.8);
  transform: perspective(5px) rotateX(0deg) rotateY(0deg); 
}
 
.old-school-btn-active {
  background-color: rgb(254, 254, 254);
  background-image: linear-gradient(45deg, rgb(198, 198, 198) 25%, transparent 25%, transparent 75%, rgb(198, 198, 198) 75%), 
                    linear-gradient(45deg, rgb(198, 198, 198) 25%, transparent 25%, transparent 75%, rgb(198, 198, 198) 75%);
  background-size: 4px 4px;
  background-position: 0px 0px, 2px 2px;
  background-repeat: repeat;
  background-attachment: scroll;
  background-origin: padding-box;
  background-clip: border-box;
  border-width: 3px;
  border-style: solid;
  border-color: #9e9e9e white white #9e9e9e;
  color: rgb(10, 10, 10);
  padding: 4px;
}

.fit-bordered-container, .fit-bordered-container-small-margin{
  box-sizing: border-box;
  max-width: 600px;  
  margin: 0 auto; overflow-x: hidden;
  flex: 1 1 0%;
  padding: 4px;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(223, 223, 223) rgb(10, 10, 10) rgb(10, 10, 10) rgb(223, 223, 223);
  box-shadow: 
     rgba(0, 0, 0, 0.35) 4px 4px 10px 0px, 
     rgb(254, 254, 254) 1px 1px 0px 1px inset, 
     rgb(132, 133, 132) -1px -1px 0px 1px inset;
  display: inline-block;
  background: rgb(198, 198, 198);
  color: rgb(10, 10, 10);

}


.fit-bordered-container{
  width: 70vw;
  font-size: 1rem;

}

.fit-bordered-container-small-margin{
  width: 80vw;
  font-size: 0.8rem;

}

.bordered-container{
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 0%;
  padding: 4px;
  font-size: 1rem;

  box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;

  display: inline-block;
  background: rgb(198, 198, 198);
  color: rgb(10, 10, 10);
}


.text-break {
  word-wrap: break-word;  
  word-break: break-word; 
}

/* scrolling images */
.scroll-deamons {
  position: relative;
  width: 100vw;
  overflow: hidden;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.m-scroll-deamons-1, .m-scroll-deamons-2, .m-scroll-deamons-1-bis, .m-scroll-deamons-2-bis {
  display: flex;
  justify-content: space-between;
  width: max-content; /* Adjust width based on content */
}

.m-scroll-deamons-1 {
  animation: scrollTextLeftRight 10s infinite linear;
}


.m-scroll-deamons-1-bis {
  animation: scrollTextLeftRight 9s infinite linear;
}

.m-scroll-deamons-2 {
  animation: scrollTextRightLeft 10s infinite linear;
}

.m-scroll-deamons-2-bis {
  animation: scrollTextRightLeft 9s infinite linear;
}

.image-demon, .image-demon-small{
  display: inline-block;
  padding: 0;
  margin-right: 10px;
  border-style: solid;
  border-width: 4px;
  border-color: rgb(198, 198, 198);
  background-color: white;
}

.image-demon{
  width: 140px; 
  height: 140px;
}

.image-demon-small{
  width: 120px; 
  height: 120px;
}



@keyframes scrollTextLeftRight {
  0% {
    transform: translateX(-50%); /* Start with the images off-screen to the left */
  }
  100% {
    transform: translateX(0%); /* Move images into view and scroll them to the right */
  }
}


@keyframes scrollTextRightLeft {
  100% {
    transform: translateX(-50%); /* Start with the images off-screen to the left */
  }
  0% {
    transform: translateX(0%); /* Move images into view and scroll them to the right */
  }
}

  /* Customize dropdown menu */
  .start-dropdown-menu {
    border-radius: 0; /* No rounded corners */
    background-color:  rgb(198, 198, 198); /* Grey background */
    display: flex; /* Flexbox for left and right alignment */
    padding: 0;
    margin: 0;
    width: 300px; /* Adjust as needed */
    box-sizing: border-box; /* Ensure padding doesn't affect size */
    position: relative; /* Required for precise adjustments */
    margin-left: -5px; /* Shift the dropdown 50px to the left */
    z-index: 10;
  }

  .dropdown-left {
    writing-mode: vertical-rl; /* Vertical text */
    text-align: center;
    border-right: 1px solid #ccc; /* Divider */
    background-color:  rgb(133, 131, 131); /* Grey background */
    color: white; /* Text color */
    font-size: large;
    font-weight: bold;
    padding: 10px;
    flex: 0.3; /* Equal space for both parts */
    transform: rotate(180deg); /* Flip the text from bottom to top */
  }

  .dropdown-right {
    flex: 2.7; /* Occupies more space */
  }

  .light-bordered-box{
    box-shadow: inset -1px -1px #dfdfdf,inset 1px 1px grey;
    margin: 0;
    padding: 2px 3px;
  
  }

  .demon-bordered{
    margin: 0px 10px 0px 5px;
    overflow-x: hidden;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(130, 130, 130) rgb(255, 255, 255) rgb(255, 255, 255) rgb(130, 130, 130);
  }

  .win-98-btn{
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: silver;
    border: none;
    border-radius: 0;
    box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;
    box-sizing: border-box;
    color: transparent;
    min-height: 26px;
    min-width: 26px;
    text-shadow: 0 0 #222;
    text-align: center;
  }

  
.win-98-btn:hover,
.win-98-btn-active:hover {
  box-shadow: inset -1px -1px #ffffff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px #808080;
}
 
.win-98-btn-active {

  background: rgb(214, 212, 212);
  border: none;
  border-radius: 0;
  box-shadow: inset -1px -1px #ffffff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px #808080;
  box-sizing: border-box;
  color: transparent;
  min-height: 26px;
  text-shadow: 0 0 #222;
  text-align: center;

}
 

.flex-item {
  flex: 1 1 400px; /* Grow, shrink, and set a minimum width of 200px */
  min-width: 200px;
  max-width: 100%; /* Prevent the item from growing too large */
  border: 1px solid #ccc; /* Optional: Add a border for each question */
  padding: 10px; /* Optional: Add padding for better spacing */
}




/* Apply the Windows 98 scrollbar style */
/* Basic setup for the scrollable container */
.scrollable-area,.scrollable-area-q-and-a {
  overflow: auto; /* Automatically show scrollbar when content overflows */
  padding: 10px;
  position: relative;
}

.scrollable-area {
  height: calc(100% - 45px);
  /*   height: calc(100% - 40px); */
}

.scrollable-area-q-and-a {
  height: calc(100% - 90px);
}

/* The scrollbar itself */
::-webkit-scrollbar {
  width: 16px;
}

/* The scrollbar track (background of the scrollbar) */
::-webkit-scrollbar-track {
  background-color: #c0c0c0;
  border: 1px solid #888;
  border-radius: 0;
  background-image: radial-gradient(circle, black 30%, transparent 31%);
  background-size: 3px 3px; /* Smaller dots */
}


/* The scrollbar thumb (the draggable part of the scrollbar) */
::-webkit-scrollbar-thumb {
  border: 1px solid #c0c0c0;  /* Border to give separation from track */
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;
  border-radius: 0;

}

.blur-background {
  background: rgba(255, 255, 255, 0.3); /* Light semi-transparent background */
  backdrop-filter: blur(5px);           /* Apply blur effect */
  padding: 2px;                   /* Add some padding for better appearance */
  border-radius: 1px;
}


.close-icon, .little-close-icon {
  background-color: silver; /* No background */
  border: none; /* Remove border */
  color: black; /* Icon color */
  font-weight: normal;
  line-height: 1;
  text-align: center;
  cursor: pointer;

}


.little-close-icon {
  width: 25px; /* Adjust size */
  height: 25px;
  font-size: 20px; /* Adjust font size */
}

.close-icon {
  width: 30px; /* Adjust size */
  height: 30px;
  font-size: 26px; /* Adjust font size */

}

.close-icon::before, .little-close-icon::before {
  content: '×'; /* Display the close "X" icon */
  display: inline-block;
}

.close-icon:hover, .little-close-icon:hover {
  background-color: lightgray; /* Optional hover effect */
}


/* Conversation container */
.conversation {
  /* max-height: 74vh; /* Adjust height as needed */
   overflow-y: auto; /* Enable vertical scrolling */
   display: flex;
   flex-direction: column;
   gap: 10px; /* Space between messages */
 }
 
 /* Common styles for all messages */
 .message {
   display: inline-block; /* Adjust to the content width */
   max-width: 75%; /* Limit the width to ensure readability */
   padding: 6px;
   border-radius: 4px;
   word-wrap: break-word; /* Break words if they're too long */
   margin: 5px 0;
 }
 
 /* User-specific styles */
 .message.user {
   background-color: #dbeeff; /* Light blue background */
   color: #333; /* Dark text color */
   align-self: flex-end; /* Align user messages to the right */
   text-align: right;
 }
 
 /* Assistant-specific styles */
 .message.assistant {
   background-color: #feffd4; /* Light green background */
   color: #333; /* Dark text color */
   align-self: flex-start; /* Align assistant messages to the left */
   text-align: left;
 }
