:root {
  --primary-color: #565eed;
  --hover-primary-color: #f6f5f7;
  --button-hover-color: #474fed;
  --active-primary-color: #e5e3e8;
  --text-primary-color: #3d3b40;
}

body, html {
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: #FFF;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}


html {
  font-size: 14px;
  font-family: "Lato", sans-serif;
}


h1 {
  font-size: 36px;
}


h1, h2 {
  color: #142640;
  margin-bottom: 15px;
  margin-top: 0;
}

h3, h4, h5 {
  color: #142640;
  margin-top: 0;
}


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Hover components */
@media (hover: hover) {

  .nav-link:hover {
    background: var(--hover-primary-color);
  }

  .burger-btn:hover {
    background-color: var(--hover-primary-color);
  }

  .button-primary:hover {
    background: var(--button-hover-color);
    transition-duration: 0s, 0.14s;
  }

  .button-transparent:hover {
    background-color: var(--hover-primary-color);
    transition-duration: 0s, 0.14s;
  }

  .footer-nav ul > li a:hover {
    text-decoration: underline;
  }
}

/* Hover components end*/

/* Mobile hover */
.burger-btn:active {
  background-color: var(--active-primary-color);
}

.nav-link:active {
  background-color: var(--active-primary-color);
}

.header-nav ul > li:active {
  color: #777;
}

.button-primary:active {
  background: var(--button-hover-color);
}

.button-transparent:active {
  background-color: var(--hover-primary-color);
}

/* Mobile hover end*/


/* Navigation start */



.burger-btn {
  margin: 0;
  padding: 0;
  border: 0;
  margin-left: -10px;
  margin-right: 5px;
  background: none;
  padding: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  outline: none;
  width: auto;
  background-color: transparent;
  color: var(--text-primary-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  min-height: 3rem;
  min-width: 3rem;
  transition: background-color 200ms ease-in 0s;
}

.burger-menu {
  width: 24px;
  height: 24px;
  position: relative;
  transition: all 0.5s ease-in-out 0s;
  transform: rotate(0deg);
}

  .burger-menu > span:nth-child(1) {
    top: 5px;
    transform-origin: left center;
  }

  .burger-menu > span:nth-child(2) {
    top: 12px;
    transform-origin: left center;
  }

  .burger-menu > span:nth-child(3) {
    top: 19px;
    transform-origin: left center;
  }

.burger-btn-active .burger-menu > span:nth-child(1) {
  transform: rotate(45deg);
  width: 100%;
  top: 12px;
  left: 0px;
  transform-origin: initial;
}

.burger-btn-active .burger-menu > span:nth-child(2) {
  width: 0px;
  top: 12px;
  opacity: 0;
  transform-origin: initial;
}

.burger-btn-active .burger-menu > span:nth-child(3) {
  transform: rotate(-45deg);
  width: 100%;
  top: 12px;
  left: 0px;
  transform-origin: initial;
}

.burger-menu > span {
  display: block;
  position: absolute;
  height: 1px;
  width: 22px;
  left: 1px;
  background: var(--text-primary-color);
  opacity: 1;
  transition: all 0.25s ease-in-out 0s;
  transform: rotate(0deg);
}


.header-section {
  background-color: #FFF;
  top: 0;
  right: 0;
  left: 0;
  position: sticky;
  position: -webkit-sticky;
  width: 100%;
  z-index: 101;
  padding-bottom: 3px;
  padding-top: 3px;
  transition: .5s box-shadow linear;
  height: 67px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 67px;
}

.logo {
  height: 50px;
  display: block;
}

#nav-overlay {
  position: fixed;
  z-index: 100;
  inset: 0px;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}

.nav-overlay-active {
  display: block !important;
}

.header-nav-wrap {
  border-top: 1px solid #e5e3e8;
  background: #FFF;
  position: fixed;
  bottom: 0px;
  left: 0px;
  top: 73px;
  z-index: 101;
  width: 200px;
  transition: transform 0.3s ease 0s;
  transform: translate3d(-200%, 0px, 0px);
  visibility: hidden;
}

.header-nav {
  overflow: auto;
  height: 100%;
}

.nav-active {
  transform: translateZ(0px);
  visibility: visible;
}

.header-nav ul {
  margin: 0;
  margin-top: 20px;
  margin-left: 20px;
  padding: 0;
  list-style-type: none;
}

  .header-nav ul > li {
    display: flex;
    font-size: 17px;
    color: var(--text-primary-color);
  }

    .header-nav ul > li a {
      text-decoration: none;
    }

      .header-nav ul > li a,
      .header-nav ul > li a:active,
      .header-nav ul > li a:visited,
      .header-nav ul > li a:hover {
        color: inherit;
      }

.nav-link {
  display: flex;
  border-radius: 0.5rem;
  color: var(--text-primary-color);
  cursor: pointer;
  min-height: 2rem;
  min-width: 3rem;
  transition: background-color 200ms ease-in 0s;
  font-weight: 500;
  flex-shrink: 0;
  outline: none;
  align-items: center;
  padding: 0.5rem;
}

.login-btn {
  margin-left: 15px;
}

.fade-in-border {
  box-shadow: 0 1px 10px rgba(0,0,0,.2);
}

@keyframes fadeInborderAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.sign-up-btn-wrap {
  display: none;
}

.header-options {
  margin-left: auto;
  display: flex;
  flex-direction: row;
}

@media (max-width: 360px) {
  .logo {
    width: 100%;
    height: auto;
    max-height: 50px;
  }
}

@media (min-width: 480px) {
  .sign-up-btn-wrap {
    display: block;
  }

  .header-nav-wrap {
    width: 380px;
  }
}

@media (min-width: 768px) {

  .header-nav ul {
    margin-top: 0;
  }

    .header-nav ul > li {
      display: inline-block;
      color: #333;
      margin-bottom: 0;
    }

  .burger-btn {
    display: none;
  }

  .header-nav {
    display: flex;
  }

  .header-nav-wrap {
    position: relative;
    transform: none;
    transition: none 0s ease 0s;
    z-index: 0;
    top: 0px;
    border-top: none;
    flex: 1 1 0%;
    visibility: visible;
  }

  .logo {
    height: 50px;
  }
}


/* Navigation end */

/* Components */
.button {
  text-decoration-line: none;
  text-decoration-style: solid;
  border-radius: 0.25rem;
  padding: 10px;
  box-sizing: border-box;
  list-style: none;
  font-weight: 600;
  display: inline-block;
}

.button-primary {
  background: var(--primary-color);
  color: #FFF;
}

.button-large {
  padding: 15px !important;
  font-size: 20px;
}

.button-transparent {
  color: var(--primary-color);
}

/* Components end */

.main {
  min-height: calc(100vh - 495px);
}

.main-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}


/* Home page*/

.feature {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.feature-placeholder {
  border: 1px solid #ccc;
  height: 400px;
  background-image: repeating-linear-gradient(90deg, #ccc, #ccc 10px, #eee 10px, #eee 20px);
  margin-bottom: 20px;
}


.feature-text, .feature-single-description {
  font-size: 20px;
  line-height: 1.5em;
}

.feature-left, .feature-right {
  width: 100%;
}

.feature-right {
  margin-top: 30px;
}

.feature-left h1 {
  text-align: center;
}

.feature-header-end {
  color: #565eed;
  font-weight: 900;
}

.feature-single {
  margin-top: 80px;
}

.feature-single-description {
  margin-top: 25px;
  margin-bottom: 25px;
}

.feature-single h1 {
  text-align: center;
}

.feature-action {
  margin-top: 20px;
  text-align: center;
}

@media (min-width: 768px) {

  .main {
    min-height: calc(100vh - 345px);
  }

  .feature {
    flex-direction: row;
  }

  .feature-left {
    width: 30%;
    margin-right: 30px;
    margin-left: 10px;
  }

  .feature-right {
    width: 70%;
  }


  .feature-right {
    margin-top: 0px;
    padding-left: 10px;
  }

  .feature-left {
    padding-right: 10px;
    text-align: left;
  }
}

/* Home page end*/


/* Footer */

footer {
  background: #f4f5f7;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.footer-logo {
  height: 50px;
  filter: grayscale(1);
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
}

.footer-nav-col ul {
  margin-top: 0;
  padding: 0;
  list-style-type: none;
  width: 100%;
}

  .footer-nav-col ul > li {
    margin-bottom: 5px;
  }

.footer-nav ul > li a,
.footer-nav ul > li a:active,
.footer-nav ul > li a:visited,
.footer-nav ul > li a:hover {
  color: inherit;
}

.footer-nav ul > li {
  color: var(--text-primary-color);
}

  .footer-nav ul > li a {
    text-decoration: none;
  }

.footer-bottom {
  border-block-start: 1px solid #dfe1e5;
}

.copyright-msg {
  padding-right: 20px;
  color: #444;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 15px;
  text-align: right;
}

@media (min-width: 768px) {

  .main-section {
    padding-top: 50px;
  }

  .footer-wrap {
    flex-direction: row;
  }

  .footer-nav {
    flex-direction: row;
    justify-content: center;
    margin-top: 0;
  }

  .footer-nav-col {
    width: 170px;
  }

  .footer-logo {
    height: 50px;
  }
}

@media (min-width: 1024px) {
  .footer-nav-col {
    width: 250px;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .footer-logo {
    height: 50px;
  }
}
/* Footer end */
