html,body {
  margin: 0;
}

body.words-game {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;

  font-size: 8vh;
  font-weight: bolder;
}

div.target,div.placeholder {
  position: relative;
  margin: 0;
}

div.placeholder {
  color: rgba(0, 0, 0, 0);
}

div.target span {
  opacity: 0.2;
}

div.target span.finished {
  opacity: 0.4;
}

div.focus-highlight {
  position: absolute;
  z-index: -1;
  background-color: rgba(0, 255, 192, 0.25);
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 0px;
  transition: top 0.35s ease, left 0.35s ease, width 0.35s ease, height 0.35s ease;
}

div.new-char {
  color: black;
  position: absolute;
  top: 0px;
  left: 100vw;
  transition: left 0.8s ease-out;
}

div#score {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 2;
  padding-right: 20px;
  color: silver;
  text-shadow: 3px 3px 4px black;
}
