.home-section {
  position: relative;
  width: 100%;
  min-height: 90vh;

  background-position: var(--focal-x, 50%) var(--focal-y, 40%);
  background-image: url('/assets/img/home-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  --focal-x: 30%;
  --focal-y: 35%;

  transition: background-position 1s ease;
}

/* Dark overlay */
.home-section::before {
  position: absolute;
  background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35));
  inset: 0;

  content: "";
  pointer-events: none;
}

.home-text {
  position: relative;
  width: 100%;
  min-height: 90vh;
  z-index: 999;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding: 3rem 1rem;
  font-size: var(--font-size-base-text);

  color: white;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
}

.home-headline,
.home-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-headline {
  font-family: var(--font-family-playfair);
}

.home-heading {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;

  margin-bottom: 1rem;
}

.home-subtext {
  font-weight: 400;
  text-align: center;
}

.home-contact {
  font-family: var(--font-family-jost);
}

.home-contact-text {
  display: flex;
  flex-direction: column;
  align-items: center;

  font-weight: 200;
}

.home-social {
  display: flex;
  gap: 1.5rem;

  margin: 1rem 0;
}

.home-button-link {
  text-shadow: none;

  background-color: var(--theme-color);
  border: 1px solid white;
}

/* Media Queries */

@media (min-width: 519px) {
  .home-heading {
    margin-bottom: 0;
  }
}

@media (min-width: 650px) {
  .home-text {
    font-size: 1.3rem;
  }

  .home-heading {
    font-size: 5rem;
  }
}

@media (min-width: 800px) {
  .home-text {
    font-size: 1.4rem;
  }

  .home-heading {
    font-size: 6rem;
  }
}

@media (min-width: 2560px) {
  .home-text {
    justify-content: space-around;
  }
}

@media (min-width: 3440px) {
  .home-text {
    justify-content: center;
  }
}
