body {
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0;
    font-family: sans-serif;
    color: #333;
    font-size: 17px;
    background-color: #fff;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-areas: 
                "header header"
                "nav article"
                "footer footer";
}

#barre {
    position: fixed;
    background-color: #20da2f;
    height: 8px;
    top: 0;
    left: 0;
    border-radius: 2px;
}
header {
    background-color: #2276ca;
    grid-area: header;
    margin-bottom: 20px;
    border-radius: 5px;
}


.objet-position {
    display: flex;
    margin: auto;
    bottom: 0px;
}

header h2 {
    text-align: center;
    color: #f1b22b;
    font-size: 35px;
    text-transform: uppercase;
}
nav {
    background-color: #bcdfe7;
    grid-area: nav;
    margin-left: 15px;
    margin-right: 20px;
    padding: 15px;
    border-radius: 10px;
}
nav p {
    margin: 0;
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 7px;
    margin-bottom: 20px;
}
nav p a {
    color: #333e3f;
    text-decoration: none;
}
nav p a:hover {
    color: #333;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    padding-bottom: 12px;
}
nav ul li a {
    color: #362929;
    text-decoration: none;
    font-size: 16px;
}
nav ul li a:hover {
    color: #e42020;
    text-decoration: underline;
}
nav ul li span {
    display: block;
    color: #333e3f;
    font-size: 12px;
}
.img-2 {
    display: flex;
    margin: auto;
    justify-content: center;
    bottom: 0px;
    
}

article {
    grid-area: article;
    margin-right: 20px;
    padding: 0 20px;
}
article h1 {
    text-align: center;
    font-size: 50px;
    margin: 0;
    padding: 0;
}

article h2 {
    text-align: center;
    color: #251f03;
    font-size: 35px;
    margin: 0;
    padding: 0;
}

article p {
    text-align: justify;
}
footer {
    background-color: #3bbec7;
    grid-area: footer;
    margin-top: 20px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 20px 30px;
    text-align: center;
    border-radius: 5px;
}
footer h4 {
    color: #bdc3c7;
    font-size: 16px;
}
footer p {
    color: #ecf0f1;
    font-size: 12px;
}

@media screen and (max-width: 850px) {
    body {
        grid-template-columns: 1fr;
        grid-template-areas: 
                    "header"
                    "nav"
                    "article"
                    "footer";
    }
    header {
        margin-bottom: 0;
    }
    nav {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
    nav ul {
        display: flex;
        justify-content: center;
    }
    nav ul li span {
        display: none;
    }
    nav ul li::after {
        content: '|';
        margin: 0 15px;
        color: #7f8c8d;
    }
    nav ul li:last-child::after {
        content: '';
        margin: 0;
    }
    article {
        margin-left: 20px;
    }
    article h1 {
        font-size: 40px;
        margin-top: 20px;
    }
}
.responsive-w{
  width : 100%; height : auto;
}