body {
  font-family: 'Segoe UI', sans-serif;
  background: #1c1c1c;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

#sentence {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#input {
  width: 100%;
  height: 100px;
  font-size: 1rem;
  padding: 10px;
  border: none;
  border-radius: 5px;
  resize: none;
}

.stats {
  margin-top: 20px;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #00b894;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.stats span {
  transition: transform 0.3s ease, opacity 0.3s;
}

.stats span.animate {
  transform: scale(1.3);
  opacity: 1;
}
body.light {
  background: #f4f4f4;
  color: #000;
}

body.light textarea {
  background: #fff;
  color: #000;
}

body.light button {
  background: #0984e3;
}

body {
  transition: background 0.3s, color 0.3s;
}
