.container {
  font-family: "Poppins", sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100000;
  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);
  background-image: url('src/images/purple-bg.jpg'); /* Use forward slashes (/) in the file path */
  background-size: cover; /* Make sure the background image covers the entire container */
  background-position: center; /* Center the background image */
}
#question{
  font-family: "Poppins", sans-serif;
  font-weight: bolder;
  font-size: 24px;
  color: #ffffff;
  width: 500px;

}

.menu {
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  background-color: #ffffff;
  color: #ffffff;
  padding: 0 20px;
  width: 30%; /* Increase width to 80% */
}

.menu h2 {
  font-family: "Poppins", sans-serif;
}

.panel {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel-row {
  display: flex;
}

.square {
  height: 200px;
  width: 200px;
  border: 5px solid #ffffff;
  background-color: #8460de;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.square:hover {
  background-color: #dfa3ee;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-conten {
  background-color: #fffffffb;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}
#start-btn {
  background-color: #d1ae45;
  width: 100px;
  border-radius: 5px;
  color: #ffffff;
}
#reset-btn {
  background-color: #d1ae45;
  width: 100px;
  border-radius: 5px;
  color: #ffffff;
}
#menu-score{
  width: 20px;
  text-align-last: center;
  color: black;

}
#menu-time{
  width: 20px;
  text-align-last: center;
  color: black;
}
#time-left,
#score {
  font-family: "Poppins", sans-serif;
  color: black;
}
.howToPlayBtn {
  position: absolute;
  top: 10px;
  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: #8460de; /* Use the same purple color as the game */
  color: #fff; /* Set the text color to white */
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: background-color 0.3s ease; /* Add a transition effect */
}

/* Add a hover effect */
.howToPlayBtn:hover {
  background-color: #6c4cc4; /* Slightly darker purple on hover */
}
.modal {
  display: none;
  position: fixed;
  z-index: 2; /* Ensure the modal is above other elements */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: none;
  width: 45%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.modal-content p {
  font-size: 24px;
  color: #8460DE;
  margin-bottom: 20px;
}
.modal-content .popButton {
  padding: 10px 20px;
  font-size: 24px;
  background-color: #8460de;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content .popButton:hover {
  background-color: #8460de;
}
/* Position the button at the top-left corner */
.howToPlayBtn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.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: 35%;
  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: #3FBAD9;
  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: 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: #793DAE;  
  /* color: #8460de;  */
  border: none;
  font-weight: bolder;
  background-color: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
 }

/* Add a hover effect */
.howToPlayBtn:hover {
  background-color: #c2b7b7; /* Slightly darker purple on hover */
}

.close {
  color: #8460DE;
  float: right;
  font-size: 24px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.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: #793DAE;  
  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;
}
