html {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;

  margin: 0;

  /* Default text settings */
  /* Type weight 100-900 in 100 increments; Medium is 500: http://www.webtype.com/info/articles/fonts-weights/ */
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);

  background-color: #161412;
}

header {
  flex: 0 0 auto;
  height: 60px;
  padding: 0 0 0 60px;
  display: flex;
  align-items: center;
}

main {
  flex: 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

footer {
  flex: 0 0 auto;
  height: 110px;
  background-color: #0f0d0a;
  padding: 20px 0 10px 60px;
}

a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

h1 {
  font-size: 60px;
  line-height: 0.9;
}

h2 {
  margin: 20px 0;
  font-size: 12px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fa0;
}

.request-access-form {
  display: flex;
  flex-wrap: wrap;
  width: 440px;
  max-width: 90%;
  padding: 6px;
  background: linear-gradient(180deg, rgba(255, 238, 204, 0.08) 0%, rgba(255, 255, 255, 0.11) 100%);
  border: 1px solid rgba(255, 238, 204, 0.05);
  border-radius: 3px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 170, 0, 0.1);
  align-items: center;
  margin: 40px auto 100px auto;
}

.request-access-form:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.14) 100%);
}

#email-input,
.email-input {
  flex: 1 1 auto;
  height: 50px;
  margin: 0 20px;
  padding: 0;
  background: none;
  border: none;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.3px;
  outline: none;
}

#email-input::placeholder,
.email-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.button-submit {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 0 30px 1px 30px;
  background: linear-gradient(180deg, #ff661a 0%, #ff4705 100%);
  border: none;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.15px;
}

button[disabled] {
  opacity: 0.33;
}

.button-submit > div {
  display: flex;
  flex-direction: column;
  margin: 12px 0;
}

#error-message,
.error-message {
  display: none;
  white-space: pre;
  font-size: 11px;
  line-height: 130%;
  margin: 3px;
}

.button-submit:focus {
  box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5);
}

.link {
  appearance: none;
  background: transparent;
  font: inherit;
  color: #fff;
  margin: 0;
  padding: 0;
  border: 0;
}

.link:active {
  outline: none;
}

.link:hover {
  cursor: pointer;
}

footer {
  font-size: 13px;
}

.nobr {
  white-space: nowrap;
}

.legal {
  opacity: 0.3;
  line-height: 150%;
}

.legal li {
  display: inline;
  margin: 0 16px 0 0;
}

.legal li:last-child {
  margin: 0;
}

ul.legal {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.or::before,
.or::after {
  content: "";
  display: inline-block;
  height: 1px;
  width: 40px;
  margin: 0 10px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.3);
}

.hidden {
  display: none;
}

@media only screen and (max-width: 500px) {
  form {
    flex-direction: column;
    align-items: stretch !important;
  }

  input {
    margin: 0 20px 10px 20px;
  }

  header {
    padding: 0 0 0 30px;
  }

  footer {
    padding: 20px 0 10px 30px;
  }

  .request-access-form {
    width: 90%;
  }
}
