@font-face {
  font-family: 'Montserrat';
  src: url('./assets/fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F2EEE3;
  scroll-behavior: smooth;
}

header {
  width: 100%;
  border-bottom: 1px solid #1F1F1F;
  position: absolute;
  max-width: 1920px;
  left: 50%;
  transform: translateX(-50%);
}

.inside-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;

  width: 100%;
  max-width: 1420px;

  padding: 20px 40px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  column-gap: 15px;

  font-size: 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  line-height: 30px;
}

nav ul {
  list-style-type: none;
}

nav ul li {
  display: inline;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 0 18px;
}

ul li a:hover {
  color: #00704A;
}

nav ul li:last-child {
  padding-right: 0;
}

.btn {
  border: 2px solid #00704A;
  border-radius: 5px;
  padding: 10px 25px;

  color: #00704A;
  display: inline-block;
}

.btn:hover {
  opacity: 0.5;
  transform: scale(1.05);
}

.beginning-wrapper {
  max-height: 1080px;
}

.subheader-wrapper {
  background-image: url('./assets/images/subheader-bg-img.webp');
  background-repeat: no-repeat;
  object-fit: cover;
  height: fit-content;
  width: 100%;
  max-width: 1920px;
  padding-top: 150px;
  padding-bottom: 200px;
  background-position: top center;
  margin: 0 auto;
}

.subheader-wrapper.subpage {
  display: grid;
  align-items: center;
  justify-content: space-around;
  min-height: 900px;
}

.subheader-wrapper.subpage h1 {
  font-size: 95px;
  margin-top: 150px;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 65px;
  line-height: 79px;
  font-weight: bold;
  color: #F1F1F1;
  margin-bottom: 40px;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: unset;
}

.two-column-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin: 0 auto;
  max-width: 1420px;
  padding: 150px 40px 0;
  column-gap: 150px;
}

.intro-wrapper {
  position: relative;
  padding-left: 35px;
}

.intro-wrapper p {
  color: #F1F1F1;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 40px;
}

.intro-wrapper .btn {
  color: #F2EEE3;
  border-color: #F2EEE3;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
}

.intro-wrapper::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  display: inline-block;
  height: 100%;
  width: 3px;
  background-color: #F2EEE3;
}

.img-wrapper {
  position: relative;
  transform: translateX(-30px);
}

.img-wrapper img {
  border-radius: 5px;
  position: relative;
}

.img-wrapper::before {
  content: '';
  display: inline-block;
  position: absolute;
  height: 100%;
  max-height: 552px;
  width: 100%;
  max-width: 399px;
  border-radius: 5px;
  background-color: #F2EEE3;
  left: 20px;
  top: 10px;
  transform: rotate(2deg);
}

.img-wrapper.green::before {
  background-color: #00704A;
  transform: rotate(358deg);
  left: -20px;
}

.img-wrapper.green {
  transform: translateX(30px);
}

h2 {
  font-size: 36px;
  font-family: 'Montserrat', sans-serif;
  line-height: 44px;
  font-weight: bold;
  margin-bottom: 35px;
}

.two-column-wrapper p {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  line-height: 28px;
  font-weight: 500;
}


.text-wrapper {
  max-width: 700px;
}

.single-column-wrapper {
  max-width: 1180px;
  margin: 220px auto 150px;
  padding: 0 40px;
}

.single-column-wrapper p {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 38px;
}

.single-column-wrapper ul {
  column-count: 2;
  margin: 60px auto;
  max-width: 950px;
}

.single-column-wrapper ul li {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  line-height: 26px;
  list-style-type: none;
  margin: 0px 0 30px;
}

.single-column-wrapper ul li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='29.958' height='16.579' viewBox='0 0 29.958 16.579'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_9' data-name='Rectangle 9' width='29.958' height='16.579' fill='%2300704a'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_2' data-name='Group 2' transform='translate(0 0)'%3E%3Cg id='Group_1' data-name='Group 1' transform='translate(0 0)' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_130' data-name='Path 130' d='M29.948,4.9c-1.272,1.127-2.538,2.207-3.758,3.34a36.873,36.873,0,0,1-9.61,6.865C10.345,17.966,4.715,16.637.455,11.333c-.155-.2-.279-.419-.455-.677,2.714-.962,5.366-1.9,8.018-2.833C8,7.73,7.987,7.631,7.972,7.538H.465A9.994,9.994,0,0,1,13,.4c3.1.858,6.069,2.171,9.166,3.035,2.373.662,4.854.931,7.8,1.468Z' transform='translate(0 0)' fill='%2300704a'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");;
  margin-right: 15px;
}

footer {
  max-width: 1920px;
  margin: 0 auto;
}

.background-green {
  background-color: #00704A;
}

footer .two-column-wrapper {
  color: #F1F1F1;
  padding: 50px 40px 60px;
  align-items: flex-start;
}

footer .two-column-wrapper div:first-child {
  display: flex;
  align-items: flex-start;
  column-gap: 30px;
  max-width: 770px;
}

footer .two-column-wrapper div:first-child p {
  font-size: 24px;
  font-weight: bold;
  line-height: 38px;
}

footer .two-column-wrapper div:last-child p {
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

footer .two-column-wrapper a {
  text-decoration: underline;
}

footer .two-column-wrapper a:hover {
  opacity: .5;
}

footer h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 29px;
  margin: 10px 0 10px;
}

.footer-menu-wrapper {
  max-width: 1420px;
  display: flex;
  justify-content: flex-end;
  margin: 0 auto;
  padding: 17px 40px;
}

.footer-menu-wrapper ul li {
  display: inline;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 0 19px;
}

.footer-menu-wrapper ul li:last-child {
  padding-right: 0;
}

a {
  transition: all .2s ease-in-out;
}

a:hover {
  transition: all .2s ease-in-out;
}

.subpage-content-wrapper {
  max-width: 1420px;
  padding: 50px 40px 80px;
  margin: 0 auto;
}

.subpage-content-wrapper p {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  line-height: 28px;
  font-weight: 400;
}

.subpage-content-wrapper h2 {
  margin-top: 65px;
}

@media only screen and (max-width: 1024px) {

  .beginning-wrapper {
    max-height: unset;
  }

  footer .two-column-wrapper {
    flex-wrap: wrap;
    column-gap: 0;
    row-gap: 50px;
  }

  footer .two-column-wrapper div {
    width: 100%;
  }

  .two-column-wrapper {
    flex-wrap: wrap;
    column-gap: 0;
    row-gap: 90px;
  }

  .two-column-wrapper div {
    width: 100%;
  }

  .text-wrapper {
    max-width: unset;
  }

  .subheader-wrapper {
    background-image: url('./assets/images/subheader-bg-img-mobile.webp');
    padding-bottom: 150px;
  }

  .img-wrapper {
    transform: unset;
  }
}

@media only screen and (max-width: 803px) {

  .inside-header {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
  }
}

@media only screen and (max-width: 768px) {

  .single-column-wrapper ul {
    column-count: 1;
  }

  .two-column-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .inside-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .single-column-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-menu-wrapper {
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
  }

  .single-column-wrapper p {
    font-size: 20px;
  }

  .single-column-wrapper ul li {
    font-size: 18px;
  }

  .single-column-wrapper {
    margin-top: 110px;
    margin-bottom: 90px;
  }

  h1 {
    font-size: 50px;
    line-height: 60px;
  }

  .img-wrapper img {
    max-width: 100%;
  }
}

@media only screen and (max-width: 500px) {

  footer .two-column-wrapper div:first-child {
    flex-wrap: wrap;
  }

  nav ul li {
    padding: 0 12px;
    line-height: 50px;
  }

  nav ul li:last-child {
    line-height: unset;
  }
}

@media only screen and (max-width: 400px) {
  .logo-wrapper {
    font-size: 18px;
  }

  h1 {
    font-size: 35px;
    line-height: 46px;
  }

  .img-wrapper::before {
    left: 5px;
  }

  .img-wrapper.green {
    transform: translateX(0);
  }

  .img-wrapper.green::before {
    left: -5px;
  }
}