
* {
    box-sizing: border-box;
}

html,body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: gray;
}

img {
    width: 100%;
    height: auto;
}


@media screen and (max-width:511px) {

    /* ---Logo Gauche ---*/
img.logo {
    width: 150px;
    height: auto;
    /*float: left; */
}


/* --- Menu Droite --- */

ul {
    width: 100%; 
    height: 100%;
    position: fixed;
    z-index: 999;
    top: -100%; 
    left: 0; 
    margin: 0; 
    padding: 0;
    transition: all 1s linear;

    background-color: rgba(0, 0, 0, 1);
}

ul li {
    width: 100%;
    height: 20%;
    line-height: 20%;
    text-align: center;
    border: 2px solid black;
    list-style-type: none;

    position: relative;
}

ul li a:link{
    position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);

        text-decoration: none;

        color: gray;
        font-weight: bold;
        font-size: 1.5em;

        display: block;
}

ul li a:hover {
    color: white;
}
 
label[for="mn"] {
    font-size: 32px;
    display: block;
    background-color: black;
    color: gray;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    position: fixed;
    top:20px;
    right: 20px;
    z-index: 99999;
}

label[for="mn"]+input[id="mn"]:checked+ul {
    top: 0;
}

header {
    display: none;
}


ul:after {
    content: "";
    clear: both;
    display: block;    
}

section article a:link {

    display: block;
    width: 100px;
    text-align: center;
    height: 30px;
    line-height: 30px;

    background-color: black;
    color: white; 
    margin-left: auto;
    margin: auto;
    margin-bottom: 20px;
}

section article a:hover {
    background-color: white;
    color: black;
}

section article {
    width: 100%;
}

section article h3 {
    text-align: center;
    font-size: 30px;
}

section article p {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
}


}  /* fin petit ecran */

/* Effacer l'ID */
input[id="mn"]{
    display: none;
}


