/* p text for cookie policy */
#hs-banner-parent div, #hs-banner-parent p {
  color: black !important;
}

body { 
  padding-top: 0 !important; 
}



#page > .hs_cos_wrapper {
  position: relative;
}

.background-image {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

#backgroundVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

.background-text-area {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.background-text-area .carousel-caption h2, p {
  color: white !important;
}

p {
  color: #425b76;
}

.fade-text {
    opacity: 0;
    position: absolute;
    animation: fadeEffect 25s infinite; /* Total duration matches video */
    transition: opacity 0.6s ease-in-out; /* Smoother transition */
}
 
  /* opacity: 0;
  position: absolute;
  animation: fadeEffect 37s infinite;
  margin-bottom: 1rem;
  top: 50%; /* This will center the first text element
  transform: translateY(-50%); /* Adjust to exactly center vertically 
} */

.fade-text:nth-child(1),
.fade-text:nth-child(2) {
  animation-delay: 0s;
}

.fade-text:nth-child(3),
.fade-text:nth-child(4) {
  animation-delay: 8.25s;
}

.fade-text:nth-child(5),
.fade-text:nth-child(6) {
    animation-delay: 16.5s;
    
}

@keyframes fadeEffect {
    0%, 100% { opacity: 0; }  /* Text is hidden at start and restart */
    9% { opacity: 1; }  /* Text appears (fades in) */
    29% { opacity: 1; }  /* Text stays visible */
    36% { opacity: 0; }  /* Text fades out */
    50%, 100% { opacity: 0; }  /* Text remains hidden until next loop */
}




.background-text-area {
  margin-bottom: 50px;
  margin-top: 100px;
}

.background-text-area h1 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-family: 'Bebas Neue', Arial;
  font-size: 4rem;
  margin-top: 0;
  font-weight: 400;
  line-height: 90%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-bottom: 90px;
}

.background-text-area h2 {
  color: #fff;
  text-align: center;
  font-family: Arial;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 48rem;
  margin-top: 100px;
}

.splash-links-wrapper {
  width: 100%;
}

.cta-links-splash {
  padding-left: 24px;
  padding-right: 24px;
  margin-top: 100px;
}

.splash-cta-button {
  width: 100%;
  height: 48px;
  border-radius: 0.25rem;
  background-color: #363636 !important;
  cursor: pointer;
  position: relative;
  top: 0;
  border: none;
  transition: all 0.85s cubic-bezier(.25,.8,.25,1);
  margin-bottom: 1.5rem;
}

.splash-cta-button a {
  font-family: 'Bebas Neue', cursive;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1rem;
  color: #efefef;
  text-align: left;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 1.125rem;
}

.splash-cta-button:hover {
  width: 124px;
  max-width: 124px;
  border-radius: 1.5rem;
  transition: all 0.2s cubic-bezier(.25,.8,.25,1);
}

.splash-cta-button-2:hover {
  width: 9.5rem !important;
  max-width: 9.5rem !important;
}

.splash-cta-button-3:hover {
  width: 8.5rem;
  max-width: 8.5rem;
}

.splash-cta-button a:hover {
  color: #efefef;
}

@media (min-width: 36rem) {
  .background-image {
    height: 100vh;
    justify-content: center;
  }

  .splash-links-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 48rem;
  }

  .cta-links-splash {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 73.75rem;
  }

  .button-container-splash {
    width: 33.33%;
  }

  .splash-cta-button {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #363636 !important;
    cursor: pointer;
    position: relative;
    top: 0;
    border: none;
    transition: all 0.85s cubic-bezier(.25, .8, .25, 1);
  }

  .splash-cta-button:hover {
    width: 124px;
    max-width: 124px;
    border-radius: 1.5rem;
    transition: all 0.2s cubic-bezier(.25, .8, .25, 1);
  }
}

/* 768px */
@media (min-width: 768px) {
  .background-text-area h1 {
    font-size: 4.5rem;
  }

  .splash-links-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 36rem;
  }

  .background-text-area h2 {
    max-width: 36rem;
  }
}

/* 992px or 62rem */
@media (min-width: 62rem) {
  .background-text-area h1 {
    font-size: 4.5rem;
  }

  .splash-links-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 36rem;
  }

  .background-text-area h2 {
    max-width: 36rem;
  }
}

/* 1200px or 75rem */
@media (min-width: 75rem) {
  .background-text-area h1 {
    font-size: 6rem;
  }

  .splash-links-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 36rem;
  }

  .background-text-area h2 {
    max-width: 36rem;
  }
}
