.hero {
  position: relative;
  width: 100%;
  height: 60vh; /* 👈 Half screen height, customize as needed */
  margin: 0 auto;
  overflow: hidden;
  z-index: 0;
  display: flex;
}

.back-video,
.back-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.back-image {
  display: none;
}

.position-text {
  padding-left: 3rem;
  margin-top: 25rem;
  position: absolute;
}

.position-text h1 {
  font-size: 3.5rem;
  margin-top: 1rem;
  font-weight: bold;
}
.position-text h3 {
  font-size: 2.5rem;
  margin-top: 1rem;
}

.gradient-text {

  /* background: linear-gradient(90deg, rgb(14, 13, 230), rgb(250, 195, 70)); */
  background: linear-gradient(90deg, #0d6de6, #ffeb3b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* animation: shine 10s linear infinite; */
  background-size: 300% auto;
  animation: shine 10s linear infinite;
}

@keyframes shine {
  to {
    background-position: 300% center;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 40vh;
    flex-direction: column;
    min-height: 250px;
  }
  .back-image {
    min-width: 100vw;
    min-height: 40vh;
    object-fit: cover;
    display: block; /* Show image on small screens */
  }
  .position-text {
    padding-left: 1rem;
    margin-top: 12rem;
    /* position: absolute; */

  }
  .position-text h1 {
    font-size: 2rem;
    margin-top: 1rem;
    font-weight: bold;
  }
  .position-text h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
  }
}

@media (min-aspect-ratio: 16/9) {
  .back-video, .back-image {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 16/9) {
  .back-video, .back-image {
    width: auto;
    height: 100%;
  }
}



/* CUSTOMIZE TEXT ON VIDEO
-------------------------------------------------- */
/* .content {
  margin-top: 10rem;
  margin-left: 10rem;
  z-index: 1; 
} */

/* .content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  padding: auto;
  color: hsl(240, 4%, 5%);
} */

/* .content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: rgb(250, 195, 70);
} */

/* .content bold {
  font-weight: bold;
  color: hsl(240, 4%, 5%);
} */
/* 
@media (max-width: 40em) {

  .content h1 {
    margin-bottom: 0.75rem;
    font-size: 4.50rem;
  }

  .content h3 {
    margin-bottom: 0.75rem;
    font-size: 4.25rem;
  }
}

@media (max-width: 62em) {
  .content h1 {
    margin-bottom: 0.75rem;
    font-size: 5.75rem;
  }

  .content h3 {
    margin-bottom: 0.75rem;
    font-size: 5.25rem;
  }
} */



