/*-------------Police et référence----------------------*/
@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');

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

/*===============================Header=============================================*/

*{
    /* margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif; */
}
html{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    text-align: justify; 
    text-justify: inter-word;
}

main-newsletter{
    /* margin: 100px; */
}

/*==========================================Main================================================*/
main{
    width: 90%;
    margin: 0 auto;
}
/*============================Titre,image article et texte présentation======================*/

/*Titre au dessus de l'image*/

.article-all{
    position: relative;
}

h2.momoh2 {  
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;

}
hr{
    margin: 10px 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.image-article {
    /* display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    height: 300px; */

}
     /*---image badge-----*/
img.badge {
    /* margin-top: 75px;
    height: 537px auto;
    width: 537px auto;
    float: left; */
    width: 50%;
}
    /*--- fin image badge-----*/

/* ============Article et texte=======*/
    /*titre de l'article*/
.texte {
  margin-left: 50px;
  width: 65%;
  margin-top: 0px; 
}
    /* titre du texte de l'article*/
h3.titrearticlemomo{
    margin-bottom: 20px;
    padding-top: 40px;
    font-size: 30px;
    font-weight: 500;
    line-height: 28px;
    color:#7a7a7a;
    font-family: "Roboto Mono", sans-serif;
} 
 /* texte de l'article*/
p.artmoni{
    font-family: "Roboto Mono", sans-serif;
    line-height: 25px;
    margin-top: 25px;

}
img.badge,.texte{
    display: inline-block;
}

.btnmomoctn{
    margin-top: 50px;
}

button.btnmomo {
    background-color: #1d1d1d;
    color: white;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    border: none;
    height: 61px;
    padding: 10px;
    margin: 30px 0px;
    width: 30%;
}

button:hover{
    background-color:#d35379;
    cursor: pointer;
}

.article-all{
    display: flex;
    justify-content: center;
}





/*==================fin: Autres articles récents  proposé en carousel==============================*/

@media (max-width: 1400px){
    button.btnmomo {
        width: 100%;
    }
}

/*==================RESPONSIVE: 460px==============================*/
@media (max-width: 768px){
 

    /*-------------------------Titre,image article et texte présentation-------------------------*/

    main{
       width: 95%;
       margin: 0 auto;
    }

    #flexcorrector {
        margin: 10px !important;
        width: 80% !important;
        padding: 15px !important;
      }

    /*titre au dessus de l'image*/
    h2.momoh2{
        font-size: 20px;
        line-height: 28px;
        text-align: center;
        align-items: center;
        padding-top: 40px;
        padding-bottom: 0px;
        margin-top: 0px;
    }
    hr{
        margin-top: 10px;
        margin-bottom: 50px;
        margin-left: 0px;
        margin-right: 0px;
    }

    /*-------- bloc image +texte de l'article---------*/

    

    .article-all{
     display: inline-block;
     width: 100%;
    }

    .article-all img{
        text-align: center;
    }
    
    .image-article{
        position: none;
        height: 0 auto;
        width: 95% auto; 
        text-align: center;    
    }

    /*image badge*/
    img.badge{
     width: 50%;
     margin: 0 auto;
     text-align: center;
    }
    .texte{
      margin-left: 0px;
      width: 100%;
      height: 0 auto;
    }
    h3.titrearticlemomo{
        padding-top: 0px;
        font-size: 20px;
        padding-top: 30px;
        text-justify: unset;
    } 
    p.artmoni{
       font-size: 14px;
    }
    button.btnmomo{
        font-size: 20px;
        height: 45px auto;
        width:100%;
        padding-left: 0px;
        padding-right: 0px;
        align-items: center;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
    }

    .pga_informations #flexcorrector{
        width: 80%;
    }
    main-newsletter{
        margin: 0;
    }
}

@media (max-width: 500px){
    h3.titrearticlemomo{
        padding-top: 30px;
        font-size: 20px;
    } 
    img.badge{
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .datum{
        font-size: 15px;
        margin: 0;
    }
    main-newsletter{
        margin: 0;
    }
}
