/* CSS support shouldiprefix.com */

/* https://rsms.me/inter/ */
@import url("https://rsms.me/inter/inter.css");

html {
  font-family: "Inter", sans-serif;
}

@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter var", sans-serif;
  }
}

html {
  /*height: 100%;*/
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(40,26,7,1) 25%, rgba(36,36,36,1) 41%, rgba(20,20,20,1) 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);
}

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: 150px;
  background-color: #281a07;
  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,
.manage-subscription-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: 4rem auto 8rem auto;
}

.request-access-form:hover,
.manage-subscription-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, #f2a60d 0%, #f2800d 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-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;
}

.subtext {
  margin: 6px 0 0 0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

.button-submit:focus {
  background: linear-gradient(180deg, #fa0 0%, #ff8000 100%);
}

#logotype {
  font-size: 18px;
  font-weight: 700;
}

#logout-button {
  position: absolute;
  right: 60px;
  font-size: 13px;
  font-weight: 500;
}

.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;
}

#thanks {
  margin: 0 0 10px 0;
}

#expense {
  margin: 0 0 30px 0;
  opacity: 0.7;
}

#back {
  font-size: 13px;
}

#trivs-icon {
  height: 100px;
}

.nobr {
  white-space: nowrap;
}

.legal {
  opacity: 0.3;
}

.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;
}

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

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

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

.social img {
  width: 20px;
  border-radius: 0;
}

.success {
  margin: 80px 0 0 0;
}

.or {
  margin: 50px 0 30px 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;
}

.loading-spinny {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #222;
  border-top-color: #fff;
  animation: 1s spin linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@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;
  }

  #logout {
    right: 30px;
  }

  #expense {
    font-size: 80%;
    font-weight: 400;
  }

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