:root {
    --ff-body: 'Open Sans', sans-serif;
    --ff-title: 'Playfair Display', serif;

    --clr-dark-blue: #222838;
    --clr-light-blue: #B9D0D9;
    --clr-yellow: #c79f43;
    --clr-yellow-hover: #c9aa5a;
    --clr-green: #216974;
    --clr-green-hover: #1F3B40;
    --clr-white: #F1EFEA;
    --clr-blanc: white;
    --clr-gris: #f3f3f3;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img,
picture {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 0.5em;
}

.flex {
    display: flex;
}

html {
    scroll-behavior: smooth;
}

body {
    text-rendering: optimizeSpeed;
    overflow-x: hidden;
    font-family: var(--ff-body);
    font-size: 1rem;
    color: var(--clr-dark-blue);
    line-height: 1.5;
    text-rendering: optimizeSpeed;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

/*----------------------------------Colors-------------------*/
.fnd-vert {
    background-color: var(--clr-green);
    color: var(--clr-blanc);
}

.fnd-bleu-clr {
    background-color: var(--clr-light-blue);
}

.fnd-gris {
    background-color: var(--clr-gris);

}

.fnd-blanc {
    background-color: var(--clr-blanc);
}

.fnd-jaune {
    background-color: var(--clr-yellow);
}

.yellow {
    color: var(--clr-yellow);
}

.span-bold {
    font-weight: 700;
    text-transform: uppercase;
}

/**-------------------------------LIENS ET BOUTONS----------------**/
a {
    text-decoration: none;
    font-weight: 600;
    color: var(--clr-dark-blue);
}

.btn,
button,
.wp-block-button a {
    display: inline-block;
    text-align: center;
    background-color: var(--clr-yellow);
    color: var(--clr-white);
    padding: 0.55rem 1.2rem;
    margin: 1em 0;
    max-width: fit-content;
    border: none;
    border-radius: 0.5em;
    cursor: pointer;
}

.btn:hover,
button:hover,
.wp-block-button:hover a {
    background-color: var(--clr-yellow-hover);
}

.btn-yellow {
    display: inline-block;
    text-align: center;
    background-color: var(--clr-blanc);
    color: var(--clr-yellow);
    padding: 0.55rem 1.2rem;
    margin: 1em 0;
    max-width: fit-content;
    border: 1px solid var(--clr-yellow);
    border-radius: 0.5em;
    cursor: pointer;
}

.btn-yellow:hover {
    color: var(--clr-blanc);
    background-color: var(--clr-yellow-hover);
    border: 1px solid var(--clr-yellow-hover);
}

/*Une div pour centrer les btn*/
.btn-div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-left {
    width: 90%;
    padding: 1em;
    display: flex;
    justify-content: flex-start;
}

/**---------------------------------LES TITRES --------------------------**/
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--ff-title);
    margin: 0.5em 0 0.5em;
    width: 100%;
}

h2 {
    font-size: 1.5rem;
}

.h2 {
    text-decoration: underline 2px solid var(--clr-dark-blue);
    text-underline-offset: 0.5em;
}

h1 {
    font-size: clamp(1.4rem, 6vw, 1.7rem);
}


/**----------------------------------------MAIN-------------------------------------**/
main {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--clr-blanc);
}

section,
.section,
.section-home {
    width: 100%;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section {
    margin: 0 auto;
    padding: 1em;
    background-color: var(--clr-blanc);
}

.section ul,
.section ol {
    padding: 0 1em;
}

.section-home {
    margin: 1em 0;
}

.section-home p {
    padding: 1em;
    text-align: justify;
}



/*---------------------------------------------------------------LE TEXTE------------------------------------------------*/

.txt-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.txt-center p,
.center {
    text-align: center;
}

.bg-font {
    font-size: 2.5rem;
    text-align: center;
}

.ml-font {
    font-size: 1.2rem;
}

.txt-white {
    color: var(--clr-blanc);
}

.txt-justify {
    text-align: justify;
}



/*----------------LES PARAGRAPHES--------------*/
.section p {
    width: 100%;
    margin: 0.5em 0;
    padding: 0;
}

.section blockquote {
    width: 90%;
}

.section blockquote p {
    width: 100%;
    font-weight: 300;
}

p.has-text-align-center,
h2.has-text-align-center,
h3.has-text-align-center,
h4.has-text-align-center,
h5.has-text-align-center {
    text-align: center;
}

p.has-text-align-right,
h2.has-text-align-right,
h3.has-text-align-right,
h4.has-text-align-right,
h5.has-text-align-right,
h6.has-text-align-right {
    text-align: right;
}

p.has-text-align-left,
h2.has-text-align-left,
h3.has-text-align-left,
h4.has-text-align-left,
h5.has-text-align-left,
h6.has-text-align-left {
    text-align: left;
}


/*---------------------LES LISTES----------------------*/
.section ul,
.section ol {
    text-align: justify;
    width: 95%;
    margin: 0 0 1em;
}

.section ul li,
.section ol li {
    margin: 0.5em 0 0.5em;
}

/*-----------------------TABLEAU-------------------------------*/
table {
    width: 100%;
    margin: 1em 0;
    padding: 1em 0;
    background-color: var(--clr-white-background);
}

/*---------------------colone dans section----------------------*/
.col-container {
    width: 100%;
    display: grid;
    gap: 1em;
    margin: 0 0 1em;
    padding: 0.5em 1em;

}

.col-container-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.col-container-item p {
    padding: 1em 1.25em;
}

.col-container img {
    padding: 0;
    width: 100%;
}






/*--------------------------------------------------IMAGES-----------------*/
/*------------------------------Background Image-------------------*/
.bckg-img {
    /* background-repeat: no-repeat; */
    background-size: cover;
}


/*------------------------------------------BORDURES---------------------*/
.radius {
    border-radius: 25px;
}

.padding {
    padding: 1em 0;
}

.border-light-blue {
    border: 1px solid var(--clr-light-blue);
}

/*----------------------------------------------HEADER--------------------------------------------*/
header {
    width: 100%;
    border-bottom: 1px solid var(--clr-light-blue);
    text-transform: uppercase;
    background-color: var(--clr-blanc);
    display: flex;
    flex-direction: column;
}

header a {
    color: var(--clr-dark-blue);
    font-weight: 400;
}

.active {
    color: var(--clr-yellow);
    font-weight: bolder;
}

.header-menu {
    display: flex;
    gap: 1em;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    padding: 0.75em 0;
}

.header-logo img,
.footer-logo img {
    width: 100%;
    object-fit: contain;
}

/* .header-logo-mobile-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1.25em;
} */

/*--------------le choix des langues-----------*/
.header-lang {
    width: 100%;
    padding: 0;
    margin: 0;

}

.langues {
    width: 100%;
    background-color: var(--clr-dark-blue);
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    padding: 1em 1.25em;
    margin: 0;
}

.langues li a {
    font-weight: 600;
    font-size: 12px;
    color: var(--clr-blanc);
    transition: all .5s ease;

}

.langues li a:hover {
    text-decoration: 2px solid var(--clr-blanc) underline;
    text-underline-offset: 0.5em;
}

/*--------------barre de navigation--------*/
.main-nav {
    flex-direction: column;
}

.primary-nav {
    display: flex;
}

nav ul li {
    list-style: none;
}

.nav-btn li a {
    display: inline-block;
    text-align: center;
    background-color: var(--clr-green);
    color: var(--clr-white);
    padding: 0.5em 0.75em;
    margin: 0.5em 0;
    max-width: fit-content;
    transition: all .5s ease;
}

.nav-btn li a:hover {
    background-color: var(--clr-green-hover);
}



/*-----------------------moteur de recherche-------------*/
.btn-search {
    width: 50px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    right: 0px;
    color: var(--clr-yellow);
    background-color: transparent;
    pointer-events: painted;
}

.btn-search:hover {
    background-color: transparent;
}

.search-container-desk {
    display: none;
    width: 100%;
    padding: 1em 2em;
    border-top: 1px solid var(--clr-light-blue);
}

.search-container-mobile {
    width: 100%;
    padding: 1em 0em;
    display: flex;
    gap: 1em;
    justify-content: flex-start;
    align-items: center;

}

.input-visible {
    display: flex;
    justify-content: flex-end;
}

#nav-search-input-desk,
#nav-search-input-mobile {
    width: 230px;
    padding: 12px 20px 12px 40px;
    font-size: 1rem;
    border: 1px solid var(--clr-green);
    background-color: var(--clr-white);
    border-radius: 4px;
    margin: 1em 0;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

#nav-search-input:focus {
    width: 100%;
}


/*----------------------------------------------------FOOTER----------------------------------------------------------*/

footer {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 1em 0 0;
    border-top: 1px solid var(--clr-dark-blue);
    background-color: var(--clr-dark-blue);
    color: var(--clr-white);
}

footer a {
    color: var(--clr-white);
    font-weight: 400;
}

footer h3 {
    color: var(--clr-yellow);
    text-align: center;
    text-decoration: 2px var(--clr-yellow) solid underline;
    text-underline-offset: 1em;
}

.footer-bottom {
    width: 100%;
    background-color: var(--clr-yellow);
    color: var(--clr-white);
    display: flex;
    gap: 2em;
    justify-content: center;
    padding: 1em 0 0.6em;
}

.footer-top {
    width: 100%;
    display: flex;
    gap: 2em;
    flex-direction: column;
    padding: 1em 0 1.5em;
}

.footer-txt-container p {
    font-size: 1rem;
    padding: 0.5em;
    text-align: center;

}

.footer-logo {
    margin: 1em 0 0;
    max-width: 200px;
}

.footer-logo p {
    font-size: 0.9rem;
    text-align: center;
}

.footer-logo-p {
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1em;
    justify-content: center;
}

.img-socials {
    width: 24px;
    height: 24px;
    color: var(--clr-blanc);
}

.img-socials:hover {
    color: var(--clr-yellow-hover);
}

.footer-nav {
    padding: 0 1em;
}

.footer-nav,
.menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.footer-nav a:hover,
.menu-footer a:hover {
    color: var(--clr-yellow-hover);
}

.menu-footer {
    width: 100%;
    padding: 1em;
}

.menu-footer li {
    list-style: none;
}

.menu-footer a {
    font-size: 1rem;
}


/**----------------------------------------------------------LES PAGES-------------------------------------------------**/

/*-----------------------------------------------------------PAGE HOME--------------------------------------------------*/
/*----------------------------------------section hero-------------------------------*/
.hero-section {
    width: 100%;
    margin-top: 0;
    padding-top: 0;

}

.hero-section-img-container {
    width: 90%;
    display: flex;
    justify-content: center;
}

.slider-container {
    margin: 0 auto;
    overflow-x: hidden;

}

.slider {
    animation: slider 12s infinite ease-in-out;
}

.slider img {
    flex: 1 0 100%;
    border-radius: 0.5em;
    object-fit: cover;
}

.hero-section-txt-container {
    width: 100%;
    padding: 0 1em;
    margin: 0 0 1em;
    background-color: var(--clr-blanc);
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.hero-section-txt-container h2 {
    width: 100%;
    text-align: left;
    margin: 0.5em 0 0;
    text-decoration: none;
    color: var(--clr-green);
}

.hero-section-txt-container p,
.hero-section-txt-container h1 {
    width: 100%;
}

.hero-section-txt-container h1 {
    margin: 0;
}

.hero-section-nav {
    width: 100%;
    display: flex;
    gap: 1em;
    justify-content: flex-start;
}

/*-------------------------------------------animation slider hero--------------------------------------*/
/* 
   5% par transition, nombre choisi arbitrairement.

   reste divisé par nb de pauses
   80(%) / 2 = 40(%) par pause
*/
@keyframes slider {

    0%,
    40% {
        transform: translateX(0);
    }

    45%,
    85% {
        transform: translateX(-100%);
    }

    90%,
    100% {
        transform: translateX(-200%);
    }

}

/*---------------------------------------------------Section NOS ACTIONS------------------------------------------------*/
.card-action-container {
    display: grid;
    gap: 1.5em;
    margin: 1em 0;
}

.card-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--clr-blanc);
    border-radius: 25px;
    padding: 1em 0;
}

.card-action .card-img {
    max-width: 25%;
}

.card-action p {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
}



/*--------------------------------------------------------------------SECTION SLOGAN--------------------------------------*/
.bold-txt {
    font-size: xx-large;
    font-weight: bolder;
    text-align: center;
    padding: 2.5em 0;

}

/*------------------------------------------------------------Section faire un don------------------------------------------------*/
.home-donation-section {
    flex-direction: column;
    align-items: center;
}

/*-----------------------------------------------SECTION ACTUALITES--------------------------------------------------------------*/
.actu-home{
    background-color: var(--clr-gris);
    margin: 2em auto;
    padding: 1em 1em 2em;
}
.actu-links {
    width: 100%;
    margin: 1.75em auto 1em;
    display: grid;
    gap: 1em;
    grid-template-columns: 1fr;
}
.actu-box{
    padding: 0;
    background-color: var(--clr-blanc);
    border: 1px solid var(--clr-light-blue);
    border-radius: 8px;
}
.actu-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.actu-box h3 {
    margin-top: 1em;
}
.actu-txt{
    padding: 0 0.5em 1em;
}




/**----------------------------------------------------------------PAGE MODEL-----------------------------------------**/
/*-------------Le top des pages------------*/
.top-page {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.top-page h1,
.top-page-archive h1 {
    width: 70%;
    margin: 0;
    font-size: 3rem;
    text-align: center;
}

.top-page-archive {
    height: 100px;
}



/*---------------------------------------------------PAGE ARCHIVE-----------------------------------------------*/
.archive-raw {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.archive-card {
    padding: 1em 1em;
    margin: 1em auto;
    display: flex;
    flex-direction: column;
    background-color: var(--clr-blanc);
    border: 1px solid var(--clr-light-blue);
    border-radius: 0.5em;

}

.archive-card h3 {
    width: 100%;
    text-align: center;
}

.archive-card p {
    width: 100%;
    text-align: justify;
}

.archive-img {
    padding: 0;
    width: 100%;
    display: flex;
}

.archive-img img {
    flex: 1 0 100%;
    object-fit: cover;
    border-radius: 0.5em;
}

.previous-next-box {
    width: 90%;
}


/*-------------------------------------------------------PAGE SINGLE POST------------------------------------------*/
.img-blog {
    aspect-ratio: 1.91 / 1;
    /* ratio 1200x630 */
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2em;
}

.img-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post h1 {
    text-decoration: none;
    font-size: 36px;
    margin-bottom: 1.5em;
}

.blog-post h2 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.blog-post p {
    margin-bottom: 1em;
}


.blog-post-footer {
    width: 100%;
    border-bottom: 1px solid var(--clr-light-blue);
    padding: 1em;
    margin: 1em 0;
    justify-content: flex-end;
    align-items: center;
    color: var(--clr-green);
    font-size: 16px;
}

.categorie-blog-post a,
.date-blog-post {
    font-weight: 600;
    font-size: 16px;
    font-style: italic;
    color: var(--clr-green);
}

.date-blog-post {
    font-size: 0.8rem;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.categorie-blog-post a:hover {
    text-decoration: 2px solid var(--clr-green) underline;
    text-underline-offset: 0.5em;
}

.next-previous-box {
    margin: 1em 0 0;
    padding: 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.next-previous-box>div {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.next-previous-box a:hover {
    text-decoration: 2px solid var(--clr-yellow) underline;
    text-underline-offset: 0.5em;
}

/*----------------------------------------------------PAGE CONTACT-----------------------------------------------*/
.form-contact {
    width: 90%;
    padding: 1em;
    margin: 1em auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--clr-light-blue);
    border-radius: 5px;
    box-shadow: 5px 10px 8px var(--clr-dark-blue);
    background-color: var(--clr-light-blue);

}

.form-contact div {
    width: 100%;
}

.form-contact form {
    width: 100%;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

input[type=text],
input[type=email],
textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid var(--clr-dark-blue);
    border-radius: 4px;
    margin: 1em 0;
    resize: vertical;
}

.form-contact form input[type=submit] {
    background-color: var(--clr-yellow);
    color: var(--clr-white);
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-contact form input[type=submit]:hover {
    background-color: var(--clr-yellow-hover);
}


/*---------------------------------------------------------PAGE DONATION-----------------------------------------------*/

.donation-page h2 {
    text-decoration: none;
}





/*-------------------------------------------------------------PAGE MERCI----------------------------------------------*/
.section-merci {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-merci img {
    width: 40%;
}

.section-merci h1 {
    font-size: 1.8em;
    margin: 0 0 1em;
}

/*-----------------------------------------------------------------404 error-------------------------------------------*/
#section-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}








/*----------------------------------------------Version mobile-----------------------------------------------------------------------*/

@media screen and (max-width:1023px) {
    .header-menu {
        padding: 1em 1.25em;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    /*------------------------------------------BURGER MENU--------------*/
    .mobile-menu {
        width: 20px;
        height: 20px;
        cursor: pointer;
        border: none;
        display: flex;
        background-color: transparent;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .mobile-menu:hover {
        background-color: transparent;
    }

    .mobile-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--clr-yellow);
        position: absolute;
        pointer-events: none;
        transition: opacity 0.3s 0.15s ease-out;
    }

    .mobile-menu span:nth-child(1) {
        transform: translateY(7px);
    }

    .mobile-menu span:nth-child(3) {
        transform: translateY(-7px);
    }

    .mobile-menu span:nth-child(1),
    .mobile-menu span:nth-child(3) {
        transition: transform 0.3s ease-out;
    }

    .mobile-menu.open span:nth-child(1) {
        transform: translate(0) rotate(135deg);
    }

    .mobile-menu.open span:nth-child(2) {
        opacity: 0;
        transition: opacity 0s ease-out;
    }

    .mobile-menu.open span:nth-child(3) {
        transform: translate(0) rotate(-135deg);
    }

    /*-----------------------------------------------------BARRE DE NAVIGATION-----------------------------------------*/
    .nav-btn-container {
        padding: 2em;
        display: flex;
        justify-content: flex-end;
    }

    .main-nav {
        display: flex;
        transform: translate(-100%);
        transition: transform 0.3s ease-out;
        flex-direction: column;
        padding: 1.5em;
        width: 100%;
        background-color: var(--clr-blanc);
        position: absolute;
        top: 10em;
        left: 0;
        z-index: 1000;
        border-bottom: 1px solid var(--clr-light-blue);

    }

    .primary-nav {
        flex-direction: column;
        gap: 2em;
    }

    .primary-nav li {
        width: 100%;
        padding-bottom: 1em;
    }

    .primary-nav li a {
        border-bottom: 1px solid var(--clr-dark-blue);
    }

    .sub-menu {
        margin: 2em 0 0 1em;
        display: flex;
        gap: 2em;
        flex-direction: column;

    }

    .sub-menu li::before {
        content: "* ";
    }

    .sub-menu li {
        border: 0;
    }

    .open {
        transform: translate(0%);
    }


    .visible {
        transform: translate(0%);
    }

    .no-scroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /*-----------------------------------BOUTON DONATION-------------------------*/
    .navigation {
        width: 40%;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-btn li a {
        font-size: 0.8rem;
    }

    /*--------moteur de recherche desk--------*/
    .search-container-desk,
    .btn-search {
        display: none;
    }

    /*-------------PAGE SINGLE-------*/
    .img-blog {
        margin-bottom: 1.5em;
    }

    .blog-post h1 {
        font-size: 28px;
        margin-bottom: 1em;
    }

    .blog-post h2 {
        margin-top: 1.75em;
        margin-bottom: 0.75em;
    }

    .blog-post p {
        margin-bottom: 0.75em;
    }

    /*----------------------------------PAGE ACCUEIL-----------------*/
    /*--------------------------SECTION ACTU---------------------*/
    .actu-box  {
        max-width: 600px;
        margin: 0 auto;
    }


}



@media screen and (min-width:768px) and (max-width:1023px) {

    .section {
        width: 90%;
    }

    .btn-left {
        justify-content: center;
    }

    /*-------------------------------------------SECTION HERO--------------------------*/
    .hero-section-txt-container {
        width: 80%;
    }

    .hero-section-img-container {
        width: 80%;
    }

    /*----------------------------------------SECTION ACTU HOME-----------*/
    .actu-links {
        grid-template-columns: repeat(2, 1fr);
    }

    /*---------------------------ARCHIVE-----------------------------*/
    .archive-raw {
        width: 80%;
    }

    .archive-card {
        width: 80%;
    }

    /*-------------SECTION NOS PILIERS PAGE HOME-----------------------*/
    .card-action-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

    }

    .card-action {
        width: 40%;
    }



}


/*---------------------------------------------------------------DESKTOP--------------------------------------------------*/


@media screen and (min-width:1024px) {
    body {
        font-size: 1.125rem;
    }



    /*-----------------section--------------------*/
    .section,
    .section-home {
        width: 90%;
    }

    .section {
        padding: 1em;
    }


    /*----------------------------PAGE MERCI-----------------------*/
    .section-merci img {
        width: 30%;
    }

    .btn-left {
        width: 100%;
        justify-content: center;
    }

    /*--------------------les colones dans les sections----------------------*/
    .col-container {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
    }

    .col-container-item {
        padding: 0.5em 0;
    }

    .col-container img {
        width: 90%;
    }






    /*---------------------------------------------------HEADER-------------------------------------------------------------*/
    /*----------------------------------Le Header-----------------------------*/

    header {
        font-size: 12px;
        align-items: center;
        padding: 0 0 1em;

    }

    .header-menu {
        width: 100%;
        padding: 0 1em;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu {
        display: none;
    }

    .main-nav {
        width: 70%;
        flex-direction: row;
        gap: 2em;
        margin: 0;
        justify-content: center;
        align-items: center;
    }


    .primary-nav {
        padding: 1em 0;
        margin: 0;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .primary-nav li {
        margin: 0 1em;
    }

    .primary-nav li::after {
        content: "";
        display: block;
        margin: auto;
        height: 2px;
        background: var(--clr-dark-blue);
        width: 0%;
        transition: 0.3s ease-out;
    }

    .primary-nav li:hover::after {
        border-bottom: 1px solid var(--clr-dark-blue);
        width: 100%;
    }


    /*--------------------------menu déroulant-------------*/
    .primary-nav li {
        position: relative;
    }

    .sub-menu {
        display: none;
        position: absolute;
        min-width: 180px;
        padding: 1.5em 1em;
        gap: 2em;
        flex-direction: column;
        background-color: #f9f9f9;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;

    }

    .primary-nav li:hover .sub-menu {
        display: flex;
    }


    /*------------------------------Moteur de recherche---------*/
    .search-container-mobile {
        display: none;
    }

    /*------------------------------------------------------------FOOTER-------------------------------------------*/
    .footer-top {
        max-width: 90%;
        display: grid;
        gap: 1em;
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-nav {
        justify-content: left;
    }

    .footer-txt-container p {
        padding: 0.5em;
    }


    /*---------------------------------------LE TOP DES PAGES-------------------------*/
    .top-page {
        height: 300px;
    }

    .top-page h1 {
        top: 61%;


    }

    .top-page-img-h1 {
        top: 10%;
        font-size: 4rem;
    }

    /*-------------------------------------------Page HOME--------------------------------------*/
    /*------------------------Section Hero-----------------*/
    .hero-section {
        width: 90%;
        display: flex;
        flex-direction: row;

    }

    .hero-section-txt-container {
        width: 60%;
    }

    .hero-section-txt-container h1,
    .hero-section-txt-container p {
        width: 90%;
    }

    .hero-section-nav {
        justify-content: flex-start;
    }

    .hero-section-img-container {
        width: 30%;
    }

    /*-------------------------SECTION NOS PILIERS PAGE ACCUEIL---------------------------*/

    .card-action-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card-action {
        width: 25%;
    }

    /*---------------------------------SECTION ACTU HOME-----------------------------*/
    .actu-links {
        grid-template-columns: repeat(4, 1fr);
    }



    /*---------------------------------------------------------------PAGE ERROR-----------------------------------------------------*/
    #section-error {
        min-height: 60vh;
    }

    /*-----------------------------------------------------------------PAGE ARCHIVE------------------------------------------------------*/
    .archive-raw {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    .archive-card h3 {
        text-align: left;
    }

    .previous-next-box {
        width: 80%;
    }

    .home-blog-post-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .next-previous-box {
        gap: 5em;
    }

    /*----------------------------------------------------------------PAGE CONTACT---------------------------------------------------*/
    .form-contact {
        width: 80%;
        padding: 1.5em;
    }





}




@media screen and (min-width:1440px) {

    .section {
        width: 70%;
    }

    .col-container {
        width: 70%;

    }

    /*----------------------------MENU NAVIGATION------------------------*/
    .main-nav {
        width: 80%;
        justify-content: center;
    }

    /*--------------------------------SECTION HERO----------------------*/
    .hero-section,
    .header-menu,
    .footer-top,
    .section-home {
        width: 80%;
    }

    /*------------------------------SECTION DONS PAGE ACCUEIL----------------*/

    .home-donation-txt {
        width: 40%;
    }

    /*-------------SECTION NOS PILIERS PAGE ACCUEIL-----------------------*/
    .card-action-container {
        grid-template-columns: repeat(3, 1fr);

    }


    /*-------------------------------PAGE HOME-----------------*/
    .form-contact {
        width: 70%;

    }

    /*------------------------------PAGE ARCHIVE-------------*/
    .previous-next-box {
        width: 70%;
    }

    /*-----------------------------------PAGE FAIRE UN DON-------------*/
    .donation-page {
        width: 70%;

    }

    .donation-page p {
        width: 80%;
    }

}