body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #f7e6ff;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 40px auto; /* auto on the left and right centers the container */
  padding: 20px;
  width: 80%; /* or whatever width you prefer */
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px; /* optional: rounded corners */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); /* optional: a light shadow for depth */
}

#shortDesc {
  margin: 5px 0 5px 0;
}

h1 {
  color: #0d264e;
  font-size: 40px;
  margin: 5px 0 2px 0;
}

.game {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* This centers the children horizontally */
}

#game-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 15px;
  border: 3px solid #d1e2ff; /* Light bluish tint */
}

#sentence {
  font-size: 30px;
  font-weight: 600;
  margin: 20px 0;
  padding: 20px;
  border-radius: 10px;
  background-color: #e0e5f1;
}

#questionNumber {
  margin-top: 5px;
}
.option-button {
  background-color: #3a85ff;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 20px;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.option-button:hover {
  background-color: #2a65cc;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.instructions {
  background-color: #e0e6ff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.instructions h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.instructions p {
  font-size: 18px;
}

#close-btn {
  background-color: #ff6666;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}

#next-button {
  display: none;
  align-content: center;
  background-color: #136c2e;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  margin-top: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

#restart-button {
  display: none;
  align-content: center;
  background-color: #f16908;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  margin-top: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

#close-btn:hover {
  background-color: #e63939;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

.overlay-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  text-align: center;
}

#showInstructions,
#closeInstructions {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  background-color: #3a85ff;
  color: white;
  border-radius: 10px;
  transition: background-color 0.3s;
}

#showInstructions:hover,
#closeInstructions:hover {
  background-color: #2a65cc;
}

.overlay-content ul {
  list-style-type: none;
  padding-left: 0;
  text-align: left;
}

.overlay-content li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
}

.overlay-content li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3a85ff;
  font-size: 1.5em;
  line-height: 0.8em;
}

#display-sentence {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

#status-message {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.highlighted {
  color: green;
  font-weight: bold;
  text-decoration: underline;
}

.option-button:disabled {
  background-color: #b2b2b2; /* Or any other shade that indicates a disabled state */
  cursor: not-allowed; /* Change the cursor to indicate non-clickable area */
}
.progress-clock {
  position: relative;
  width: 100px; /* Adjust as needed */
  height: 100px; /* Adjust as needed */
}

.progress-svg {
  transform: rotate(-90deg); /* Start the progress from the top */
  width: 100%;
  height: 100%;
}

.progress-background,
.progress-bar {
  stroke-linecap: round;
}

.progress-bar {
  stroke-dasharray: 301.44; /* 2 * 3.14159265 * 48 (2 * pi * r) */
  stroke-dashoffset: 301.44; /* This is also the circumference of the circle */
}

/* Media queries for enhanced responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 30px;
  }

  #game-word {
    font-size: 26px;
  }

  .option-button,
  #close-btn {
    font-size: 20px;
  }

  .instructions h2,
  .instructions p {
    font-size: 18px;
  }
}
