.fixed-text {
    position: sticky;
    top: 0;
    /* Adjust this value if you want to change the vertical position */
    background-color: rgba(0, 0, 0, 0.7);
    /* Optional: semi-transparent background */
    z-index: 1;
    /* Ensure it stays above other content */
}

.image-zone {
    height: 400px;
    /* Set a height for the image zone */
    overflow: hidden;
    /* Hide overflow if needed */
    margin-bottom: -40px;
}

.carousel-inner img {
    height: 100%;
    /* Make images take full height of the carousel */
    object-fit: cover;
    /* Maintain aspect ratio */
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    background-color: 0;
    /* Couleur de fond du texte défilant */
    padding: 5px 0;
    /* Espacement autour du texte */
}

.marquee-text {
    display: inline-block;
    animation: marquee 10s linear infinite;
    /* Durée de l'animation */
    font-size: 24px;
    /* Taille de police de base */
    color: #000;
    /* Couleur du texte */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Ombre du texte */
    transition: transform 0.5s, color 0.5s;
    /* Transition pour les effets */
}

.marquee-text:hover {
    transform: scale(1.2);
    /* Agrandissement au survol */
    color: #ffd700;
    /* Couleur dorée au survol */
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Styles de base pour le menu */
.nav-link {
    position: relative;
    color: #fff;
    /* Couleur du texte */
    padding: 10px 15px;
    /* Espacement */
    text-decoration: none;
    /* Pas de soulignement par défaut */
    transition: color 0.3s;
    /* Transition pour la couleur */
}

/* Effet de survol */
.nav-link:hover {
    color: #ffd700;
    /* Changement de couleur au survol */
    transform: scale(1.1);
    /* Agrandissement au survol */
}

/* Soulignement animé */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    /* Épaisseur du soulignement */
    background: #ffd700;
    /* Couleur du soulignement */
    left: 0;
    bottom: -5px;
    /* Position du soulignement */
    transform: scaleX(0);
    /* Commence avec une échelle de 0 */
    transition: transform 0.3s ease;
    /* Transition pour l'animation */
}

.nav-link:hover::after {
    transform: scaleX(1);
    /* Échelle à 1 au survol */
}

/* Animation d'apparition pour les éléments du menu */
.nav-item {
    opacity: 0;
    /* Commence invisible */
    transform: translateY(-10px);
    /* Déplace légèrement vers le haut */
    animation: fadeIn 0.5s forwards;
    /* Animation d'apparition */
}

@keyframes fadeIn {
    to {
        opacity: 1;
        /* Rendre visible */
        transform: translateY(0);
        /* Retour à la position normale */
    }
}

/* Animation de décalage temporel pour chaque élément */
.nav-item:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-item:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-item:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* -------------------------------- */
@keyframes clignotement {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.h1-text {
    animation: clignotement 2s infinite;
}

.terms {
    text-transform: math-auto;
    font-size: large;
    color: #25110a;
    font-family: monospace;
    font-weight: 900;
}

cite {
    margin-bottom: .5rem;
    margin-left: 0;
    font-style: italic;
    font-family: fantasy;
    font-weight: bolder;
    text-decoration: solid;
    font-synthesis: none;
}

span.lien-creer {
    color: #ef2a2e;
    font-size: x-large;
    text-decoration-line: underline;
}

span.lien-creer:hover {
    color: #fdd116;
    font-size: x-large;
    text-decoration-line: underline;
    text-decoration-color: #ef2a2e;
}

#imageCarousel img {
    object-fit: contain;
    height: 100%;
}
.terms{
    max-width: 100%;
    margin-bottom: 10px;
}
.terms cite{
    font-size: 16px;
        line-height: 1.5;
        text-align: justify;
}
.loader{
    background-color: #FFCC00
}
.premierconnexion{
    background: #1F9F4A;
}
iframe{
    border: 0;
}
/* Le header accueil */
.navbar-expand-lg {
    background: linear-gradient(91deg, #f6f6f6, #f6f6f6);
    border-bottom: 1px solid rgba(234, 238, 251, 0.8);

}

.bg-nav a i {
    color: rgb(253 209 22);
}

.etoile {
    padding-bottom: 30px;
    width: 25px;
    height: 40px;
    margin-bottom: -51px;
    /* margin: 0 10px; */
}
.img-fluid1{max-height: 80px;}
#h2audience{
    font-size: 1.8rem;
        font-weight: bold;
}
i.fa-envelope,i.fa-user{
    padding-right: 5px;
}

#logout-form{
    display: none;
}

/* Footer */
.page-footer {
    color: #ffffff;
    font-size: 14px;
}

.footer-logo {
    max-width: 100px;
    height: auto;
}

.footer-hr {
    border: 1px solid #FFD700;
    /* Ligne dorée */
    width: 50%;
    margin: 10px 0;
}

.text-uppercase {
    letter-spacing: 1px;
    font-size: 16px;
}

a.text-white:hover {
    color: rgb(239 42 46) !important;
    text-decoration: none;
}

ul.list-unstyled {
    padding: 0;
    margin: 0;
}

ul.list-unstyled li {
    margin-bottom: 8px;
}

ul.list-unstyled li a {
    text-decoration: none;
}

.service {
    font-weight: bold;
    font-size: 18px;
    color: #FFD700;
    /* Couleur dorée */
    margin-top: 10px;
}