@font-face {
font-family: sant joan;
src: url(https://dl.dropbox.com/s/o5umfqvcshf0ugj/SantJoanDespiRegular.woff);
}

@font-face {
font-family: "mario kart ds";
src: url("https://dl.dropbox.com/s/3wmvmsjw8f69ve8/Mario-Kart-DS.ttf");
}

body {
  font-family: 'mario kart ds', monospace;
  background: #ffffff;
  color: #0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

h1{
    font-size: 360%;
    margin-bottom: 2.5%;
}

button {
  font-family: 'sant joan', monospace;
  background: #0f0;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

#quote {
  font-family: "Georgia", serif;
font-size: 130%;
}


.container {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgb(0, 0, 0);
  width: 100%;
  max-width: 700px;
  text-align: center;
}

textarea {
  width: 80%;
  align-items: center;
  height: 120px;
  margin-top: 1rem;
  font-size: 18px;
  padding: 1rem;
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 8px;
  resize: none;
  font-family: "Georgia", serif;
  caret-color: rgb(0, 0, 0);
}

button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 16px;
  background: #0f0;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  font-size: 1rem;
}

.correct {
  color: #0f0;
  opacity: 0.4; /* dimmed green when correct */
}

.incorrect {
  color: #f00;
  opacity: 1;
}

.active {
  text-decoration: underline;
}

.correct-word {
  font-weight: bold;
}

.incorrect-word {
  font-weight: bold;
  opacity: 0.6;
}

#input:disabled {
  opacity: 0.4;
  pointer-events: none;
  background: #000;
  color: #0f0;
  border: 1px solid #0f0;
}
