#home_page_banner_video {
  position: relative;
}

#home_page_banner_image {
  display: block;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 1px 8px #0b3a2d;
  background-color: rgba(0, 0, 0, 0.5);
}

#home_page_banner_video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.271);
  z-index: 10;
}

#home_page_banner_text{
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 15;
  width: 100%;
  color: white;
  font-family: "Antic Didone";
  font-size: 3rem;
  font-weight: 500;
  text-shadow: 3px 5px 3px black;
  gap: 20px; /* Reduced gap for better alignment */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#home_page_banner_header {
  animation: fadeIn 2s ease-in-out;
  margin: 0;
  text-align: center;
}
#home_page_banner_subheader {
  animation: fadeIn 2s ease-in-out;
  animation-delay: 1s;
  display: block;
  opacity: 0;
  animation-fill-mode: forwards;
  margin-top: 19px;
  text-align: center;
}

#company_logo {
  height: 87px;
  width: 180px;
  margin-top: -7px;
  opacity: .8;
  float: right;
  transform: translateY(-80px);
  background-color: rgba(255, 255, 255, 0.466);
}

#fillV {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  width: 100%;
  display: none;
}



/* ----------------------------------------------------------------------------------------------------------------------- */
@media (max-width: 1050px) {
  #home_page_banner_text {
    font-size: 2.5rem;
  }

  /* #home_page_banner_text{
    top: 22%;
    gap: 100px;
  } */
}

@media (max-width: 800px){
  #home_page_banner_text {
    font-size: 2rem;
  }
  #home_page_banner_image {
    height: 500px;
  }
  #home_page_banner_video::before {
    height: 500px;
  }
}

@media (max-width: 650px) {
  #home_page_banner_video {
    width: auto;
    height: auto;
  }
  /* #home_page_banner_text{
    top: 27%;
  } */

  #fillV {
    object-fit: cover;
    display: none;

  }

  #home_page_banner_image {
    display: block;
  }

  #home_page_banner_text {
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  #home_page_banner_text {
    font-size: 1rem;
  }
  #home_page_banner_subheader{
    font-size: 1.5rem;
  }
#company_logo {
  height: 60px;
  width: 120px;
  margin-top: 20px;
}
}
