@font-face {
    font-family: "Karla";
    src: url("../fonts/Karla/Karla-VariableFont_wght.ttf") format('truetype');
}
@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway/Raleway-VariableFont_wght.ttf") format('truetype');
}
@font-face {    
    font-family: "Marcellus";
    src: url("../fonts/Marcellus/Marcellus-Regular.ttf") format('truetype');
}

body {
    font-family: "Karla", sans-serif;
    background: #FAE8CF;
    color: #4A4A4A;
    margin-bottom: 100px;
}

.main-color {
    background: #FAAC4C;
}

/* nav */
nav {
    background: #FAAC4C;
}

.navbar-nav {
    margin: 0 auto;
    padding-right: 140px;
}

a.nav-link {
    color: #2F2F2F;
}

/* footer */

footer {
    background: #fff;
    height: 35px;
    margin: 0 auto;
}

footer a {
    text-decoration: none;
    color: #2F2F2F;
    text-align:center;
    display:block;
}

/* hero section */

.hero-image {
    background: linear-gradient(
      rgba(0,0,0,0.5),
      rgba(0,0,0,0.5)),
      url('../img/image_1.jpeg');
    height: 520px;
    width: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin: 0 auto;
}

.hero-text {
    top: 20%;
    text-align: center;
    position: relative;
    color: white;
}

.teaser {
    font-size: 24px;
    font-weight: 200;
    line-height: 1.7;
    margin: 0 auto 1em auto;
    color: #fff;
}

.hero-text .btn {
    color: #fff;
    font-weight: 200;
    font-size: 24px;
}

/* font */

h1 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-size: 72px;
    line-height: 1.15;
    color: #fff;
}

h2, h3 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    color: #4A4A4A;
}

h2 {
    font-size: 48px;
    line-height: 1.25;
    text-align: left;
}

h3 {
    font-size: 30px;
    line-height: 1.35;
}

p {
    font-size: 20px;
    line-height: 1.8;
}

.intro {
    max-width: 50%;
    margin: 0 auto 2em auto;
}

.center {
    text-align: center;
}

.dark {
    color: #4A4A4A;
}


li {
    text-align: left;
    line-height: 2.5em;
}

/* quote */

.quote {
    font-family: "Marcellus", sans-serif;
    font-size: 32px;
    line-height: 1.7;
}

/* card */

.card {
    width: 30%;
    margin-right: 3%;
    float: left;
}

.card-body p {
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 926px) {
  h1 {
    font-size: 42px;
    line-height: 1.2;
  }

  h2 {
    font-size: 34px;
    text-align: center;
  }

  p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
  }

  ul {
    margin-left: 10%;
  }

  .intro {
    max-width: 70%;
  }

  .intro-text {
    font-size: 20px;
  }

  .hero-text {
    font-size: 20px;
    max-width: 100%;
  }

  .section {
    padding: 80px 0;
  }

  form {
    margin-left: 10%;
    margin-right: 10%;
  }

  img {
    margin-bottom: 2em;
  }
}