:root {
  --color-border: #e5e5e5;
  --color-surface: #f8f6fc;
  --color-primary: #65558f;
  --color-background: #fff;
  --color-active: #f31d65;
  --color-link: #4b9fe5;
  --color-bright: #bba2ff;
  --header-height: 60px;
}

/* ------------------------------- */
/* BASE ELEMENT STYLES */
/* ------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #444;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  @media (max-width: 500px) {
    font-size: 16px;
  }
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.5em;
  color: var(--color-primary);
}

p {
  line-height: 1.7;
}

input[type="text"],
input[type="email"],
textarea {
  box-sizing: border-box;
  border: solid 1px var(--color-border);
  background: var(--color-background);
  padding: 18px;
  border-radius: 5px;
  display: block;
  margin: 10px 0 20px 0;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

button {
  font-size: 16px;
  padding: 18px 50px;
  border: none;
  border-radius: 30px;
  background-color: var(--color-primary);
  color: white;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

button:disabled {
  opacity: 0.5;
  cursor: pointer;
}

section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 50px;

  @media (max-width: 500px) {
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: 10px;
  }
}

.alert {
  color: #7f8f55;
  margin-top: 5px;
  margin-bottom: 20px;
  line-height: 1.5em;
}

.alert-error {
  color: #ed004b;
  margin-top: 5px;
  margin-bottom: 20px;
  line-height: 1.5em;
}

/* ------------------------------- */
/* HEADER */
/* ------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: solid 1px var(--color-border);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  max-width: 1200px;
  margin: 0 auto;

  li {
    padding: 20px;
    text-align: left;

    @media (max-width: 600px) {
      display: none;
    }
  }

  a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 16px;
  }

  a.active {
    color: var(--color-active);
  }
}

.nav-btn {
  padding: 10px 20px;
  background-color: var(--color-bright);
  color: #fff !important;
  font-weight: 600;
  border-radius: 50px;
}

.logo {
  flex-grow: 1;

  img {
    height: 25px;
    position: relative;
    top: -5px;
  }

  @media (max-width: 600px) {
    display: block !important;
    text-align: center !important;
  }
}

/* ------------------------------- */
/* ABOUT SECTION */
/* ------------------------------- */

.home-container {
  padding: 0 20px;

  h1 {
    font-size: 2em;
    margin-bottom: 3px;

    @media (max-width: 500px) {
      font-size: 1.75em;
    }
  }

  p {
    font-size: 21px;
  }

  strong {
    font-weight: 600;
    color: var(--color-bright);
  }
}

.main-phone-container {
  position: relative;
  margin-top: 40px;
}

.main-phone-graphic {
  max-width: 300px;
  margin: 30px auto;

  img {
    position: relative;
    border: none;
    box-shadow: none;
    width: 100%;
  }
}

.bubble {
  border-radius: 10px;
  border: solid 1px var(--color-border);
  box-shadow: 1px 1px 3px var(--color-border);
  position: absolute;

  @media (max-width: 900px) {
    display: none;
  }
}

.bubble-1 {
  left: 14%;
  top: 100px;
}

.bubble-2 {
  left: 18%;
  bottom: 125px;
}

.bubble-3 {
  left: 5%;
  top: 225px;
}

.bubble-4 {
  right: 20%;
  top: 125px;
}

.bubble-5 {
  right: 5%;
  bottom: 350px;
}

.bubble-6 {
  right: 15%;
  bottom: 75px;
}

/* ------------------------------- */
/* INTRO SECTION */
/* ------------------------------- */

#intro {
  /* background-color: var(--color-surface); */
  background-color: #f8f6ff;
}

.intro-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 50px 40px;

  @media (max-width: 1000px) {
    flex-direction: column;
  }
}

.intro-image {
  img {
    width: 100%;
    margin: 0 auto;
    max-width: 700px;

    @media (max-width: 1000px) {
      max-width: 400px;
    }
  }
}

.intro-text {
  text-align: left;
  max-width: 600px;

  h2 {
    font-weight: 600;
  }

  em {
    color: var(--color-bright);
    font-style: normal;
  }

  strong {
    color: var(--color-primary);
  }

  p {
    margin-bottom: 20px;
    line-height: 1.8;
  }
}

/* ------------------------------- */
/* FEATURES SECTION */
/* ------------------------------- */

.features-container {
  padding: 0 20px;
  max-width: 1300px;
  margin: 0 auto;

  ul {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  li {
    display: flex;
    flex-direction: column;

    list-style: none;
    text-align: left;

    width: 30%;
    min-width: 310px;
    max-width: 400px;

    margin: 10px;
    padding: 30px;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: var(--color-surface);
    border: solid 1px var(--color-border);

    position: relative;
    top: 0px;
    transition: all 0.5s ease-in-out;

    @media (max-width: 1400px) {
      width: 45%;
      max-width: 100%;
    }

    @media (max-width: 800px) {
      width: 100%;
      max-width: 100%;
    }

    h4 {
      font-weight: 600;
      font-size: 20px;
      margin-top: 25px;
      margin-bottom: 5px;
    }
  }
}

.features-container li:hover {
  box-shadow: 0px 3px 3px #eee;

  .feature-icon {
    background-color: #706199;
  }
}

.feature-icon {
  background-color: var(--color-bright);
  color: #fff;
  width: 30px;
  padding: 12px 10px;
  display: inline-block;
  border-radius: 10px;
  font-size: 28px;
  text-align: center;
  transition: all 0.5s ease-in-out;
}

/* ------------------------------- */
/* PARTNERS SECTION */
/* ------------------------------- */

.partnerships-container {
  min-height: 400px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-evenly;
  padding: 0 20px 80px;

  display: flex;
  flex-direction: row;
  text-align: left;

  p {
    max-width: 500px;
    margin-bottom: 20px;
  }

  img {
    @media (max-width: 800px) {
      display: none;
    }
  }
}

/* ------------------------------- */
/* GET NOTIFIED SECTION */
/* ------------------------------- */

#cta {
  padding-top: 60px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 0;
  overflow: hidden;
  background-color: var(--color-primary);
}

#cta-container {
  max-width: 1400px;
  min-height: 600px;
  margin: 0 auto;
  background-image: url("/static/images/rocket-launch.00d8199a1d7f.png");
  background-repeat: no-repeat;
  background-size: 500px;
  background-position: bottom center;
  display: flex;
  flex-direction: column;

  @media (max-width: 500px) {
    background-size: 300px;
    min-height: 500px;
  }

  h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
    color: #fff;
  }
}

.cta-form {
  input {
    display: inline-block;
    vertical-align: middle;
    max-width: 300px;
    border-radius: 50px;
    padding-left: 20px;
  }

  button {
    background-color: var(--color-bright);
    position: relative;
    top: -5px;
  }

  .alert {
    color: #fff;
  }
}

.form {
  max-width: 400px;
  margin: 10px 0;
}

/* ------------------------------- */
/* FOOTER */
/* ------------------------------- */

#footer {
  background-color: #534870;
  color: #fff;
}

.footer-container {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  ul {
    text-align: left;
    display: flex;
    flex-direction: row;
  }

  li {
    margin-left: 30px;
  }

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

/* ------------------------------- */
/* PRIVACY POLICY */
/* ------------------------------- */

.privacy-policy {
  text-align: left;
  max-width: 900px;
  padding: 0 20px;
  margin: 120px auto;
  line-height: 2em;

  h2 {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}
