@import url('normalize.css');
@import url('typography.css');
@import url('common.css');

#app {
  background-color: #060807;
  background-image: url('/img/backgrounds/index-top.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: 5%;
  color: #fff;
  min-height: 100vh;
  padding: 100px 0;
  font-family: 'Helvetica Now Display', sans-serif;
  overflow: hidden;
  h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 72px;
    margin-top: 20px;
    i {
      font-style: italic;
    }
  }
}

.hero {
  flex-direction: column;
  gap: 20px;
  text-align: center;
  h2 {
    font-size: 32px;
    font-weight: 300;
    margin-top: 32px;
  }
}

.hero-buttons {
  margin-top: 32px;
  width: 520px;
  justify-content: space-between;
  justify-self: center;
  button {
    width: 247px;
    padding: 12px 0;
  }
}

#early-access-form {
  padding-top: 32px;
  margin-top: 600px;
  width: 500px;
  justify-self: center;
  h1 {
    text-align: center;
  }
  input,select {
    margin-top: 32px;
    width: 100%;
    background-color: transparent;
    color: #ffffff;
    padding: 16px;
    border: none;
    border-bottom: 1px solid #ffffff;
    font-size: 16px;
  }
  option {
    color: #000;
  }
  button {
    margin-top: 32px;
    width: 100%;
  }
}

.info-top {
  margin-top: 180px;
  p {
    margin-top: 24px;
  }
  .info-cards {
    margin-top: 80px;
    display: flex;
    justify-content: space-around;
    font-size: 20px;
  }
  .info-card {
    width: 300px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    img {
      margin: 0 auto;
    }
  }
}

.info-bottom {
  margin-top: 180px;
  .heading-extrabold {
    font-size: 60px;
    display: flex;
    img {
      margin: 0 32px;
    }
  }
  .info-cards {
    margin-top: 36px;
    display: flex;
    justify-content: space-around;
    font-size: 20px;
  }
  .info-card {
    width: 393px;
    border: 1px solid #606D76;
    border-radius: 7.27px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    h2 {
      margin: 0;
      font-size: 20px;
      font-weight: 800;
    }
    p {
      margin-top: 8px;
      font-size: 16px;
    }
  }
}

.foot {
  margin-top: 180px;
  text-align: left;
  font-size: 14px;
  position: relative;

  .footer-bg {
    position: absolute;
    right: 0;
    bottom: 32%;
    z-index: 0;
    transform: scale(1.7);
  }
  .card-extrabold {
    position: relative;
    z-index: 1;
    margin-top: 32px;
    width: 600px;
    .heading-extrabold {
      font-size: 86px;
    }
    p {
      margin-top: 16px;
      font-size: 20px;
    }
  }
  .on-path-to-launch {
    position: relative;
    z-index: 1;
    text-align: right;
    margin-top: 900px;
    p {
      margin-top: 32px;
      font-size: 20px;
    }
  }
}

.footer-bottom {
  margin-top: 180px;
  position: relative;
  z-index: 1;
  p {
    font-size: 16px;
  }
  .heading-extrabold {
    font-size: 245px;
  }
}

.mobile {
  display: none;
}

@media (max-width: 1024px) {
  .logo {
    width: 58%;
  }
  .mobile {
    display: block;
  }
  #app {
    h1 {
      font-size: 32px;
      line-height: 48px;
    }
    background-position-y: 12%;
  }
  #early-access-form {
    width: 58%;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    a:nth-of-type(2) {
      margin-top: 32px;
    }
  }
  #early-access-form {
    margin-top: 120px;
  }
  .info-top {
    margin-top: 120px;
    h1 {
      text-align: center;
    }
    p {
      text-align: center;
      width: 344px;
      justify-self: center;
    }
    .info-cards {
      margin-top: 48px;
      flex-direction: column;
      justify-self: center;
      gap: 54px;
    }
  }
  .info-bottom {
    margin-top: 80px;
    .heading-extrabold {
      justify-self: center;
      flex-direction: column;
      gap: 24px;
      span {
        font-size: 32px;
      }
      img {
        width: 67px;
        margin: 0 auto;
      }
    }
    .info-cards {
      margin-top: 48px;
      flex-direction: column;
      justify-self: center;
      gap: 54px;
    }
  }
  .foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    .footer-bg {
      bottom: 38%;
    }
    h1, p {
      text-align: center;
    }
    p {
      margin-top: 0 !important;
    }
    .heading-extrabold {
      text-align: center;
      font-size: 48px !important;
    }
    .on-path-to-launch {
      margin-top: 360px;
    }
  }
  .footer-bottom {
    margin-top: 110px;
    h1 {
      font-size: 64px !important;
    }
    p {
      width: 330px;
      text-align: left;
      margin-top: 32px !important;
    }
  }
}
