body {
  margin: 0;
  font-family: "Montserrat";
  text-align: center;
}

.hero__text {
  align-items: center;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}

.arrow {
  font-size: 80px;
}

.hero__image {
  height: 100vh;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__background {
  height: auto;
  width: 100%;
}

.container {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 15px 0;
  height: 50vh;
}

.container__text {
  font-size: 5.2vw;
  color: lightgray;
  line-height: 1.8em;
}

p {
  color: lightgray;
  line-height: 1.8em;
}

h1,
h2,
a {
  font-family: "Montserrat";
  font-weight: 600;
}

a {
  color: #ffffff;
  display: block;
  font-weight: bold;
  text-decoration: none;
}

h1 {
  font-size: 13vw;
  margin: 0 180px;
}

h2 {
  font-size: 7.4vw;
  font-weight: 500;
  margin: 0;
}

p {
  font-size: 4vw;
}

.footer {
  background-color: #fff;
  display: flex;
  justify-content: center;
  height: 50vh;
  width: 100%;
}

.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.footer__cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.footer__cta-button {
  background-color: #292828;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition-duration: 0.4s;
}

.footer__cta-button:hover {
  opacity: 0.5;
}

.footer__list-item a svg {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.footer__list-item a:hover svg {
  opacity: 0.5;
}

/* Tablet — from 600px and up */
@media (min-width: 600px) {
  h1 {
    font-size: 10vw;
  }

  .container {
    height: 50vh;
    margin: auto;
    width: 65%;
  }

  .container__text {
    line-height: 1.8em;
    font-size: 3.2vw;
  }

  p {
    font-size: 2.4vw;
  }

  h2 {
    font-size: 5.7vw;
  }

  .footer__cta {
    padding: 2.2vw;
  }

  .section__background {
    width: 500px;
  }
}

@media (min-width: 665px) {
  .hero__text {
    height: fit-content;
    margin: 70px 0;
  }

  .hero__image {
    height: fit-content;
  }

  .container {
    height: 100vh;
    width: 75%;
  }

  .footer {
    height: 100vh;
  }
}

/* Desktop — from 1024px and up */
@media (min-width: 1024px) {
  h1 {
    font-size: 58px;
  }

  .hero {
    height: 100vh;
    display: flex;
    gap: 50px;
    width: 100vw;
  }

  .hero__text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50vw;
  }

  .hero__image {
    height: 100vh;
    width: 50vw;
  }

  .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .container {
    width: 50%;
    height: 50vh;
  }

  .container__text {
    line-height: 1.8em;
    font-size: 30px;
  }

  p {
    font-size: 24px;
  }

  h2 {
    font-size: 50px;
  }

  .footer {
    background-color: #fff;
    display: flex;
    height: 50vh;
    justify-content: center;
  }

  .footer__cta-button {
    background-color: #292828;
    padding: 10px 15px;
    border-radius: 5px;
  }

  .footer__cta {
    padding: 55px;
  }

  .section__background {
    width: auto;
    height: 100%;
  }
}

@media (min-width: 1440px) {
  h1 {
    font-size: 80px;
  }
}

.fade-in {
  opacity: 0;
  animation:
    fadeMask 3s ease-in forwards,
    fadeOpacity 3s ease-in forwards;
}

@keyframes fadeOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeMask {
  0% {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  100% {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
  }
}

img {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

img.loaded {
  opacity: 1;
}
