@import url(https://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,800,700,900);
body {
  font-family: "Raleway", Arial, sans-serif;
  color: rgba(0, 0, 0, 0.5);
}
a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
}
header {
  text-align: center;
}
header img {
  max-width: 250px;
  margin: auto;
  opacity: 0.5;
}
section {
  max-width: 750px;
  position: relative;
  margin: 0 auto;
  text-align: center;
}
section.promo {
  margin-top: 6.5em;
}
section.promo a {
  color: #7ed321;
}
form {
  padding-top: 2.5em;
  position: relative;
  max-width: 860px;
  text-align: left;
  font-size: 2.5em;
  margin: 0 auto;
  height: auto;
  font-weight: bold;
}
form input {
  margin-top: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: block;
  width: 100%;
  border: none;
  border-bottom-color: rgba(0, 0, 0, 0.8);
  border-bottom-style: groove;
  border-bottom-width: thin;
  color: rgba(0, 0, 0, 0.8);
  font-size: 1em;
  outline: none;
}
form .submit {
  display: none;
}
.results {
  padding-top: 2em;
  display: none;
  font-size: 1.5em;
  text-align: left;
}
.results ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.results ul li span::before {
  content: "";
  border-radius: 50%;
  margin: auto;
  margin-left: 0.5em;
  margin-right: 0.25em;
  width: 0.5em;
  height: 0.5em;
  background: #7ed321;
  display: inline-block;
}
.results ul li span {
  color: #7ed321;
  font-size: 0.5em;
}
.answer {
  display: none;
  text-align: center;
}
.answer .fail {
  display: none;
}
.answer .synonyms {
  border-radius: 3px;
  padding: 0.75em 1em;
  line-height: 1;
  display: inline-block;
  margin: 2em 0 0.5em 0;
  text-align: center;
  cursor: pointer;
  border: 2px solid;
  border-color: rgba(0, 0, 0, 0.5);
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}
.spinner {
  display: none;
  width: 30px;
  height: 30px;
  background-color: #7ed321;
  margin: 100px auto;
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
}
@-webkit-keyframes rotateplane {
  0% {
    -webkit-transform: perspective(120px);
  }
  50% {
    -webkit-transform: perspective(120px) rotateY(180deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
  }
}
@keyframes rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}
@media screen and (max-width: 44em) {
  header {
    font-size: 1em;
  }
  section {
    padding: 1em 1em 1em;
    font-size: 0.8em;
  }
}
