/* Add your CSS styles for the game interface here */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.container {
  text-align: center;
  margin-top: 50px;
}

h1 {
  color: #333;
  font-size: 36px;
}

.question {
  font-size: 28px;
  margin-bottom: 20px;
}

input[type="number"] {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 2px solid #ddd;
  font-size: 20px;
  transition: border-color 0.3s ease;
}

input[type="number"]:focus {
  border-color: #007bff;
}

button {
  padding: 14px 28px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

.result {
  margin-top: 20px;
  font-size: 24px;
}

.timer {
  font-size: 20px;
  margin-bottom: 20px;
  color: #666;
}

.water-bottle {
  width: 100px;
  height: 200px;
  background-color: #f8f9fa;
  border: 3px solid #333;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 40px;
  position: relative;
  border-radius: 15px;
}

.water {
  width: 100%;
  height: 0%;
  background-color: #007bff;
  position: absolute;
  bottom: 0;
  transition: height 0.5s;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Modal styles */
.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.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
}

.modal-content h2 {
  color: green;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}