
/*
html {
    font-size: 62.5%;
}

*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*/

#dem .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ############# Eléments communs  ################################################################### */

#dem article {
    margin-left: 2rem;
    margin-right: 2rem;
}

#Dem > h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#Dem > section.section1 {
    border: 1px solid rgb(189, 143, 143);
    border-radius: 3px;
    box-shadow: rgba(189, 143, 143, 0.35) 5px 5px 0px 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}



#Dem > section.section1 > article {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-left: 2rem;
    padding-right: 1rem;
    
}

#Dem > section.section1 > div {
    margin: 2rem;
    height: auto;
    width: 30%;
}

#img {
    max-width: 100%;
    max-height: 100%;
}

#Dem > section.section2 {
    border: 1px solid rgb(189, 143, 143);
    border-radius: 3px;
    box-shadow: rgba(189, 143, 143, 0.35) 5px 5px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#Dem > section.section2 > article {
    width: 95%;
}

#Dem > section.section2 > article > ul{
    display: flex;
    flex-direction: column;
    list-style-type: disc;
}

#Dem > section.section2 > article > ul > li {
    margin-left: 2rem;
    line-height: 4rem;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-family: "Mosk";
    font-style: normal;
    font-weight: 400;
}



#Dem > section.section3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#Dem > section.section3 > a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    background-color: rgb(189, 143, 143);
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.8rem;
    padding: 1rem;
}

/* ############# Pour les écrans larges  ################################################################### */
@media screen and (min-width: 1025px) {}


/* ############# Pour les écrans moyens  ################################################################### */
@media screen and (min-width: 769px) and (max-width: 1024px) {

    #Dem > section.section1 {
        flex-direction: column;
        align-items: center;
    }


}



/* ############# Pour les petits écrans mobile ################################################################### */
@media screen and (max-width: 768px) {

    #Dem > section.section1 {
        flex-direction: column;
        align-items: center;
    }

    #dem article {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    #Dem > section.section2 > article > ul > li {
        margin-left: 2rem;
        line-height: 1.5rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }


}