* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #1f4037, #99f2c8);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 30px 40px;
  max-width: 700px;
  width: 100%;
  text-align: center;
}

h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.prompt-box {
  font-size: 1.2rem;
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 10px;
  min-height: 80px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.5;
}

#prompt span.correct {
  color: green;
  font-weight: bold;
}

#prompt span.incorrect {
  color: red;
  font-weight: bold;
}

textarea#input {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 15px;
  font-size: 1rem;
  margin-top: 10px;
  resize: none;
  transition: border-color 0.3s;
}

textarea#input:focus {
  outline: none;
  border-color: #1f4037;
}

#result {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  font-size: 1.1rem;
}

.result-item {
  background-color: #f8f8f8;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

button {
  background-color: #1f4037;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #167a5d;
}
