@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

html,
body {
  margin: 0 auto;
  display: flex;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  min-height: 100dvh;
}

a {
  color: #6f05f8;
}

body {
  background: #010101 url("images/nasa-Q1p7bh3SHj8-unsplash.jpg");
  background-position-y: -10%;
  background-repeat: no-repeat;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

header {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  width: 100%;
  margin-top: 0.75rem;
}

#lockup {
  display: flex;
  align-items: center;
  gap: 4px;
}

header img {
  width: 30px;
  height: 30px;
}

header p {
  height: 30px;
  margin: 0;
  font-size: 26px;
  align-items: center;
  padding-top: 2px;
}

main {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

#badge {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

#badge img {
  width: 150px;
}

#tagline {
  color: #fff;
  font-size: 3rem;
  text-align: center;
  line-height: 3rem;
  width: 100%;
}

#tagline span {
  color: #6f05f8;
}

#tagline p {
  margin: 0;
  padding: 0 1.5rem;
}

#cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 20px;
}

#cta p {
  color: #6f05f8;
  text-transform: uppercase;
  font-size: 1.8rem;
  margin: 0;
}

#cta form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 10px;
  width: 90%;
}

#cta input {
  padding: 0.8rem 2rem;
  font-size: 1.4rem;
  background: transparent;
  color: #fff;
  border: 2px solid #a5a5a5a1;
  border-radius: 100px;
  max-width: 400px;
  width: 80%;
}

#cta button {
  background: #6f05f8;
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 0.8rem 5rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  cursor: pointer;
}

#cta #thanks {
  color: #fff;
  font-size: 1.4rem;
  display: none;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #6f05f8;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
  box-sizing: border-box;
}

#cta #thanks.show {
  display: flex;
}

@media (max-height: 500px) and (orientation: landscape) {
  body {
    background-position-y: 10%;
  }

  main {
    padding: 50px 0;
  }

  #tagline {
    font-size: 4rem;
    line-height: 4rem;
  }

  #tagline p {
    padding: 0;
  }
}

@media (min-width: 1024px) and (orientation: landscape) {
  body {
    background-position-y: -50%;
  }

  header {
    justify-content: start;
    margin-top: 0;
  }

  header #lockup {
    padding: 0.5rem;
  }

  #badge img {
    width: 250px;
  }

  #tagline {
    font-size: 4rem;
    line-height: 4rem;
  }

  #tagline p {
    padding: 0;
  }

  #cta p {
    font-size: 2rem;
  }

  #cta form {
    flex-direction: row;
    align-items: start;
  }

  #cta input {
    padding: 0.6rem 1rem;
    font-size: 1.2rem;
  }

  #cta button {
    padding: 0.7rem 2rem;
    font-size: 1.2rem;
  }
}
