:root {

  --blue-light: #5994a8;
  --blue-light-shade-50:#2d4a54;

  --blue-dark: #2c4953;
  --blue-dark-shade-50: #16252a;

  --off-white: #f0f0f0;
  --white-smoke: #e0e0e0;

  --light-grey: #b5b5c0;
  --grey: #757580;
  --dark-grey: #707070;
  --darker-grey: #464646;

  --dim-black: #252525;

  --text-light-mode: black;
  --text-dark-mode: var(--off-white);

  --header-back-light: var(--off-white);
  --header-back-dark: var(--dim-black);

  --screenshot-background-light: var(--blue-light);
  --screenshot-background-dark: var(--blue-dark);

  --testimonials-back-light: var(--white-smoke);
  --testimonials-back-dark: var(--darker-grey);

  --features-back-light: var(--off-white);
  --features-back-dark: var(--dark-grey);

  --footer-back-light: var(--blue-light-shade-50);
  --footer-back-light: var(--darker-grey);
  --footer-back-dark: var(--dim-black);

  --text-weight-light-light-mode: 300;
  --text-weight-regular-light-mode: 400;
  --text-weight-heavy-light-mode: 700;

  --text-weight-regular-dark-mode: 300;
  --text-weight-heavy-dark-mode: 500;

}

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local(''),
  url('/fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('/fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local(''),
  url('/fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('/fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local(''),
  url('/fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('/fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local(''),
  url('/fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('/fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: local(''),
  url('/fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('/fonts/roboto-v30-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: var(--text-weight-regular-light-mode);
  color: var(--text-light-mode);
  line-height: 1.5;
  margin: 0;
  background-color: var(--header-back-light);
}

h1{
  font-size: 1.5rem;
}

.has-text-centered {
  text-align:center !important
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.header-back {
  background-color: var(--header-back-light);
  position: sticky;
  top: 0px;
  border-bottom: 1px solid var(--light-grey);
}

.header {
  padding: 0.5rem 1rem;
  font-size: 1.4rem;
}

.header .logo {
  height: 2rem;
  width: 2rem;
  vertical-align: text-bottom;
  padding-right: .2rem;
}

.header .logo-text{
  font-size: 1.6rem;
  font-weight: var(--text-weight-heavy-light-mode);
}

.header a {
  color: black;
  text-decoration: none;
}

.splash-back {
  background-color: var(--screenshot-background-light);
  padding-bottom: 1rem;
}

.splash {
  padding: .5rem .5rem 0rem 1rem;
}

.splash-text {

}

.splash img {
  width: 100%;
  height: auto;
  display: block;
}

.center-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-store, .app-store {
  width: 300px;
}

.play-store img, .app-store img {
  height: auto;
}

#app-store-img {
  margin:6%;
  width:88%;
}

.screenshot {
  max-width: 250px;
  margin: 1rem auto 0;
}

.testimonials-back {
  background-color: var(--testimonials-back-light);
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 1rem;
}

.testimonial {
  max-width: 25rem;
  padding: 0 1rem;
}

q {
  font-style: italic;
  font-size: 1.2rem;
  font-weight: var(--text-weight-heavy-light-mode);
}

.testifier {
  font-weight: var(--text-weight-light-light-mode);
  line-height: 1.3;
}

.features-back  {
  background-color: var(--features-back-light);
}

.features {
  padding-bottom: 0.5rem;
}

.features h3 {
  display: inline-block;
  margin-bottom: -1rem;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.benefit {
  margin: 1rem;
  max-width: 25rem;
}

.footer-back {
  background-color: var(--footer-back-light);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 1rem 1rem 2rem;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}

.footer-item {
  padding: 0.5rem 0.5rem;
}


@media (prefers-color-scheme: dark) {
  body {
    font-weight: var(--text-weight-regular-dark-mode);
    color: var(--text-dark-mode);
    background-color: black;
  }

  .header-back {
    background-color: var(--header-back-dark);
    border-bottom: 1px solid var(--darker-grey);
  }

  .header a {
    color: var(--text-dark-mode);
  }

  .splash-back {
    background-color: var(--screenshot-background-dark);
  }

  .testimonials-back {
    background-color: var(--testimonials-back-dark);
  }

  q {
    font-weight: var(--text-weight-heavy-dark-mode);
  }

  .features-back {
    background-color: var(--features-back-dark);
  }

  .footer-back {
    color: white;
    background-color: var(--footer-back-dark);
  }

  footer a {
    color: var(--text-dark-mode);
  }

}

@media (min-width: 434px) and (max-width: 863px) {
  .testimonial {
    max-width: min(25rem, 42%);
  }

  .benefit {
    max-width: min(25rem, 42%);
  }
}

@media (min-width: 680px) {
  .splash {
    display: flex;
    flex-wrap: wrap;
    justify-content:flex-start;
    padding: .5rem .5rem 0rem 1rem;
  }

  .splash-text {
    max-width: 25rem;
    padding: 4rem 0rem 0rem 0rem;
  }

  .splash img {
    width: 100%;
    height: auto;
    display: block;
  }

}

/* For iPhone notch support */
@supports(padding: max(0px)) {
  .container {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}
