/* Element général */
* {
    box-sizing: border-box;
}
html {
    font-size: 1vw;
}
body {
    margin: 0;
}
/* Définir l'animation pour faire apparaître les images depuis le côté */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
.slide-in-left {
    animation: slideInFromRight 1s ease-out;
}
.slide-in-right {
    animation: slideInFromLeft 1s ease-out;
}
.hidden {
    opacity: 1;
}

/* header */

header {
    background-image: url("../res/header.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 5vw 0 2vw;
}
header img {
    width: 12vw;
    height: 12vw;
    margin-right: 2vw;
}
header h1 {
    font-size: 4vw;
    color: white;
    margin: 0;
}
header h2 {
    font-size: 2vw;
    color: #F4A000;
    margin: 0 0 0 2vw;
}
#header_h2_line2 {
    margin: 0 0 0 4vw;
}
#title_header {
    display: flex;
    justify-content: center;
}

/* body */
    /* article présentation */

.body {
    font-size: 1.2vw;
}
.title_p {
    font-size: 2em;
   font-weight: 700;
}
.article_presentation {
    margin: 5vw 5vw 2vw;
    text-indent: 2em;
    text-align: justify;
    line-height: 1.6vw;
}

    /* article service */

.article_service {
    margin: 5vw 5vw 2vw;
}
.article_service h2 {
    text-align: center;
}
.section_service_paire {
    display: flex;
    justify-content: space-around;
    margin: 5vw 0;
}
.section_service_inpaire {
    display: flex;
    justify-content: space-around;
    margin: 5vw 0;
}
.section_service_paire img {
    width: 40vw;
    height: 30vw;
}
.section_service_inpaire img {
    width: 40vw;
    height: 30vw;
}
.liste_service {
        text-align: center;
    }
.liste_service ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.liste_service li {
    margin: 1.5vw ;
}

    /* article contact */

.article_contact {
    margin: 5vw 5vw 5vw;
    text-align: center;
}
.article_contact h2{
    
}
.article_contact h3 {
    margin: 2vw 0 0.8vw;
}
.article_contact p {
    margin: 0;
    padding: 0;
}

/* footer */
footer {
    text-align: center;
}

@media (max-width: 768px) {
/* header */
header img {
    width: 24vw;
    height: 24vw;
}
header h1 {
    font-size: 8vw;
}
header h2 {
    font-size: 4vw;
    margin: 0 0 0 4vw;
}
#header_h2_line2 {
margin: 0 0 0 8vw;
}

/* body */
    /* article présentation */
.body {
    font-size: 2.4vw;
}
.title_p {
    font-size: 3em;
    font-weight: 700;
}
.article_presentation {
    margin: 5vw 5vw 2vw;
    text-indent: 0em;
    line-height: 3.2vw;
}

    /* article service */

.article_service {
    margin: 5vw 5vw 2vw;
}
.section_service_paire {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
}
.section_service_inpaire {
    display: flex;
    flex-direction: column;
    justify-content: normal;
    align-items: center;
    text-align: center;
}
.section_service_inpaire img {
    width: 60vw;
    height: 45vw;
}
.section_service_paire img {
    width: 60vw;
    height: 45vw;
}
.liste_service {
    text-align: center;
}

    /* article contact */

    .article_contact {
        margin: 12vw 5vw 10vw;
        text-align: center;
    }

/* footer */
    footer {
        font-size: 2vw;
    }
}


