html{
  background-color: #303030;
  background-image: url('/assets/images/bg2.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  font-size: 10px;
  font-family: 'Slabo 27px', serif;
  height: 100%;
}
body {
  /*background: -webkit-radial-gradient(center ellipse, rgba(255,255,255,.04) 0%,rgba(0,0,0,1) 100%);*/
  /*background: radial-gradient(ellipse at center, rgba(255,255,255,.04) 0%,rgba(0,0,0,1) 100%);*/
  height: 100%;
  width: 100%;
}

main {
  box-sizing: border-box;
  color: white;
  left: 50%;
  max-height: 100vh;
  overflow-y: auto;
  padding: 0 16px;
  position: absolute;
  text-align: center;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1em;
  margin: 3rem 0;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.14), 0px 3px 1px rgba(0, 0, 0, 0.2), 0px 1px 5px rgba(0, 0, 0, 0.12);

  white-space: normal;
}

.headline {
  /*font-size: 8.4rem;*/
  margin-bottom: 0;
}

.headline img {
  max-width: 100%;
}

.tagline {
  font-size: 3.6rem;
}

.instruction-text {
  font-size: 2rem;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.14), 0px 3px 1px rgba(0, 0, 0, 0.2), 0px 1px 5px rgba(0, 0, 0, 0.12);
}

.response-text {
  border-radius: .2rem;
  box-sizing: border-box;
  display: inline-block;
  font-size: 1.6rem;
  max-width: 67%;
  min-width: 28rem;
  padding: 0;
  -webkit-transition: height .5s, padding .5s;
  transition: height .5s, padding .5s;
}

.response-error {
  background-color: #d32f2f;
  height: auto;
  padding: .5rem 1rem;
}

.response-success {
  background-color: #43a047;
  height: auto;
  padding: .5rem 1rem;
}

.text-input {
  background-color: rgba(255, 255, 255, 0.85);
  border: 0;
  border-radius: .2rem;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.87);
  font-size: 2rem;
  padding: 1rem 1em;
}

.text-input:focus,
.text-input:valid {
  background-color: white;
  outline: none;
}

.btn-submit {
  background-color: #0b5572;
  border: 0;
  border-radius: .2rem;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  color: white;
  font-size: 2rem;
  padding: .5em 1em;
}

.btn-submit:focus,
.btn-submit:hover {
  background-color: #437c95;
  cursor: pointer;
}

.btn-submit:active {
  background-color: #0a445e;
}


.definition {
  display: inline-block;
  line-height: 2em;
  /*margin: 2rem 0;*/
  text-align: left;
}

.syllables {
  font-size: 3rem;
}

.part-of-speech {
  font-size: 1.6rem;
  opacity: .7;
}

.meaning {
  font-size: 2rem;
}
