.background_template {
  display: flex;
  flex-direction: column;
  color: #fff;
  transition: background-color 0.5s ease;
}

.section_template {
  height: 100vh;
  position: relative;
}
.template_content {
  background: rgba(0, 0, 0, 0.1);
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 0;
  padding: 25px 0;
  position: absolute;
  right: 0;
  text-align: start;
  top: 0;
  z-index: 1;
}

@media (max-width: 900px) {
  .template_content {
    justify-content: start;
    padding: 124px 0;
  }
  .section_template {
    height: 50vh;
    position: relative;
  }
}

@media (max-width: 496px) {
  .template_content {
    justify-content: start;
    padding: 124px 0;
  }
  .section_template {
    height: 40vh;
    position: relative;
  }
}
.template_background {
  height: calc(var(--vh, 1vh) * 60);
}

.background_template_image {
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 1;
}

.template_image {
  height: 100% !important;
  left: 0 !important;
  object-fit: cover;
  object-position: right center;
  position: absolute;
  top: 0 !important;
  transform: none;
  width: 100%;
  z-index: 1;
}
.template_texte {
  padding-left: calc(-12.94118px + 7.84314vw);
  padding-right: calc(-12.94118px + 7.84314vw);
  width: 50%;
}

.template_titre,
.template_sous_titre {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration, 0.7s) ease,
    transform var(--duration, 0.7s) ease;
  transition-delay: var(--delay, 0s);
  font-family: 'Knockout Junior';
  white-space: nowrap;

}

.template_titre {
  font-size: calc(16.5px + 4vw);
  line-height: 1.5em;
  text-shadow: 12px 8px 24px rgba(0, 0, 0, 0.8);
}

.highlight {
  color: #FF4E00;
  background: linear-gradient(45deg, #e1b531, #EC9F05);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.highlight2 {
  color: #FF4E00;
  background: linear-gradient(45deg, #e1b531, #EC9F05);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 12px 8px 24px rgba(0, 0, 0, 0.2);
}
.template_sous_titre {
  font-size: calc(16px + 1.225vw);
  font-weight: 500;
  margin-top: calc(var(--vh, 1vh) * 0.01);
  text-shadow: 12px 8px 24px rgba(0, 0, 0, 0.8);
  line-height: 1.2em;

}

/* Classe d'animation */
.animate-on-load.active {
  opacity: 1;
  transform: translateY(0);
}
/* Animation d'apparition */
[data-aos='fade-in'] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1440px) {
  .background_Wrapper {
    padding-left: calc(-12.94118px + 7.84314vw);
    padding-right: calc(-12.94118px + 7.84314vw);
  }
}
