@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    /*background-color: ivory;*/
    background: linear-gradient(#f8db9b,white);
}

header {
    height: 350px;
    /*background-color: burlywood;*/
    background-image: url(images_site/image_en_tete_3.jpg);
    background-position: center fixed;
    background-size: cover;
    text-align: center;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-between;
}

header nav a {
    color: black;
    text-decoration: none;
    margin-right: 10px;
    font-size: 20px;
}

header nav a:hover{
    color: blue;
    border-bottom: 1px solid blue;
}

header .titre {
    margin-top: -20px;
}

header .titre h1 {
    font-size: 60px;
    color: white;
    text-shadow: black 0.3em 0.3em 0.6em;
}

header .titre h4 {
    margin-top: -50px;
    padding: 20px;
    font-size: 30px;
    color: white;
    text-shadow: black 0.2em 0.2em 0.4em;
}

h2 {
    padding-left: 30px;
    font-size: 40px;
}

h4 {
    font-size: 30px;
}

p {
    font-size: 20px;
}

/* Corps de la page */

.notre-demarche {
    padding: 30px;
    margin-top: -40px;
}

/* Images */

.images {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-between;
}

.images .image img {
    width: 22vw;
    height: 29vh;
    margin-left: auto;
    margin-right: auto;
}

/* Bouton pour remonter en haut de la page */

#scroll_to_top {
    position: fixed;
    width: 30px;
    height: 30px;
    bottom: 30px;
    right: 30px;
}

#scroll_to_top a {
    color: black;
    font-size: 30px;
}

html { 
    scroll-behavior: smooth; 
}

/* Pied-de-page avec contacts */
footer {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: burlywood;
}
footer div{
    display: flex;
    flex-wrap: wrap;
}

footer div p {
    padding-right: 10px;
}

footer div p a {
    color: black;
    text-decoration: none;
}

footer div p a:hover {
    color: blue;
    border-bottom: 1px solid blue;
}

/* Style version téléphone */

@media screen and (max-width: 810px) {
    header {
        background-position: center top;
        height: 300px;
        background-size: 290%;
    }

    header .titre {
        margin-top: -40px;
    }

    header .titre h1 {
        font-size: 45px;
    }

    header .titre h4 {
        font-size: 17px;
    }

    header nav a {
        font-size: 15px;
        margin-right: 35px;
    }

    header nav .langues {
        margin-right: 0px;
        margin-left: auto;
    }

    h2 {
        font-size: 30px;
    }

    h4 {
        font-size: 20px;
    }

    p {
        font-size: 17px;
    }

    .images {
        display: flex;
        flex-wrap: wrap;
        padding: 20px;
        justify-content: space-between;
    }
    
    .images .image img {
        width: 400px;
        height: 260px;
        margin-left: auto;
        margin-right: auto;
    }
    
}