.hero {
  position: relative;
  height: 100vh;
  width: 100%;
}

.hero-image-mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  height: auto;
  width: 100%;
  z-index: 1;
}

.hero-image-desktop {
  display: none;
}

@media (min-width: 768px) and (min-aspect-ratio: 16/10) {
  .hero-image-mobile {
    display: none;
  }

  .hero-image-desktop {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: auto;
    width: 100%;
    z-index: 1;
  }
}

@media (min-width: 768px) and (max-aspect-ratio: 16/10) {
  .hero-image-mobile {
    display: none;
  }

  .hero-image-desktop {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: auto;
    z-index: 1;
  }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 1.2rem;
  right: 1.2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-content {
    top: 50%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 76.8rem;
    align-items: center;
  }
}

.hero-title {
  color: var(--color-off-white);
  font-family: var(--font-title);
  font-size: 4.8rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  text-shadow: 0 0 0.6rem var(--color-shadow);
  margin-bottom: 1.2rem;
}

.hero-title-small {
  font-size: 4.4rem;
}

@media (min-width: 768px) {
  .hero-title {
    line-height: 1;
  }
}

.hero-text {
  color: var(--color-off-white);
  font-family: var(--font-text);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
  text-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.35);
  margin-bottom: 4.8rem;
}

@media (min-width: 768px) {
  .hero-text {
    margin-bottom: 3.6rem;
    text-align: center;
  }
}
