:root {
  --secondary: rgba(2, 184, 111, 1);
  --primary: rgba(2, 184, 111, 1);
  
}

body {
  font-family: "DM Sans", serif;
  font-weight: 400;
  font-size: 18px;
  min-width: 375px;
}

@media (min-width: 1270px){
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1252px;
  }
}

.logo {
  width: 200px;
  max-width: 100%;
  height: auto;
}

#hero {
  background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.00) 30%), url('images/bg.jpg') no-repeat top center / cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-header {
  background-color: #343a3f;
}

.bg-grey {
  background-color: #f4f7f6;
}

.txt-grey {
  color: #626262;
}

.txt-lightgrey {
  color: #c5c5c5;
}

.hero-form {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.form-control-lg {
  font-size: 1rem;
  height: calc(1.5em + 1.75rem + 2px);
}

.btn-group-lg > .btn, .btn-lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

h1 {
  font-size: 50px;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
}

h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  font-weight: 400;
}

h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 400;
}

.hero-form-disclaimers {
  font-size: 12px;
  color: #fff;
}

.btn-primary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  font-family: 'Roboto Slab', serif;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0096c0;
  border-color: #0096c0;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0096c0;
  border-color: #0096c0;
}

footer {
  background-color: #f4f7f6;
}

.card {
  border-radius: 1rem;
  box-shadow: 0px 0px 1.5rem rgba(0,0,0,0.3);
}

.card-img, .card-img-top {
  border-top-left-radius: calc(1rem - 1px);
  border-top-right-radius: calc(1rem - 1px);
}

.card-img-bottom {
  border-bottom-left-radius: calc(1rem - 1px);
  border-bottom-right-radius: calc(1rem - 1px);
}

.card-img-left {
  border-top-left-radius: calc(1rem - 1px);
  border-top-right-radius: 0;
  border-bottom-left-radius: calc(1rem - 1px);
  border-bottom-right-radius: 0;
}

.card-img-right {
  border-top-right-radius: calc(1rem - 1px);
  border-bottom-right-radius: calc(1rem - 1px);
}

.feature {
  padding: 1rem 1.25rem;
  background-color: #fff;
  border-radius: 1rem;
  color: #323232;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1.25rem;
  box-shadow: 0px 0px 3rem rgba(0,0,0,0.15);
  margin: 0 auto 1.75rem auto;
  align-items: center;
  max-width: 570px;
  position: relative;
}

.feature:after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 20px 12.5px 0 12.5px;
  border-color: #FFF transparent transparent transparent;
  transform: rotate(0deg);
}

.feature-title {
  font-family: 'Roboto Slab', serif;
  margin-bottom: 2rem;
  position: relative;
}

.feature-title:after {
  content: '';
  position: absolute;
  width: 2rem;
  height: 4px;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #01A87C;
}

.card-title {
  font-family: 'Roboto Slab', serif;
}

a .card .card-title {
  color: #000;
}

.btn-card-subscribe {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.f1 {
  
  background-color: white;
}

.f2 {
  background-color: white;
}

.f3 {
  background-color: white;
}

.footer-nav {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 20px 40px;
}

footer, footer a, footer a:hover {
  color: #000;
}

footer .logo {
  width: 200px;
}

.hero-form-disclaimers a {
  text-decoration: underline;
}

article h3 {
  margin-top: 2.5rem;
}

.article-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
}

#cta {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: url('images/cta-bg.jpg') no-repeat top center / cover;
}

@media(max-width: 991px) {
  #hero {
    background: linear-gradient(0deg, #000000 28%, rgba(0, 0, 0, 0.00) 40%), url('images/bg.jpg') no-repeat top center / 150%;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }
}

@media(max-width: 767px) {
  #hero {
    background: linear-gradient(0deg, #555 50%, rgba(0, 0, 0, 0.00) 60%), url('images/bg.jpg') no-repeat top 60px left -60px / 115%
  }

  #hero h1 {
    font-size: 26px;
  }

  #hero h2 {
    font-size: 21px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  #hero p {
    font-size: 16px;
  }

  .feature {
    font-size: 16px;
  }

  .logo {
    width: 130px;
  }

  .article-cards {
    flex-direction: column;
  }
}

@media(max-width: 575px) {
  #hero {
    background: url('images/bg.jpg') no-repeat top center / contain;
  }

  .hero-text {
    padding-top: 40%;
  }

  .hero-form-disclaimers {
    color: #333;
  }

  .hero-form-disclaimers a.text-light {
    color: #333 !important;
  } 
}

@media(max-width: 475px) {
  #hero {
    background-position: top 60px center;
  }

  .hero-text {
    padding-top: calc(40% + 60px);
  }
}