body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  width: 400px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

h1 {
  margin-bottom: 20px;
}

.start-container, .practice-container, .congratulation-container {
  margin-bottom: 20px;
}

input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

button:hover {
  background-color: #45a049;
}

.error-message {
  color: red;
  font-weight: bold;
}

textarea {
  resize: none;
}

#countMessage, #mistakeCountMessage {
  margin-top: 10px;
  font-size: 18px;
}

.congratulation-container {
  display: none;
}

#statsMessage {
  font-size: 20px;
  margin-top: 10px;
}

#completionMessage {
  font-size: 24px;
  font-weight: bold;
}

/* Style for random image and message pop-up */
.random-image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  display: none;
}

.random-image-container img {
  max-width: 200px;
  max-height: 200px;
}

.random-image-container p {
  color: white;
  font-size: 16px;
  margin-top: 10px;
}
