/* CSS pour l'animation de transition */
.bandeau .texte {
  position: absolute;
  bottom: 0;
  /* Positionner le texte en bas */
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  /* Utiliser Flexbox pour centrer le texte */
  justify-content: center;
  align-items: center;
  animation: defilement 10s linear infinite;
}

/* CSS pour les textes */
.bandeau .texte span {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bandeau .texte span.visible {
  opacity: 1;
}


.bandeau {
  width: 100%;
  background-color: #e6e3e3;
  font-size: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Pour les grands écrans, fixez la hauteur à 50px */
@media (min-width: 768px) {
  .bandeau {
    height: 50px;
  }
}

/* Pour les petits écrans, permettez à la hauteur de s'adapter */
@media (max-width: 767px) {
  .bandeau {
    height: 70px
  }

  .bandeau .texte span {
    white-space: normal;
    /* permettez au texte de passer à la ligne suivante */
  }
}


/* Animation de transition */
@keyframes defilement2 {
  0% {
    transform: translateY(50px);
  }

  /* Déplacer le texte vers le bas */
  5% {
    transform: translateY(0);
  }

  /* Afficher le texte 1 */
  25% {
    transform: translateY(0);
  }

  /* Afficher le texte 1 pendant un moment */
  30% {
    transform: translateY(-50px);
  }

  /* Déplacer le texte 1 vers le haut */
  35% {
    transform: translateY(-50px);
  }

  /* Masquer le texte 1 */
  40% {
    transform: translateY(-50px);
  }

  /* Afficher le texte 2 */
  60% {
    transform: translateY(-50px);
  }

  /* Afficher le texte 2 pendant un moment */
  65% {
    transform: translateY(-100px);
  }

  /* Déplacer le texte 2 vers le haut */
  70% {
    transform: translateY(-100px);
  }

  /* Masquer le texte 2 */
  75% {
    transform: translateY(-100px);
  }

  /* Afficher le texte 3 */
  95% {
    transform: translateY(-100px);
  }

  /* Afficher le texte 3 pendant un moment */
  100% {
    transform: translateY(-150px);
  }

  /* Déplacer le texte 3 vers le haut */
}

@keyframes defilement {
  0% {
    top: 50px;
  }

  10% {
    top: 0px;
  }

  90% {
    top: 0px;
  }

  100% {
    top: -50px;
  }
}

.arrow-right {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 24px;
  margin-left: 194px;
  animation: arrowAnimation 1s infinite alternate;
}

.arrow-right::before,
.arrow-right::after {
  content: '';
  position: absolute;
  background-color: #000;
  /* Changez la couleur (#000) selon votre design */
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  /* Ombre pour un effet premium */
  border-radius: 2px;
}

.arrow-right::before {
  top: 0;
  left: 50%;
  width: 2px;
  height: 14px;
  transform: translateX(-50%) rotate(-45deg);
}

.arrow-right::after {
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
}

@keyframes arrowAnimation {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(5px);
  }
}

.activerFamily {
  position: relative !important;
  visibility: visible !important;
}