.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  padding: 0.5rem;
  background-image: url("/assets/images/main.webp");
  background-position: center;
  background-size: cover;

  &::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    opacity: 0.6;
    content: "";
    pointer-events: none;
  }
}

.hero-section > div {
  width: min(1150px, 100% - 10px);
  margin: auto;

  & > h1 {
    z-index: 5;
    width: min(500px, 100%);
    color: var(--blue-lighter);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
  }

  & > h3 {
    width: min(600px, 100%);
    padding-top: 20px;
    color: var(--blue-light);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
  }

  & > button {
    width: fit-content;
    margin-top: 40px;
    padding: 16px 12px;
    border-radius: var(--rounded-lg);
    background-color: var(--blue-medium);
    color: var(--white);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
  }
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

@media (width >= 28rem) {
  .hero-section {
    padding: 4rem 2rem;
  }
}
