@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Pathway+Extreme:opsz,wght@8..144,600&display=swap");

:root {
  /* colors */
  --background: #f3f4f5;
  --primary: #233144;
  --secondary: #ee7a3f;
  --light-text: #ffffff;
  --dark-text: #000000;

  /* fonts */
  --brand-font: "Pathway Extreme", sans-serif;
  --brand-font-weight: 600;
  --body-font: "Open Sans", sans-serif;

  /* radius */
  --button-radius: 10px;

  /* gutters */
  --gutter: 15%;
}

/* core */

body {
  background-color: var(--background);
  font-family: var(--body-font);
  font-size: 16px;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: var(--brand-font);
  font-weight: var(--brand-font-weight);
  font-size: 48px;
  margin: 0;
  padding: 0;
}

h2 {
  font-family: var(--brand-font);
  font-weight: var(--brand-font-weight);
  font-size: 24px;
  padding: 0;
  margin: 0;
}

h3 {
  font-family: var(--brand-font);
  font-weight: var(--brand-font-weight);
  font-size: 20px;
}

p {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

button {
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--button-radius);
  padding: 8px 48px;
  background-color: var(--light-text);
  color: var(--primary);
  cursor: pointer;
}

.button__dark {
  background-color: var(--primary);
  color: var(--light-text);
}

a {
  text-decoration: none;
  color: var(--primary);
}

a:hover {
  text-decoration: underline;
}

input {
  border: none;
  border-radius: var(--button-radius);
  padding: 7px 16px;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 16px;
}

/* navbar */

#navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #e9eaeae2;
  backdrop-filter: blur(5px);
  color: var(--primary);
  height: 64px;
  position: fixed;
  width: 100%;
  border-bottom: 0.5px solid #d0d0d0;
}

#navbar > * + * {
  margin: 0 32px;
}

.navbar__logo {
  margin-left: var(--gutter);
  cursor: pointer;
}

/* landing */

#landing {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-left: var(--gutter);
}

.landing__text {
  width: 40%;
}

.landing__text > * + * {
  margin-top: 32px;
}

.landing__image {
  width: 40%;
  margin-left: auto;
}

/* cards */

#cards {
  padding: 0 var(--gutter);
  gap: 32px;
  display: flex;
  flex-direction: column;
}

.cards__full {
  background-color: var(--primary);
  color: var(--light-text);
  border-radius: 42px;
  padding: 32px;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cards__full > .cards__text {
  width: 50%;
}

.cards__full > .cards__text > * + * {
  margin-top: 32px;
}

.cards__split {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  gap: 32px;
}

.cards__split > .cards__text {
  width: 25%;
  background-color: var(--secondary);
  color: var(--light-text);
  border-radius: 42px;
  padding: 32px;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

.cards__split--reverse {
  flex-direction: row-reverse;
}

.cards__full > .cards__image {
  max-width: 90%;
}

.cards__split > .cards__image {
  border-radius: 42px;
  object-fit: cover;
  background-color: var(--light-text);
}

/* footer */

footer {
  padding: 96px var(--gutter) 32px var(--gutter);
}

.footer__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  font-family: var(--brand-font);
}

/* legal */

#header {
  padding: 96px var(--gutter) 32px var(--gutter);
}

/* media query */

@media only screen and (max-width: 1700px) {
  .cards__full > .cards__text {
    width: 60%;
  }

  .cards__split > .cards__text {
    width: 40%;
  }

  .cards__split > .cards__image {
    width: 60%;
  }
}

@media only screen and (max-width: 1024px) {
  :root {
    --gutter: 8%;
  }

  #landing {
    gap: 32px;
  }

  .landing__text {
    width: 50%;
  }

  .landing__image {
    width: 50%;
  }

  .cards__full > .cards__text {
    width: 90%;
  }

  .cards__split {
    flex-direction: column;
  }

  .cards__split > .cards__text {
    width: calc(100% - 64px);
  }

  .cards__split > .cards__image {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  :root {
    --gutter: 16px;
  }

  #landing {
    flex-direction: column;
    padding-top: 64px;
    gap: 64px;
  }

  .landing__text {
    width: 100%;
  }

  .landing__image {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  #waitlist-success {
    font-size: 12px;
  }
}


/* form */

#sib-form {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
}