
body {
  font-family: "Poppins", sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: url(numbers.jpg);
  font-family: "Poppins", sans-serif;
  background-image: url(numbers.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
 
  background-attachment: fixed;
  font-size: 24px;
}

* {
  font-family: "pangolin";
  user-select: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
* {
  user-select: none;
}
/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
#hashText {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: bolder;
  color: #ffffff; /* Your chosen color */
  text-transform: uppercase;
  letter-spacing: 2px;
 margin-top: 2%;
  padding: 10px;
z-index: 1;
text-shadow: -1px -1px black,
1px -1px black,
-1px 1px black,
-1px -1px black;
  text-align: center;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: -2%;
  width: 100%;
  height: 102%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s;
  overflow: hidden;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: none;
  width: 600px;
  height: 450px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}
.modal-content p {
  font-size: 24px;
  color: #000000;
  margin-bottom: 20px;
}
.modal-content .popButton {
  padding: 10px 20px;
  font-size: 24px;
  background-color: #8460de;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content .popButton:hover {
  background-color: #000000;
}
/* Position the button at the top-left corner */
/* .howToPlayBtn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
} */

/* Style the button to match the game theme */
/* .howToPlayBtn {
  font-family: "Poppins", sans-serif; 
  font-size: 26px;
   background-color: #793DAE;  
  color: #8460de;
  border: none;
  font-weight: bolder;
  
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2); 
  transition: background-color 0.3s ease; 
} */
.howToPlayBtn {
  position: absolute;
  top: 25px;
  left: 10px;
  z-index: 1;
}

/* Style the button to match the game theme */
.howToPlayBtn {
  font-family: "Poppins", sans-serif; /* Use the same font as the game */
  font-size: 16px; /* Adjust the font size as needed */
  background-color: transparent;  
  /* color: #8460de;  */
  border: none;
  font-weight: bolder;
  background-color: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  /* box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2);  */
  /* transition: background-color 0.3s ease; */
}

/* Add a hover effect */
/* .howToPlayBtn:hover {
  background-color: #c2b7b7; 
} */

.close {
  font-family: "Poppins", sans-serif;
  color: #8460de;
  float: right;
  font-size: 24px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  font-family: "Poppins", sans-serif;
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#container {
  font-family: "Poppins", sans-serif;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.25));
margin-top: 2rem;
  background-color: white;
  position: relative;
  overflow: hidden;
  height: 80vh;
  width: 80vw;
  display: flex;
  flex-direction: column;
  border: 2px dashed black;
  border-radius: 20px;
}

.score {
  font-family: "Poppins", sans-serif;
  width: 15rem;
  height: 4rem;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.35);
  right: 0;
  font-weight: 600;
  z-index: 1000;
  color: #333;
}

.buttons {
  font-family: "Poppins", sans-serif;
  padding: 0.2rem;
  position: absolute;
  z-index: 999;
  font-size: 24px;
}


#game-window {
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  width: 100%;
  flex: 1;
  background-size: cover;
  position: relative;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.25);
  background-color: rgb(113, 215, 255);
}

.playScreen,
.pauseScreen,
.gameOverScreen {
  font-family: "Poppins", sans-serif;
  position: absolute;
  top: 0;
  z-index: 100000;
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 200ms ease-out;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.25);
  font-size: 5rem;
}

font {
  font-family: "Poppins", sans-serif;
  filter: drop-shadow(0 0 0.35rem rgba(255, 255, 255, 0.5));
  -webkit-text-fill-color: #8460de; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
  margin-bottom: 0.5rem;
  text-align: center;
}

.playScreen button,
.pauseScreen button,
.gameOverScreen button {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  padding: 0.5rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  color: white;
  width : 168 px;
  height : 40 px;
  outline: none;
  border: none;
  background-color: #d1ae45;
  filter: drop-shadow(0 0 0.85rem rgb(255, 255, 255));
  transition: all 200ms ease-out;
  height: 40px;
  width: 168px;
  border-radius: 5px;
    margin-bottom: 15px;
    font-size: 24px;
    text-align: center;
  cursor: pointer;
}

.smText {
  font-family: "Poppins", sans-serif;;
  color: white;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  
}

.smText font {
  font-family: "Poppins", sans-serif;;
  font-size: 24px; /* Adjust the font size as desired */
  font-weight: 600;
}
.goToTop {
  top: -100%;
}

.playScreen button:hover,
.pauseScreen button:hover,
.gameOverScreen button:hover {
  scale: 1.05;
}

/* ... (previous CSS styles) ... */

#inputBox {
  font-family: "Poppins", sans-serif;
  background-color: rgb(65, 122, 122);
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0.5rem 0;
  height: 4rem;
  position: relative;
  font-size: x-large;
  overflow: hidden;
  font-size: 24px;
}

.answer-label {
  font-family: "Poppins", sans-serif;
  color: white !important;
  margin-right: 10px;
  margin-bottom: 15px;
  font-size: 24px;
  -webkit-text-fill-color: unset !important;
  -webkit-text-stroke-width: 0 !important;
  -webkit-text-stroke-color: unset !important;
  filter: none !important;
  text-align: center;
}
.ll {
  font-family: "Poppins", sans-serif;
  color: rgb(23, 23, 23) !important;
height: 40px;
width: 168px;
border-radius: 5px;
  margin-bottom: 15px;
  font-size: 24px;
  text-align: center;
}
.answer {
  font-family: "Poppins", sans-serif;
  color: #8460de !important;
  margin-right: 10px;
  margin-bottom: 15px;
  -webkit-text-fill-color: unset !important;
  -webkit-text-stroke-width: 0 !important;
  -webkit-text-stroke-color: unset !important;
  filter: none !important;
  font-size: 80px;
  font-weight: bolder;

  margin-top: 20px;
  padding: 10px;


  text-align: center;
}

#inputBox input {
  width: 10rem;
}

/* ... (remaining CSS styles) ... */

#inputBox::before,
#inputBox::after {
  content: "";
  position: absolute;
  top: -1rem; /* Adjust the position of the wave to be visible at the top */
  width: 100%;

  z-index: -1; /* Places the pseudo-elements behind the content */
}


.bars {
  position: absolute;
  left: 0;
  bottom: 5rem;
  display: flex;
  flex-direction: column;
  z-index: 1001;
}

.bars .bar {
  width: 2rem;
  border: 1.5px solid #eee;
  margin-bottom: 2rem;
}

.text {
  font-family: "Poppins", sans-serif;
  transform: rotate(45deg);
  font-size: 24px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: end;
}

.bubble {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 5rem;
  height: 5rem;
  background-color: steelblue;
  position: absolute;
  top: -20px;
  color: white;
  border: 0.25rem solid #eee;
  filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.25));
  left: calc(50% - 10px);
  border-radius: 80% 0 55% 50% / 55% 0 80% 50%;
  pointer-events: none;
  background-position: 50%;
  transform: rotate(-45deg);
  background-repeat: no-repeat;
  background-size: 100% 200%;
  animation: raindrop 1s infinite linear;
  font-size: 24px;
}

@keyframes raindrop {
  0% {
    background-position: 50% 0%; /* Start from center vertically */
  }

  100% {
    background-position: 50% 100%; /* Move to bottom */
  }
}

#textbox {
  font-family: "Poppins", sans-serif;
  text-align: center;
  outline: none;
  border: none;
  height: 3.2rem; /* Increased height */
  font-size: 32px;
  color: white;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.25);
  border: none;
  padding: 5px;
  width: 15rem; /* Increased width */
}
@keyframes burst {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
  }
}

.burst {
  animation: burst 0.5s ease-out forwards;
}
.background-clips{
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;

}
.modal-header {
  text-align: center;
  margin-bottom: 10px;
}

.modal-header img {
  max-width: 50%; /* Set the maximum width to 50% of the parent container */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Make the image a block-level element */
  margin: 0 auto; /* Center the image horizontally */
}
.modal-content iframe {
  margin-top: 20px; /* Added margin-top for the iframe */
}

.homeBtn {
  position: absolute;
  top: 145px; /* Adjust the top position as needed */
  left: 10px;
  z-index: 1;

}

/* Style the home button */
.homeBtn button {
  font-family: "Poppins", sans-serif;
  background-color: transparent;  
  font-size: 16px; 
  border: none;
  font-weight: bolder;
  border-radius: 5px;
  padding: 15px 20px;
  cursor: pointer;
  /* box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2); */
  transition: background-color 0.3s ease;
}

/* Add a hover effect */
/* .homeBtn button:hover {
  background-color: #c2b7b7;
} */

  
@media (max-width: 480px) {
  /* Styles for screens with a maximum width of 480px (smartphones) */
  .container {
    max-width: 95%;
    padding: 0.5rem;
  }

  .modal-content {
    width: 90%;
    margin: 40% auto;
  }

  .modal-content p {
    font-size: 16px;
  }

  .modal-header img {
    max-width: 50%;
  }

  .modal-content iframe {
    height: 150px;
    width: 350px;
  }
}
