@font-face {
    font-family: 'CENTURY GOTHIC FONT FAMILY';
    src: url('police/century-gothic/CenturyGothic.ttf') format('truetype'); /* Pour TTF */
    /* src: url('fonts/MaPolice.woff') format('woff');  Pour WOFF */
    font-weight: normal;
    font-style: normal;
}


body
{
       background-color: #f6f8fc;
       font-family: 'CENTURY GOTHIC FONT FAMILY';
}
#fond1 p,#fond1 li{
    font-size: 19px;
}
.texteCentre{
    text-align: center;
}

#fond1, #fond2, #fond3,#fond4,#fond5,#fond6{
    background-color: #ffffff;
}
#boutonAdherer:hover{
    background-color: #0C53D7 !important
}
.navbar-nav .nav-link:hover {
    color: black; !important;
    font-weight: bold;
}
.navbar-nav  {
    margin-left: 1rem;
    font-family: inika;
    font-size: 16px;
}
.navbar-nav .nav-link {
    color: black !important;
    font-weight: bold;
}
.active{
    color: #E47D23 !important;
}
.navbar-separator {
    border-left: 2px solid black;
    height: 25px;
    margin: auto 2rem;
}
.space{
    width: 40px;
}
.verticalspace{
    height: 20px;
}
.dropdown-menu {
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}
.dropdown-item:hover{
    background-color: #0C53D7;
    color: white;
}

.dropdown-toggle::after{
    display: none;
}

.gothic-regular {
  font-family: "Century Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.gothic-bold {
  font-family: "GOTHIC", serif;
  font-weight: 700;
  font-style: normal;
}

.inika-regular {
  font-family: "Inika", serif;
  font-weight: 400;
  font-style: normal;
}

.inika-bold {
  font-family: "Inika", serif;
  font-weight: 700;
  font-style: normal;
}

.titre-h5 {
    font-size: 1.25rem; 
    font-weight: bold;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.2); /* Arrière-plan semi-transparent */
    padding: 10px;
    border-radius: 10px;
}

.carousel-caption h5, .carousel-caption p {
    color: #fff; /* Couleur blanche pour le texte */
}

.carousel-caption {
    bottom: 20%; 
    transform: translateY(50%);
    text-align: center;
}
.texteSliders
{
    font-size: 1.5vw; /* Ajustez cette valeur selon vos besoins */
    text-align: center;
    font-family: candal ;
}
hr {
    border: none; /* Retire la bordure par défaut */
    height: 2px; /* Définit l'épaisseur de la ligne */
    background-color: black !important; /* Définit la couleur de la ligne en noir */
    border-radius: 5px; /* Arrondit les bords */
    border-top: 2px solid black; /* Assure une bordure noire en haut */
}
.ligneSousTitre{
    height: 3px;
    background-color: #E47D23;
}
.noto-sans-<uniquifier> {
  font-family: "Noto Sans", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
.candal-regular {
  font-family: "Candal", serif;
  font-weight: 400;
  font-style: normal;
}
.oswald-<uniquifier> {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.orelega-one-regular {
  font-family: "Orelega One", serif;
  font-weight: 400;
  font-style: normal;
}
.message{
    font-family: oswald;
    font-size: 30px; 
}

.barreBleu{
    height: 25px;
    width: 5px;
    background-color: #3954A5;
}
.sous-titre{
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: center;
    gap: 10px; /* Espacement entre les éléments */

}

.titreIntermédiaire{
    font-family: orelega one;
    color: #E47D23;
    font-size: 30px;
}

.custom-img {
    width: 169px; /* Largeur fixe du conteneur */
    height: 100px; /* Hauteur fixe du conteneur */
    overflow: hidden; /* Masquer les parties de l'image qui débordent */
    border-radius: 8px; 
}

.custom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadrer l'image pour remplir le conteneur sans déformation */
}

/* fixe la taille des Images du sliders */
.image-container {
    width: 100%; /* Largeur fixe du conteneur */
    height: 540px; /* Hauteur fixe du conteneur */
    overflow: hidden; /* Masquer les parties de l'image qui débordent */
    border-radius: 4px; 
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadrer l'image pour remplir le conteneur sans déformation */
}

/* Styles pour égaliser la hauteur */
.photo {
  background-color: #ccc;
  text-align: center;
  width: 169px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.texteminiature {
  flex-grow: 1;
  font-weight: 600;
  height: 100px;
}

.simpletexte{
    font-weight: normal;
}

.ligne1 {
  padding: 20px 0;
}

.miniature {
  gap: 20px;
}

.lettre a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #007bff;
}

.lettre a:hover {
  text-decoration: underline;
}
.lettre{
    height: 400px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}
.lettre img{
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.lettre:hover img {
    transform: scale(1.2); /* Agrandir l'image à 120% */
}

/* Personnalisation du formulaire de newsletter */
.newsletter-container {
            max-width: 100%;
            padding: 1rem;
            background-color: #f7ddce;
            border: 1px solid #dee2e6;
            border-radius: 0.5rem;
        }
        .newsletter-heading {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        .newsletter-form .form-control {
            margin-right: 0.5rem;
        }


/* Responsive design */
@media (max-width: 576px) {
    .newsletter-card {
        width: 90%; /* Formulaire plus large sur les petits écrans */
    }
}




/* Cadre contenant l'image et le texte */
.frame-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px; /* Coins arrondis */
    background-color: #fefefe;
    transition: transform 0.3s ease; /* Transition fluide */
}

.frame-box:hover .responsive-image {
    transform: scale(0.85); /* Réduit l'image au survol */
}

.responsive-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Transition fluide pour l'image */
}


/* Responsiveness : Les cadres prennent toute la largeur sur petits écrans */
@media (max-width: 768px) {
    .col-md-6 {
        width: 100%; /* Les cadres occupent 100% de la largeur sur petits écrans */
    }
}

@media (max-width: 991px) {
    .col-md-10 {
        width: 100%; /* La colonne principale occupe toute la largeur sur petits écrans */
    }
}

.ligneSeparation{
    border-bottom: 4px solid #E47D23;
}

.partners-section {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
    /*border-top: 4px solid #007bff;*/
}
.partners-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.partner-logos img {
    max-height: 80px;
    margin: 0 15px;
    transition: transform 0.3s ease;
}
.partner-logos img:hover {
    transform: scale(1.1);
}

footer {
    background-color: #3954A5;
    color: white;
    padding: 40px 20px;
}

footer h5 {
    color: #ffffff;
    margin-bottom: 20px;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: blue;
    text-decoration: none;
}
.social-icons a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #ffffff;
}
.footer-bottom {
    border-top: 1px solid #495057;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
}

.element-photo{
    position: relative; /* Permet de positionner la bordure intérieure */
    overflow: hidden;  /* Empêche les débordements */
    border-radius: 10px;
    cursor: pointer;
}

.element-photo img {
    display: block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 150px;
}

/* Bordure intérieure au survol */
.element-photo:hover img {
    transform: scale(1.05); /* Zoom léger pour l'effet visuel */
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.8); /* Bordure blanche intérieure */
}

/*///////////////////////////////////////////////////////////////////////////
///////////article//////////////////////////////////////////////*/
.article-header {
    position: relative;
    background-color: #f8f9fa;
}
.article-header img {
    width: 100%;
    height: 700px; /* Hauteur fixe pour que toutes les images soient uniformes */
    object-fit: cover; /* Ajuste l'image pour qu'elle remplisse l'espace sans déformer */
}
.article-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
}
.article-title h1 {
    margin: 0;
    font-size: 2rem;
}
.article-content {
    margin-top: 20px;
}
.article-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.article-content img {
    width: 100%; /* Les images prennent toute la largeur de leur conteneur */
    max-height: 600px; /* Limite la hauteur à 300px */
    object-fit: cover; /* Préserve les proportions en remplissant l'espace */
    margin: 20px 0; /* Ajoute un espacement vertical autour des images */
    border-radius: 8px; /* Ajoute des coins arrondis pour une esthétique plus soignée */
}

.propos{
    width: 400px;
}



/*///////////////////////////////////////////////////////////////////////////
///////////liste d'articles//////////////////////////////////////////////*/



.article-card {
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .article-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .article-card-body {
            padding: 15px;
        }

        .article-card-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .article-card-text {
            font-size: 1rem;
            color: #555;
            line-height: 1.5;
            height: 4.5rem;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .article-card-footer {
            text-align: right;
            padding-top: 10px;
        }

        .article-card-footer .btn {
            font-size: 0.9rem;
        }



        .cadrevide{
            border : 1px solid black;
            height: 480px;
            width: 100%;
        }

        .texteCadre {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white; /* ou une autre couleur selon le fond */
        font-size: 1.2em;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.5); /* optionnel pour meilleure lisibilité */
        padding: 10px;
        border-radius: 8px;
    }

    .frame-box2 {
        position: relative;
        overflow: hidden;
        border: 1px solid black;
        background-color: #fefefe;
        transition: transform 0.3s ease; /* Transition fluide */
    }

    .frame-box2:hover .responsive-image {
        transform: scale(1.1); /* Réduit l'image au survol */
    }

    .miniTitre{
        margin: 1px solid blue;
        background-color:blue;
        color: white;
        width: 300px;
        text-align: center;
    }
    .miniT{
        color: #3954A5;
        font-weight: 700;
    }
    .miniTa{
        color: #3954A5;
        font-weight: 200;
    }