/*Style head*/

body {
    background-color: black
}

/*Style En-tête*/

header {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-self: center;
    font-size: 2em;
    font-family: Arial, Helvetica, sans-serif;
}



/*Style navigateur*/

nav {
    font-family: Arial, Helvetica, sans-serif;
    background-color: navy;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}




/*Style article*/



.info {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    padding: 10px;
    background-color: navy;
    border-radius: 10px;

}


.divArt {
    background-color: rgb(7, 7, 82);
    height: auto;
    width: 50%;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 10px;
    padding: 10px;
}


.bbArticle {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(7, 7, 82);
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 10px;
    padding: 10px;
    max-width: 20%;

}


.titre {
    color: white;
}

.titre+p {

    color: white;
    padding: 10px;
    background-color: navy;
    border-radius: 10px;



}

.container {
    width: 100%;
    display: flex;
    flex-direction: row;
    text-align: justify;

}


img {
    width: 40%;
    height: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding: 10px;
    background-color: navy;
    border-radius: 10px;
}




footer {
    color: white;
    margin-top: 10%;
}



@media screen and (max-width: 1000px) {
    h1 {
        font-size: medium;

    }
}

@media screen and (max-width: 600px) {

    .container {
        display: flex;
        flex-direction: column;
    }

    .bbArticle {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        max-width: 50%;
    }

    .divArt {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        max-width: none;
    }

    .info {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        max-width: none;





    }


    h1 {
        font-size: medium;
    }

    nav {
        display: flex;
        flex-direction: column;
    }

}

button {
    margin: 10px;
    border-radius: 10px;
    background-color: white;

}

button:hover {

    background-color: rgb(24, 24, 105);
    color: white;

}

h1 {
    color: white;
}