*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  --black: #262626;
  --green: #00a19b;
}

@font-face {
  font-family: "Satoshi Variable";
  src: url("/assets/Satoshi-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

body {
  font-family: "Satoshi Variable", sans-serif;
  font-weight: 500;
  background: var(--black);
}

header {
  max-width: 80%;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
}

header img {
  max-width: 85%;
}

main {
  margin-top: 5rem;
}

main #hero {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

main #hero p {
  text-align: center;
  color: white;
  font-size: 2rem;
}

main #hero a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--green);
  text-align: center;
  width: 80%;
  padding-left: 2rem;
  padding-right: 2rem;
  height: 6rem;
  border-radius: 5rem;
  text-decoration: none;
  transition: background-color 0.25s ease-out;
}

main #hero a:hover {
  background: #006e6a;
}

main #hero a img {
  color: white;
  font-size: 2rem;
  width: 2.5rem;
}

main #hero a span {
  font-family: "Satoshi Variable", sans-serif;
  font-weight: 500;
  color: white;
  font-size: 2rem;
}

#features {
  margin-top: 6rem;
  background-color: var(--green);
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 2rem;
  gap: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#features .rec {
  background-color: white;
  border-radius: 5rem;
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  align-items: center;
  padding-left: 3rem;
  padding-right: 3rem;
  height: 8rem;
}

#features .rec img {
  width: 3rem;
}

#features .rec p {
  font-family: "Satoshi Variable", sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
}

footer {
  display: flex;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: flex-end;
  margin-top: 4rem;
  margin-bottom: 1rem;
}

footer nav {
  display: flex;
  gap: 2rem;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 2rem;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 810px) {
  main #hero a span {
    font-family: "Satoshi Variable", sans-serif;
    font-weight: 500;
    color: white;
    font-size: 1.5rem;
  }

  main #hero a img {
    color: white;
    font-size: 1.75rem;
    width: 2rem;
  }

  #features .rec p {
    font-family: "Satoshi Variable", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
  }

  footer a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.5rem;
  }
}

@media (max-width: 428px) {
  main #hero {
    max-width: 85%;
  }

  main #hero a {
    width: 90%;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 4rem;
  }

  main #hero p {
    text-align: center;
    color: white;
    font-size: 1.25rem;
  }

  main #hero a span {
    font-family: "Satoshi Variable", sans-serif;
    font-weight: 500;
    color: white;
    font-size: 1rem;
  }

  main #hero a img {
    color: white;
    font-size: 2rem;
    width: 1.5rem;
  }

  #features .rec {
    background-color: white;
    border-radius: 5rem;
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    align-items: center;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    height: 6rem;
  }

  #features .rec img {
    width: 2rem;
  }

  #features .rec p {
    font-family: "Satoshi Variable", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
  }

  footer a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.25rem;
  }
}
