@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f1f1f1;
    font-family: 'Montserrat', sans-serif;
}




/*////////////////////////////////header//////////////////////////////////////*/


header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/image1.png);
    height: 80vh;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}






/*/////////////////  menu///////*/

@media screen and (min-width: 909px) {}

.logo1 {
    position: absolute;
    top: 2;
    left: 2;
    width: 6em;
}


/*///////////////// sous menu///////*/


.titre {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.titre h1 {
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
}

@media all and (min-width: 0px) and (max-width: 910px) {
    .titre {
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);

    }

    .titre h1 {
        color: #fff;
        font-size: 30px;
        text-transform: uppercase;
    }

}


/*/////////////////////////heder fini ///////////////////7*/




/*///////////////////partie de gauche //////////////////////*/

@media screen and (min-width: 1126px) {

    .titreecrantpetit {
        display: none;
    }

    .recent__itemspetit {
        display: none;
    }


    .main-title {
        padding: 0px 20px;
        color: #005a48;
    }

    .main-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 350px);
        grid-gap: 20px;
        width: 98%;
        margin: auto;
        padding: 10px 0px;
    }

    .article {
        grid-column-start: 1;
        grid-column-end: 3;
        display: flex;
        border-bottom: solid 2px #7d57579b;
        padding-bottom: 30px;
    }



    .article-text h2,
    .article-text__footer-1 h2,
    .article-text__footer-2 h2 {
        font-size: 30px;
        font-weight: 700;
        color: #005a48;
    }


    .article-image {
        flex-basis: 60%;
        margin: 6px;
    }

    .article-text {
        flex-basis: 48%;
        margin: 6px;
    }

    .article-image {
        height: 100%;
        width: 100%;

    }

    .imgrad {
        border-radius: 12px;
    }

    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .article-footer-1 {
        grid-column-start: 1;
        grid-column-end: 2;
        /* grid-row-start: 3;
  grid-row-end: 5; */
    }

    .article-image__footer-1 {
        height: 100%;
        width: 100%;
    }

    .article-image__footer-1 img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .article-footer-2 {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .article-image__footer-2 {
        height: 100%;
        width: 100%;
    }

    .article-image__footer-2 img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }


    .containeurrevenire {
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .btnrevenir {
        background-color: #005a48;
        padding: 10px;
        border: none;
        width: 30%;
        cursor: pointer;
        border-radius: 20px;
        padding: 10px 5px;
        color: #fff;
        font-size: 1rem;
    }

    /*///////////////////////////////////////////////////////partie de droite////////////////////////////////////////////  */




    .SideBar {
        grid-column-start: 3;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 5;
        background-color: #dfcece;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 200px 1fr 200px;
    }

    /* new letter */
    .SideBar-newletter {
        padding: 2rem;
    }

    .newletter-action {
        display: flex;
        flex-direction: column;
        width: 60%;
        align-items: center;
    }

    .SideBar-newletter h1 {
        color: #5c5656;
        border-bottom: 2px solid #5c5656;
        display: inline-block;
    }


    .recent .new-Btn {
        background-color: #005a48;
        padding: 10px;
        border: none;
        width: 100%;
        cursor: pointer;
        border-radius: 20px;
        padding: 10px 5px;
        color: #fff;
        font-size: 1rem;
    }


    /* sidebar items */

    .recent {
        padding: 3rem;
    }

    .recent__items {
        display: grid;
        grid-template-columns: repeat(2, 100px);
        grid-auto-rows: 200px;
        grid-gap: 50px;
        text-align: center;
        padding: 0;

        list-style: none;
    }

    .recent__item h4 {
        margin: 10px 0px;
    }

    .recent h1 {
        color: #5c5656;
        border-bottom: 2px solid #5c5656;
        display: inline-block;
    }

    .recent h1 {
        margin-top: 3rem;
    }



    .recent__item img {
        height: 100px;
        width: 100px;
        border-radius: 100%;

    }

}









/*88888888888-----------------88888888888888------------------8888888888888-----------------------888888888-----------------88888888*/












@media all and (min-width: 748px) and (max-width: 1126px) {

    .titreecrantgrand {
        display: none;
    }

    .recent__itemspetit {
        display: none;
    }


    .main-title {
        padding: 0px 20px;
        color: #005a48;
    }

    .main-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 350px);
        grid-gap: 20px;
        width: 98%;
        margin: auto;
        padding: 10px 0px;
    }

    .article {
        grid-column-start: 1;
        grid-column-end: 3;
        display: flex;
        border-bottom: solid 2px #7d57579b;
        padding-bottom: 30px;
    }



    .article-text h2,
    .article-text__footer-1 h2,
    .article-text__footer-2 h2 {
        font-size: 30px;
        font-weight: 700;
        color: #005a48;
    }


    .article-image {
        flex-basis: 60%;
        margin: 6px;
    }

    .article-text {
        flex-basis: 48%;
        margin: 6px;
    }

    .article-image {
        height: 100%;
        width: 100%;

    }

    .imgrad {
        border-radius: 12px;
    }

    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .article-footer-1 {
        grid-column-start: 1;
        grid-column-end: 2;
        /* grid-row-start: 3;
  grid-row-end: 5; */
    }

    .article-image__footer-1 {
        height: 100%;
        width: 100%;
    }

    .article-image__footer-1 img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .article-footer-2 {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .article-image__footer-2 {
        height: 100%;
        width: 100%;
    }

    .article-image__footer-2 img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }


    .containeurrevenire {
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .btnrevenir {
        background-color: #005a48;
        padding: 10px;
        border: none;
        width: 30%;
        cursor: pointer;
        border-radius: 20px;
        padding: 10px 5px;
        color: #fff;
        font-size: 1rem;
    }

    /*///////////////////////////////////////////////////////partie de droite////////////////////////////////////////////  */



    .SideBar {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 5;
        grid-row-end: 6;
        background-color: #dfcece;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 200px 1fr 200px;
    }

    /* new letter */
    .SideBar-newletter {
        padding: 2rem;

    }

    .newletter-action {
        display: flex;
        flex-direction: column;
        width: 60%;
        align-items: center;
    }

    .SideBar-newletter h1 {
        color: #5c5656;
        border-bottom: 2px solid #5c5656;
        display: inline-block;
    }


    .recent .new-Btn {
        background-color: #005a48;

        border: none;
        width: 100%;
        cursor: pointer;
        border-radius: 20px;
        padding: 10px 5px;
        color: #fff;
        font-size: 1rem;
    }


    /* sidebar items */

    .recent {
        padding: 3rem;
    }

    .recent__items {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        /* Ajoutez cette ligne pour espacer également les éléments */
        text-align: center;
        padding: 0;
        list-style: none;
    }

    .recent__item h4 {
        margin: 10px 0px;
    }


    .recent h1 {
        color: #5c5656;
        border-bottom: 2px solid #5c5656;
        display: inline-block;
    }

    .recent {
        background-color: #dfcece;

    }

    .recent h1 {
        margin-top: 3rem;
    }



    .recent__item img {
        height: 100px;
        width: 100px;
        border-radius: 100%;

    }

}






































@media all and (min-width: 0px) and (max-width: 748px) {

    .titreecrantgrand {
        display: none;
    }




    .main-title {
        padding: 0px 20px;
        color: #005a48;
    }

    .main-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 370px 360px 340px 250px 450px 240px;
        grid-gap: 20px;
        width: 98%;
        margin: auto;
        padding: 10px 0px;
    }

    .article {
        grid-column-start: 1;
        grid-column-end: 3;
        display: flex;
        border-bottom: solid 2px #7d57579b;
        padding-bottom: 30px;
    }



    .article-text h2,
    .article-text__footer-1 h2,
    .article-text__footer-2 h2 {
        font-size: 17px;
        font-weight: 700;
        color: #005a48;
    }

    .article-text p,
    .article-text__footer-1 p,
    .article-text__footer-2 p {
        font-size: 11px;
        font-weight: 700;

    }


    .article-image {
        flex-basis: 60%;
        margin: 6px;
    }

    .article-text {
        flex-basis: 48%;
        margin: 6px;
    }

    .article-image {
        height: 100%;
        width: 100%;

    }

    .imgrad {
        border-radius: 12px;
    }

    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .article-footer-1 {
        grid-column-start: 1;
        grid-column-end: 2;
        /* grid-row-start: 3;
  grid-row-end: 5; */
    }

    .article-image__footer-1 {
        height: 100%;
        width: 100%;
    }

    .article-image__footer-1 img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .article-footer-2 {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .article-image__footer-2 {
        height: 100%;
        width: 100%;
    }

    .article-image__footer-2 img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }


    .containeurrevenire {
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .btnrevenir {
        background-color: #005a48;
        padding: 10px;
        border: none;
        width: 40%;
        cursor: pointer;
        border-radius: 20px;
        padding: 10px 5px;
        color: #fff;
        font-size: 1rem;
    }


    /*///////////////////////////////////////////////////////partie de droite////////////////////////////////////////////  */

    .recent__items {
        display: none;
    }



    .SideBar {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 5;
        grid-row-end: 6;
        background-color: #dfcece;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 200px 1fr 200px;
    }

    /* new letter */
    .SideBar-newletter {
        margin-top: 1rem;
        margin-left: 1rem;

    }

    .newletter-action {
        display: flex;
        flex-direction: column;
        width: 60%;
        align-items: center;
    }

    .SideBar-newletter h1 {
        color: #5c5656;
        border-bottom: 2px solid #5c5656;
        display: inline-block;

    }


    .recent .new-Btn {
        background-color: #005a48;
        border: none;
        width: 60%;
        cursor: pointer;
        border-radius: 20px;
        padding: 5px 5px;
        color: #fff;
        font-size: 1rem;
    }


    /* sidebar items */

    .recent {
        padding: 3rem;
    }

    .recent__itemspetit {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        /* Ajoutez cette ligne pour espacer également les éléments */
        text-align: center;
        padding: 0;
        list-style: none;
    }

    .recent__itemspetit h4 {
        margin: 10px 0px;
        font-size: 13px;
    }


    .recent h1 {
        color: #5c5656;
        border-bottom: 2px solid #5c5656;
        display: inline-block;
    }

    .recent {
        background-color: #dfcece;

    }



    .recent__itemspetit img {
        height: 80px;
        width: 80px;
        border-radius: 100%;

    }

    .recent__item {
        margin-bottom: 15px;
    }

}

/*///////////////////////////////////////partie de droite fini ///////////////////////////////////////7*/











/* //////////////////////////////////////////footeur////////////////////////////////////////////////// */


footer {
    background-color: #111;
    position: relative;
}

.footerContaineur {
    width: 100%;
}

.socialIcones {
    display: flex;
    justify-content: center;
}

.socialIcones a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}

.socialIcones a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

/* hover effects on social media icons */

.socialIcones a:hover {
    background-color: #111;
    transition: 0.5s;
}


.socialIcones a:hover i {
    color: white;
    transition: 0.5s;

}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}



.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: #ccc;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}


@media(max-width: 700px) {
    .footerNav ul {
        flex-direction: column;
    }

    .footerNav ul li {
        width: 80%;
        text-align: center;
        margin: 10px;

    }
}

/* ////////////////////footeur fini ///////////////////////////////// */