.body {
  color: white;
}
.vp-center {
  background-color: #212529;
}
.parent {
  position: relative;
  overflow: hidden;
}

.background {
  object-fit: cover;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.titre1 {
  position: absolute;
  bottom: 0; /* Aligner le paragraphe en bas de la div parent */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: rgba(
    0,
    0,
    0,
    0.3
  ); /* Ajouter un fond semi-transparent pour le texte */
  padding: 10px; /* Ajouter un peu de marge au texte */
  width: 100%; /* Ajuster la largeur pour qu'elle corresponde Ã  celle de la div parent */
  box-sizing: border-box; /* Inclure le padding dans la largeur */
  height: 13rem;
}

#titre1 {
  position: absolute;
  bottom: 0; /* Aligner le paragraphe en bas de la div parent */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(
    0,
    0,
    0,
    0.3
  ); /* Ajouter un fond semi-transparent pour le texte */
  padding: 10px; /* Ajouter un peu de marge au texte */
  width: 100%; /* Ajuster la largeur pour qu'elle corresponde Ã  celle de la div parent */
  box-sizing: border-box; /* Inclure le padding dans la largeur */
}

.square-div {
  height: 600px;
  position: relative;
  overflow: hidden;
  background-color: #212529;
}

.vimeo {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  margin: 0px;
  padding-left: 0px;
  background-color: #212529;
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #212529;
}
.tangerine-regular {
  font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;
}

.tangerine-bold {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
}

.container2 {
  margin: 15%;
}

.nav-item.red-text .nav-link {
  color: red !important;
}

.card-acceuil {
  transition: transform 0.3s;
}

.card-acceuil:hover {
  transform: scale(1.05);
}
.no-underline {
  text-decoration: none;
}

.red-link {
  color: red;
  border: red 1px solid;
  border-radius: 5px;
}

.scale-hover {
  transition: transform 0.3s;
}
.scale-hover:hover {
  transform: scale(1.1);
}

.nav-link {
    transition: background-color 0.3s ease-in-out;
}

.monRouge{
    background-color: #7d0000;
}









/* Applique la vidÃ©o en fond uniquement Ã  .bg-video */
.bg-video {
    position: relative; /* Permet de contenir les Ã©lÃ©ments enfants */
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}
/* Assurez-vous que le texte prend bien sa place */
.textpara {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Conteneur de la vidÃ©o */
.bg-video > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Superposition sombre */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Assombrissement Ã  70% */
    z-index: -1; /* DerriÃ¨re le contenu mais au-dessus de la vidÃ©o */
}

.imgContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Centrage de la vidÃ©o */
#background-video2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que la vidÃ©o couvre toute la div */
    transform: translate(-50%, -50%); /* Centre la vidÃ©o horizontalement et verticalement */
    z-index: -2; /* Place la vidÃ©o derriÃ¨re l'overlay */
}










/* Conteneur global */
.custom-cartes {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mise en page des cartes */
.carte-container {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
    align-items:center;
    
}

/* Carte gÃ©nÃ©rale */
.carte {
    flex: 1 1 auto;
    max-width: 500px;
    height: 25vh; /* DÃ©finit la hauteur */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Ajout des images en arriÃ¨re-plan */
.carte-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit la carte sans dÃ©former l'image */
    z-index: -1; /* Place l'image derriÃ¨re le texte */
}

/* Effet au survol */
.carte:hover {
    transform: scale(1.05);
}

/* Supprime le soulignement du lien */
.non-underline {
    text-decoration: none;
    color: inherit;
}

/* Contenu des cartes */
.carte-content {
    position: relative;
    z-index: 2; /* Assure que le texte reste visible */
    padding: 20px;
}

/* Overlay pour rendre le texte lisible */
.carte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Diminue l'opacitÃ© pour voir l'image */
    z-index: 1;
}

/* Mode responsive pour mobiles */
@media (max-width: 768px) {

    .carte-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }


}







/* Conteneur gÃ©nÃ©ral */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    gap: 10px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Colonnes en Flexbox */
.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Images */
.gallery-img {
    width: 100%; /* Ajuste la largeur */
    border-radius: 5px;
    object-fit: cover; /* Ã‰vite les dÃ©formations */
    display: block;
}


        /* Classe qui s'ajoute lorsque l'image devient visible */
        .gallery img.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Effet plein Ã©cran */
        .fullscreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        /* Image en mode plein Ã©cran */
        .fullscreen img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 10px;
        }

        /* Affichage du mode plein Ã©cran */
        .fullscreen.active {
            visibility: visible;
            opacity: 1;
        }

        /* Bouton de fermeture */
        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 40px;
            color: white;
            cursor: pointer;
        }

        /* Responsive : une seule colonne sur mobile */
        @media (max-width: 768px) {
            .gallery {
                grid-template-columns: repeat(1, 1fr);
            }
        }









.admin-navbar {
  background-color: #343a40;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.admin-navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.admin-navbar ul li {
  display: inline-block;
}

.admin-navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.admin-navbar ul li a:hover {
  background-color: #495057;
}