@font-face {
  font-family: 'Finlandica';
  src: url("../fonts/Finlandica-Regular.woff2") format("woff"),
       url("../fonts/Finlandica-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Finlandica Bold';
  src: url("../fonts/Finlandica-Bold.woff2") format("woff"),
       url("../fonts/Finlandica-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Figtree';
  src: url("../fonts/Figtree-Regular.woff2") format("woff"),
       url("../fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Figtree Bold';
  src: url("../fonts/Figtree-Bold.woff2") format("woff"),
       url("../fonts/Figtree-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

.wrapper {
  max-width: 1920px;
  margin: auto;
  background-color: #f8f1db;
}

body {
  font-family: 'Figtree', sans-serif;
}

header {
  background-image: url(../img/header-mobile.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  z-index: 1;
  min-height: 250px;
}

header .logo {
  height: 30px;
}

header .title h1 {
  font-family: 'Finlandica Bold', sans-serif;
  font-size: 2.5rem;
}

header .title h2 {
  font-family: 'Finlandica', sans-serif;
  font-size: 1rem;
}

@media (min-width: 576px) {
  header {
    width: 100%;
    min-height: 350px;
  }
  header .logo {
    height: 50px;
  }

  header .title h1 {
    font-size: 3rem;
  }

  header .title h2 {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  header {
    min-height: 450px;
  }
  header .logo {
    height: 60px;
  }

  header .title h1 {
    font-size: 3.5rem;
  }

  header .title h2 {
    font-size: 2.5rem;
  }
}

main {
  background-color: #f8f1db;
  border-top-left-radius: 40px 40px;
  border-top-right-radius: 40px 40px;
  margin-top: -40px !important;
  z-index: 10;
  position: relative;
}

@media (min-width: 992px) {
  header {
    width: 70%;
    height: 100vh;
    padding-left: 3rem;
    padding-right: 100px;
    background-image: url(../img/header.jpg);
  }

  main {
    margin-top: 0 !important;
    margin-left: -100px !important;
    width: calc(30% + 100px);
    min-height: 100vh;
    border-top-left-radius: 70px 70px;
    border-top-right-radius: 0;
  }
}

@media (min-width: 1200px) {
  header {
    width: 60%;
  }

  main {
    width: 40%;
    width: calc(40% + 100px);
    padding-top: 20px;
    padding-left: 20px;
  }

  header .title h1 {
    font-size: 4.5rem;
  }

  header .title h2 {
    font-size: 3.5rem;
    margin-right: 200px;
  }
}

main h1 {
  font-family: 'Finlandica Bold', sans-serif;
  color: #558d47
}

main h2 {
  font-family: 'Finlandica', sans-serif;
}

main .logo {
  height: 150px;
}