/* Set the page background to red */
.hero-section {
  width: 100%;
  height: 100vh;
  border: 1px solid black;
  overflow: visible;
  display: flex;
  flex-flow: column;
  flex: none;
  user-select: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  /* background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../images/homebanner1.avif"); */
}
.hero-image {
  position: absolute;
  inset: 0px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* fills the div, crops if needed */
  object-position: center; /* keeps the center of the image visible */
  display: block; /* removes default inline spacing */
  filter: brightness(55%);
}
.hero-text {
  z-index: 3;
  flex-flow: column;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 90%;
  height: min-content;
  /* height: 370px; */
  padding: 0;
  padding-top: 100px;
  display: flex;
  position: relative;
  overflow: visible;
}
.hero-text-1 .hero-text-2 {
  white-space: pre-wrap;
  word-break: pre-wrap;
  word-wrap: break-word;
  flex: none;
  width: 100%;
  height: auto;
  position: relative;
}
.hero-text-1 h1 {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  color: white;
  /* backdrop-filter: blur(2px); */
  /* background: rgba(0, 0, 0, 0.1); */
  padding: 1rem 2rem;
  border-radius: 10px;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}
.hero-text-2 h2 {
  text-align: center;
  font-size: 21px;
  font-weight: 400;
  color: white;
  /* backdrop-filter: blur(2px); */
  /* background: rgba(0, 0, 0, 0.1); */
  padding: 1rem 2rem;
  border-radius: 10px;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}
.hero-text-3 {
  margin-top: 120px;
}
.hero-text-3 a {
  text-decoration: none;
  text-align: center;
  font-size: 21px;
  font-weight: 500;
  color: white;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  transition: 0.25s ease;
}
.hero-text-3 a:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transform: translateY(-2px);
}
@media only screen and (max-width: 480px) {
  /* .hero-section {
    height: 80vh;
  }
  .hero-text {
    width: 100%;
    height: 400px;
    padding-top: 0;
  } */
  .hero-text-1 h1 {
    font-size: 26px;
  }
  .hero-text-2 h2 {
    font-size: 12px;
  }
  .hero-text-3 {
    margin-top: 20px;
  }
  .hero-text-3 a {
    display: block;
    font-size: 16px;
    padding: 0.75rem 1.5rem;
  }
  .hero-image,
  .hero-image img {
    pointer-events: none;
  }
  .hero-section {
    position: relative;
    isolation: isolate;
  }

  .hero-image {
    z-index: 0;
  }

  .hero-text {
    position: relative;
    z-index: 1;
  }
  .hero-section {
    min-height: 100svh; /* modern mobile-safe viewport */
  }
}
