body {
  line-height: 28px !important;
}

.content-padding {
  padding: 0px 14rem;
}

.main-container {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  background: #ffffff;
  scroll-behavior: smooth;
}

.hero-section {
  background-image: url(../webp/hero_background.webp);
  background-size: cover;
  height: 30rem;
  overflow: auto;
  margin-top: -2px;
}

.heading-text {
  font-size: 40px;
  font-weight: 600;
  color: white;
  text-align: center;
  margin-top: 7rem;
  margin-bottom: auto;
}

.sub-heading-text {
  color: white;
  font-size: 18px;
  margin-top: 1.5rem;
  text-align: center;
}

.calculator-view {
  margin: -15.5rem 14rem 0px 14rem;
}

.content {
  display: grid;
  grid-auto-flow: column;
  column-gap: 5rem;
  justify-content: space-between;
}

.content h2 {
  color: #3d4350;
  font-size: 24px;
  font-weight: 600;
}

.content p {
  color: #3d4350;
  font-size: 16px;
}

.first-fold {
  flex-direction: row;
  margin-top: 5rem;
}

.qr-container {
  width: min-content;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e0e2e7;
  margin-top: 3.5rem;
  border-radius: 8px;
  align-self: flex-start;
}

.qr-heading {
  font-weight: 600;
  font-size: 16px;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  background-color: #f6f7f7;
  margin: unset;
  color: #292d35;
}

.qr-code {
  height: 160px;
  width: 160px;
  margin-top: 24px;
  align-self: center;
}

.qr-label {
  font-size: 16px;
  margin-top: 24px;
  align-self: center;
}

.app-store-cta {
  display: grid;
  grid-auto-flow: column;
  column-gap: 16px;
  margin: 16px 24px 24px 24px;
}

.store-icon {
  height: 40px;
  width: 130px;
  cursor: pointer;
}

.second-fold {
  margin-top: 4rem;
}

.second-fold-asset {
  margin-top: 3.6rem;
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  display: block;
}

.second-fold-asset p {
  font-weight: 600 !important;
  margin: 1.2rem !important;
  line-height: 36px !important;
  color: white !important;
  font-size: 24px !important;
  font-family: "Poppins" !important;
  width: 55%;
}

.second-fold-asset button {
  border-radius: 4px;
  border: 1px solid #d9d4d4;
  padding: 10px 40px;
  margin: 1.2rem;
  margin-top: unset;
  background: white;
  font-weight: 600;
  font-family: "Source Sans Pro";
  font-size: 18px;
  color: #28313b;
  width: fit-content;
}

.second-fold-asset a {
  text-decoration: none;
  color: #28313b;
  width: fit-content;
}

.popular-pages-container {
  border: 1px solid #e0e2e7;
  margin-top: 3.5rem;
  border-radius: 8px;
  flex-direction: column;
}

.popular-pages-container > h4 {
  font-weight: 600;
  color: #292d35;
  font-size: 16px;
  padding: 16px;
  border-radius: 8px;
  background-color: #f6f7f7;
  margin: unset;
}

.popular-item {
  margin: unset;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f1f3;
  color: #292d35;
  text-decoration: none;
}

.popular-item:hover {
  cursor: pointer;
}

.side-nav {
  overflow: auto;
}

.footer {
  display: none;
}

ul {
  padding-left: 24px;
}

li {
  margin-top: 4px;
  color: #3d4350;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 1679px) {
  .content-padding {
    padding: 0px 7rem;
  }

  .calculator-view {
    margin: -15.5rem 7rem 0px 7rem;
  }
}

@media (max-width: 1440px) {
  .content-padding {
    padding: 0px 5rem;
  }

  .calculator-view {
    margin: -15.5rem 5rem 0px 5rem;
  }
}

/* MEDIA QUERIES */
@media (max-width: 600px) {
  .content h2 {
    font-size: 16px;
  }

  .content p {
    font-size: 14px;
    line-height: 20px;
  }

  .content-padding {
    padding: 0px 1.5rem;
  }

  .heading-text {
    font-size: 28px;
    line-height: 44px;
  }

  .first-fold {
    margin-top: 3rem;
  }

  .sub-heading-text {
    font-size: 18px;
    margin-top: unset;
  }

  li {
    font-size: 14px;
    line-height: 20px;
  }

  .hero-section {
    height: 37rem;
    margin-top: -10px;
    background-image: url(../webp/hero_background_mobile.webp);
  }

  .content {
    display: flex;
    flex-direction: column;
  }

  .second-fold-asset {
    font-weight: 600 !important;
    background-repeat: round;
  }

  .second-fold-asset p {
    line-height: 24px !important;
    font-size: 16px !important;
    margin-bottom: 12px !important;
    width: 60%;
  }

  .second-fold-asset button {
    padding: 10px 10px;
    font-size: 14px;
    margin-top: 4px;
  }

  .qr-container {
    display: none;
  }

  .popular-pages-container {
    display: none;
  }

  .footer {
    position: sticky;
    bottom: 0;
    display: block;
    padding: 16px;
    background: var(--grey-0, #fff);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);
  }

  .footer > button {
    background: #292d35;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-family: "Source Sans Pro";
    border: unset;
    width: 100%;
  }

  .footer-action {
    color: white;
  }

  .header-container {
    padding: 0 16px;
    width: -webkit-fill-available;
  }

  .logo {
    margin-right: auto;
    margin-left: 18px;
  }

  .login-header-btn-button {
    display: none;
  }

  #nav-options {
    position: absolute;
    top: 50px;
    left: 0px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #fbf7f4;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.6rem;
    margin-left: -10px;
  }
}
