/* html */

html,
body {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
}

a {
  color: var(--white);
}

.no-decoration {
  text-decoration: none;
}

/* colors */

:root {
  --black: #37474f;
  --white: #ffffff;
  --blue: #2d61a0;
  --lightblue: #f5f7fa;
  --green: #00e676;
}

/* typography */

h1,
.text--xl {
  font-weight: 800;
  font-size: 50px;
}

h2,
.text--l {
  font-size: 35px;
  font-weight: 500;
}

p {
  font-weight: 500;
  margin-bottom: 0;
  font-size: 20px;
}

.text--s {
  font-size: 16px;
}

.text--xxs {
  font-size: 11px;
}

@media only screen and (min-width: 992px) {
  h1,
  .text--xl {
    font-size: 80px;
  }

  h2,
  .text--l {
    font-weight: 500;
    font-size: 45px;
  }

  p {
    font-size: 30px;
  }

  .text--s {
    font-size: 25px;
  }
}

/* header */

#header {
  position: fixed;
  top: 0;
  width: 100%;
  margin-top: 30px;
  z-index: 300;
}

.header-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  max-height: 100%;
  display: block;
}

/* main */

/* .main-container {
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

section {
  scroll-snap-align: start;
} */

section:nth-child(2) {
  margin-top: 100px;
  margin-bottom: 100px;
}

@media only screen and (min-width: 992px) {
  section:nth-child(2) {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.title-wrapper {
  text-align: center;
}

@media only screen and (min-width: 992px) {
  .title-wrapper {
    text-align: left;
  }
}

.title {
  color: var(--blue);
}

.landing-section {
  margin-top: 150px;
  height: 80vh;
  align-items: flex-end;
}

@media only screen and (min-width: 992px) {
  .landing-section {
    margin-top: 0px;
    height: 100vh;
    align-items: center;
  }

  .image-col {
    height: 100vh;
    background: var(--blue);
  }

  .image-wrapper {
    position: absolute;
  }
}

.content-wrapper p:first-child {
  margin-bottom: 40px;
}

@media only screen and (min-width: 992px) {
  .content-wrapper p:first-child {
    margin-bottom: 80px;
  }
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-bottom: 75%;
  bottom: 0;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.landing-section .image-wrapper {
  padding-bottom: 130%;
}

@media only screen and (min-width: 768px) {
  .landing-section .image-wrapper {
    padding-bottom: 64%;
  }
}

@media only screen and (min-width: 992px) {
  .landing-section .image-wrapper {
    padding-bottom: 130%;
  }
}

@media only screen and (min-width: 1600px) {
  .landing-section .image-wrapper {
    padding-bottom: 100%;
  }
}

@media only screen and (min-width: 768px) {
  .image-wrapper {
    padding-bottom: 35%;
  }
}

@media only screen and (min-width: 992px) {
  .image-wrapper {
    position: absolute;
  }

  .image-wrapper.landing {
    bottom: 0;
    left: -50px;
  }

  .image-wrapper.left {
    right: -50px;
    bottom: 50%;
    transform: translateY(50%);
    padding-bottom: 72%;
  }

  .image-wrapper.right {
    left: -50px;
    bottom: 50%;
    transform: translateY(50%);
    padding-bottom: 72%;
  }
}

/* footer */

#footer {
  color: var(--white);
  background: var(--black);
  padding-top: 150px;
  padding-bottom: 30px;
}

.footer-title {
  font-weight: 800;
}

@media only screen and (min-width: 992px) {
  .footer-title {
    font-size: 60px;
  }
}

.footer-content {
  margin-bottom: 80px;
  text-align: center;
}

@media only screen and (min-width: 992px) {
  .footer-content {
    margin-bottom: 150px;
  }
}

.legal-row {
  text-align: center;
}

@media only screen and (min-width: 992px) {
  .legal-row {
    text-align: left;
  }
}
#footer a:hover,
#footer a:focus,
#footer a:active {
  color: var(--blue);
  transition: all 0.3s linear;
}
