@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");
:root {
  --font: 100%/1.6 "Roboto";
  --background-color: #222;
  --text-color: #fff;
}

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

body {
  font: var(--font);
  background: var(--background-color);
  color: var(--text-color);
}

header {
  display: flex;
  justify-content: center;
  font-weight: normal;
  font-size: 1.1em;
  padding: 10px;
  background: #444;
}

.container {
  display: flex;
  justify-content: center;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  font-size: 1.2em;
  text-align: center;
}
.main span.hl {
  color: green;
  font-weight: bold;
}
.main .word {
  font-size: 3em;
  font-weight: normal;
  margin-bottom: 0.5em;
}
.main .type {
  padding: 7px;
  font-size: 1.1em;
  border-radius: 4px;
  outline: none;
  border: 1px solid #ddd;
  width: 450px;
  margin-bottom: 1em;
}
.main .game-state {
  margin-bottom: 2em;
}
.main .meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 2em;
}
.main .instructions {
  background: rgba(255, 255, 255, 0.2);
  padding: 1em;
  width: 500px;
}
.main .instructions h2 {
  font-size: 1em;
  margin-bottom: 0.5em;
}
.main .instructions p {
  line-height: 1.3;
  font-size: 0.8em;
}

.green {
  color: #00dd00;
}

.restartGameBtn,
.startGameBtn {
  padding: 1em;
  font-size: 2em;
  background: rgb(15, 98, 182);
  color: #fff;
  display: none;
  border: none;
  position: relative;
  margin: 1em auto;
  text-transform: uppercase;
  transition: all 0.3s ease-in;
}
.restartGameBtn:active,
.startGameBtn:active {
  top: -3px;
  box-shadow: none;
}

.startGameBtn {
  display: block;
}

.show {
  display: block;
}

.hide {
  display: none;
}

@keyframes inputSuccess {
  to {
    border: 5px solid #00dd00;
    box-shadow: 0px 0px 8px 4px #0e8b0e;
  }
}
.animate-success {
  animation: 0.5s ease-in 0s 1 reverse both inputSuccess;
}

/*# sourceMappingURL=main.css.map */
