.hero {
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  padding: 0 2.4rem;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-image-mobile {
  display: block;
}

.hero-image-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .hero-image-mobile {
    display: none;
  }

  .hero-image-desktop {
    display: block;
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  z-index: 2;
  padding-top: 8.4rem;
}

@media (min-width: 768px) {
  .hero-container {
    align-items: center;
  }
}

.hero-title {
  font-size: 6.4rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--light-grey);
  margin-bottom: 1.2rem;
}

.hero-title-smaller {
  font-size: 5.4rem;
}

@media (min-width: 768px) {
  .hero-title {
    text-align: center;
  }

  .hero-title-smaller {
    font-size: 6.4rem;
  }
}

.hero-text {
  max-width: 78rem;
  color: var(--light-grey);
  margin-bottom: 3.6rem;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: center;
    margin-bottom: 6.4rem;
  }
}

.hero-button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2.4rem;
}

@media (min-width: 768px) {
  .hero-button-container {
    flex-direction: row;
    align-items: center;
  }
}
