:root {
  --primary: #00306b;
  --black: #000000;
  --gray: #5c5c5c;
  --light-gray: #F9F7F6;
  --bg-white: #ffffff;
  --bg-light: #e2eeff;
  --bg-light-purple: #f6ebff;
  --bg-dark: #191919;
  --text-dark: #241544;
  --text-light: #f2f6fb;
}

/* Global */

html {
  line-height: 1.4;
  font-family: Source Sans Pro, Helvetica, Arial, sans-serif;
  font-size: 10px;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Fira Sans', sans-serif;
  color: var(--text-dark);
  font-size: 1.6rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.background {
  position: absolute;
  background-color: var(--bg-light);
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}
@media (max-width : 540px) {
  .background {width: 100%; height: 20em;}
}

h1,h2,h3,h4,h5,h6 {
  margin: 0;
}

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

img {
  vertical-align: middle;
}

/*
  SubClasses
*/
.flex-space {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width : 540px) {
  .container-top {background-color: var(--primary);}
}

.pad-s {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.pad-m {
  padding-top: 3rem;
  padding-bottom: 0rem;
}
.pad-l {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.m-a {
  margin: 0 auto;
}

.mb-m {
  margin-bottom: 2rem;
}

.mb-lm {
  margin-bottom: 3.5rem;
}

.mb-l {
  margin-bottom: 5rem;
}
@media (max-width : 540px) {
  .mb-l {margin-bottom: 2rem;}
}

.mr-s {
  margin-right: 1rem;
}

.mr-m {
  margin-right: 2rem;
}

.text-center {
  text-align: center;
}

.text-light {
  color: var(--bg-white);
}

.section-title {
  font-size: 4.2rem;
  line-height: 1.1;
}

.section-paragraph {
  color: var(--text-dark);
  font-size: 1.5rem;
  opacity: 0.8;
}
/*
  Header Styles
*/
.header {
  --header-height: 74px;
  height: var(--header-height);
  background-color: var(--bg-white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.03);
  position: sticky;
}

.header__container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.header__container--logo {
  height: 40px;
}
.logo-text{
  font-size: 22px;
  line-height: 30px;
  color: var(--text-dark);
  margin-left:0.25em;
  vertical-align: bottom;
  letter-spacing: .03em;
}

.floating_navbar {
  background-color: var(--primary);
  height: 74px;
  position: absolute;
  z-index: -1;
  width: 100%;
  top: 0;
}

.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav__menu--item {
  color: var(--text-dark);
  padding: 10px 20px;
  opacity: 0.9;
  transition: opacity 100ms ease-in-out;
}

.nav__menu--item:hover {
  text-decoration: underline;
  opacity: 1;
}

.mobile-nav {
  /* position: fixed;  TODO Enable when we mobile nav links*/
  background: #fff;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: all 200ms ease-in-out;
  visibility: hidden;
}

.mobile-nav.open {
  transform: translateX(0%);
  visibility: visible;
}

.mobile-nav ul {
  flex-direction: column;
  display: flex;
}

.mobile-nav ul li a {
  color: var(--text-dark);
  font-size: 2.6rem;
  margin: 0.2rem 0;
  display: inline-block;
}
.mobile-nav ul li a.btn {
  color: var(--text-light);
  font-size: 1.6rem;
}

.mobilenav-toggle {
  height: 30px;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: relative;
  z-index: 12;
  display: none;
}
.mobilenav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-light);
  transition: transform 200ms ease-in-out, opacity 100ms ease-in-out;
}

.mobilenav-toggle.menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobilenav-toggle.menu-open span:nth-child(2) {
  opacity: 0;
}

.mobilenav-toggle.menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero-content {
  text-align: center;
  padding: 0 5rem;
}

.hero-content__innercontainer {
  margin-top: 3em;
  float:left;
  width:31em;
  margin-right:2em;
}
@media (max-width : 540px) {
  .hero-content__innercontainer {
    /* margin-top: 5em; */
    margin-right:2em;
    float:left;
    width:100%;
  }
}

.hero-content__title {
  font-size: 5.0rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.hero-content__paragraph {
  color: var(--text-dark);
  font-size: 1.8rem;
  opacity: 0.8;
  max-width: 50rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
}

.hero-cta a {
  display: inline-block;
}

.hero-cta a:nth-child(1) {
  margin-right: 1rem;
}

.hero-screen {
  background: #fff;
  position: relative;
}
.hero-screen__bg {
  position: absolute;
  top: 0;
  width: 100%;
  margin-top: -2px;
}

.hero-screen__image {
  max-width: 80rem;
  position: relative;
}

.hero-screen__image img {
  max-width: 100%;
  height: auto;
}

@media (max-width : 540px) {
  .screenshot-large {display: none;}
}

/* Features section */
.features-content {
  max-width: 60rem;
}

.features-list {
  display: grid;
  grid-gap: 1rem;
  margin-left: 5em;
  padding-top: 4em;
  padding-bottom: 2em;
}
@media (max-width : 540px) {
  .features-list {
    grid-gap: 2rem;
    margin-left: 0em;
    padding-top: 0em;
    padding-bottom: 0em;
  }
}

.feature-item {
  flex-direction: column;
}

.feature-item__icon {
  border-radius: 50%;
  height: 10rem;
  width: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--text-light);
  float: left;
  margin-right: 0.75em;
}

.feature-item__title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.feature-item__paragraph {
  opacity: 0.8;
  font-size: 1.75rem;
  line-height: 1.5;
}

.feature-icon-svg {
  width: 90px;
  height: 90px;
}

/*
  Testimonials Section
*/
#features {
  background: var(--bg-white);
}

#testimonials {
  background: var(--bg-light-purple);
}

.testimonials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(29rem, auto));
  grid-gap: 3rem;
}

.testimonial-item {
  padding: 0.5rem;
  position: relative;
}
.testimonial-item:nth-child(2) {
  transform: translateY(-2rem);
}

.testimonial-item__avatar {
  height: 6rem;
  width: 6rem;
  position: absolute;
  top: -6.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  border-radius: 50%;
  border-top: 4px solid var(--primary);
  border-left: 4px solid var(--primary);
}
.testimonial-item__avatar img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}

.testimonial-item__name {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
  font-size: 1.8rem;
}

.testimonial-item__text {
  font-size: 1.7rem;
  padding: 0 0.5rem;
  opacity: 0.8;
  line-height: 1.5;
}

.testimonial-item__text img {
  height: 3.2rem;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
  transform: translateY(-5px);
}

/*
  Pricing Section
*/
.pricing-content {
  margin-bottom: 8rem;
}

.plans-list {
  display: flex;
  flex-wrap: wrap;
}

.plan-item {
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-item:nth-child(1),
.plan-item:nth-child(3) {
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}
.plan-item:nth-child(1) {
  border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.plan-item:nth-child(3) {
  border-right: 2px solid rgba(0, 0, 0, 0.1);
}

.plan-item:nth-child(2) {
  background: var(--primary);
  flex: 1;
  margin-top: -3rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.plan-item:nth-child(2) > * {
  color: var(--text-light);
}

.plan-item__title {
  font-size: 2.2rem;
  opacity: 0.9;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2rem;
}

.plan-item__price {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6rem;
}

.plan-item__price--value {
  display: flex;
  justify-content: center;
}
.plan-item__price--value small {
  font-size: 2rem;
  font-weight: 600;
  margin-right: 0.1rem;
}

.plan-item__price--value .number {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: -1rem;
}
.plan-item__price--value span {
  align-self: center;
  margin-top: -1rem;
  opacity: 0.9;
}

.plan-item__features {
  list-style: none;
  padding: 0 1.2rem;
  margin-bottom: 1.6rem;
}

.plan-item__features--item {
  display: flex;
  align-items: center;
  padding: 0.8rem;
}
.plan-item__features--item ion-icon {
  font-size: 1.8rem;
  opacity: 0.7;
}

.plan-item__features--item span {
  margin-left: 1.4rem;
}

.plan-item__action {
  text-align: center;
}

/* Faq Section */

#faq {
  background: var(--bg-white);
}

.habit-diagram-container{
  flex: 3.25;
}
@media (max-width : 540px) {
  .habit-diagram-container{width: 100%;}
}

.faq-items-container{
  margin: auto;
  margin-left: 2em;
  flex: 4;
}
@media (max-width : 540px) {
  .faq-items-container{width: 100%;}
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.faq-item {
  flex-basis: 46%;
  padding: 2.0rem 0;
}

.faq-item__title {
  font-size: 2rem;
  opacity: 0.9;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.faq-item__paragraph {
  font-size: 1.4rem;
  opacity: 0.8;
  line-height: 1.5;
}

/*
  Newsletter Section
*/
#newsletter {
  background: var(--bg-dark);
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter-content__title {
  font-size: 3.2rem;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-align: center;
}

@media (max-width : 540px) {
  .newsletter-content__title {
    text-align: center;
  }
}

.newsletter-content__paragraph {
  color: var(--text-light);
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: 45rem;
  opacity: 0.8;
  text-align: center;
  margin-bottom: 2rem;
}

.newsletter-content__form {
  min-width: 45rem;
  display: flex;
}

.newsletter-content__form input {
  width: 100%;
  margin-right: 1rem;
}

.newsletter-content__form button {
  border: none;
  outline: none;
}

/*
  Footer
*/
#footer {
  background: var(--bg-dark);
  margin-top: auto; /* Pushes the footer to the bottom */
}

.footer-content {
  display: flex;
}

.footer-info {
  max-width: 40rem;
  margin-right: 10rem;
}

.footer-info p {
  font-size: 1.4rem;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.links {
  padding: 0 1.5rem;
  margin: 1rem 0;
}

.links span {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
  opacity: 0.9;
  margin-bottom: 1.2rem;
}

.links ul {
  list-style: none;
}

.links ul li a {
  font-size: 1.5rem;
  color: var(--text-dark);
  padding: 0.4rem 0;
  display: inline-block;
  position: relative;
}

.links ul li a::before {
  content: '';
  position: absolute;
  height: 1px;
  width: 0;
  background: var(--primary);
  bottom: 0;
  transition: width 100ms ease-in-out;
}

.links ul li a:hover::before {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
}

.footer-bottom__copyright {
  font-size: 1.4rem;
  color: var(--text-light);
  opacity: 0.8;
  line-height: 1;
}

.footer-bottom__social {
  list-style: none;
  display: flex;
}

.footer-bottom__social--item {
  color: var(--text-light);
  opacity: 0.7;
  margin: 0 0.8rem;
  transition: opacity 100ms ease-in-out;
}
.footer-bottom__social--item:hover {
  opacity: 1;
}

/*
  Components
*/
.btn {
  background: transparent;
  opacity: 1;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
  padding: 0.8rem 2.6rem;
  transition: transform 100ms ease-in-out;
  border-radius: 3px;
  color: var(--text-dark);
  display: inline-block;
  text-align: center;
}

.btn-dropdown {
  background: transparent;
  opacity: 1;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
  padding: 0.8rem 2.6rem;
  transition: transform 100ms ease-in-out;
  border-radius: 3px;
  color: var(--text-dark);
  display: inline-block;
  text-align: center;
}


.btn:hover {
  transform: translateY(-3px);
}

.btn__primary {
  background: var(--black);
  color: var(--text-light);
}

.btn__default {
  background: var(--text-light);
  color: var(--text-dark);
}

.input {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 1rem 1.6rem;
  outline: none;
  font-size: 1.4rem;
  color: var(--text-light);
}

.input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
  font-weight: 400;
  font-size: 1.3rem;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: 8px;
  margin-left: -68px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

/* features - slideshow section */
.features-slideshow-container {
  display: flex;
}

/* slidshow */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 280px;
  position: relative;
  margin-left: 10%;
}
@media (max-width : 540px) {
  .slideshow-container {display: none;}
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: gray;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  border-radius: 3px 0 0 3px;
  right: -15%;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: -15%;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.2);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 11px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ConvertKit Form */
.seva-form div{
  padding: 0 !important;
}
.seva-fields {
  margin-top: 0 !important;
}
.formkit-guarantee {
  display: none;
}
.formkit-subheader {
  /* display: none; */
  margin-top:0 !important;
}
.formkit-header {
  display: none;
}
.formkit-fields {
  margin: 10 !important;
}
.formkit-form {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  min-width: 500px !important;
}
@media (max-width : 540px) {
  .formkit-form {min-width: 100% !important;}
}
.formkit-powered-by-convertkit-container {
  margin: 0 !important;
}
.formkit-field {
  flex-basis: 70% !important;
  margin-right: 0.5em !important;
}
.formkit-submit {
  flex-basis: 25% !important;
  background-color: var(--bg-dark) !important;
  color: var(--bg-white) !important;
  font-weight: 600 !important;
  border: 1px solid var(--bg-white) !important;
}

/*socialmedia buttons*/
.socialmedia{
  display:inline-block;
  width: 29px;
  height: 30px;
  margin-left:2px;
  text-indent:-9999px;
  margin-right:5px;
}
.facebook{
  background: url('../img/icon/flat-social-media-icons-enfuzed.png') no-repeat -17px -179px;
  width: 27px;
  height: 27px;
}
.facebook:hover{
  background: url('../img/icon/flat-social-media-icons-enfuzed.png') no-repeat -17px -16px;
  width: 27px;
  height: 27px;
}

.twitter{
  background: url('../img/icon/flat-social-media-icons-enfuzed.png') no-repeat -47px -179px;
  width: 27px;
  height: 27px;
}
.twitter:hover{
  background: url('../img/icon/flat-social-media-icons-enfuzed.png') no-repeat -47px -16px;
  width: 27px;
  height: 27px;
}

.linkedin{
  background: url('../img/icon/flat-social-media-icons-enfuzed.png') no-repeat -168px -179px;
  width: 27px;
  height: 27px;
}
.linkedin:hover{
  background: url('../img/icon/flat-social-media-icons-enfuzed.png') no-repeat -168px -16px;
  width: 27px;
  height: 27px;
}
