body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 19px;
}

nav {
    background-color: #bbb;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px 10px 30px;
}
nav h2 {
    text-transform: uppercase;
}
.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu li {
    margin-left: 18px;
}
.menu a {
    text-transform: uppercase;
    text-decoration: none;
    color: #039;
    transition: 0.5s;
}
.menu a:hover {
    color: #09f;
}

section img {
    width: 100%;
}

article {
    width: 85%;
    margin: auto;
}
article p {
    text-align: justify;
}

.voir-menu, .cacher-menu, #check {
    display: none;
}


@media screen and (max-width: 850px) {
    .voir-menu, .cacher-menu {
        display: block;
        font-size: 28px;
        cursor: pointer;
        transition: 0.5s;
    }
    .voir-menu:hover, .cacher-menu:hover {
        color: #a00;
        transition: 0.5s;
    }
    .menu {
        position: fixed;            /* sort du flux*/
        top: 0;
        right: -100%;               /* ne plus voir le menu */
        height: 100vh;
        background-color: #ddd;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.7s;
    }
    #check:checked ~ .menu {        /*on clique, on cible l'enfant suivant */
        right: 0;                   /* voir menu */
    }
    .cacher-menu {
        position: absolute;
        top: 25px;
        right: 35px;
    }
    .menu li {
        margin-left: 0;
        margin-bottom: 30px;
    }
}