
body
{
    font-family: Baskerville, Arial, sans-serif;
    color: black;
}

#bloc_page
{
    width: 1000px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 75px;
}

section h1, footer h1, nav a
{
    font-family: Baskerville
    font-weight: normal;
    margin-top: 25px;
}


a
{
    font-family: Baskerville
    font-weight: normal;
    color: black;
    text-decoration: none;

}

/* haut de page */

header
{
    background: url('separateur.svg') repeat-x bottom;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#titre_principal
{
    display: flex;
    flex-direction: column;
    font-size: 1.2em;

}

#titre_site
{
    display: flex;
    flex-direction: row;
    align-items: baseline;
    font-size: 1.2em;
}

#titre_site img
{
    width: 59px;
    height: 60px;
}

header h1
{
    font-family: 'Baskerville', serif;
    font-size: 1.5em;
    font-weight: normal;
    margin: 0 0 0 10px;
}


header h2
{
    font-family: Baskerville, serif;
    font-size: 1.5em;
    margin-top: 0px;
    font-weight: normal;
}


h2
{
    font-family: Baskerville, serif;
    font-size: 1.5em;
    margin-top: 0px;
    font-weight: bold;
    padding-bottom: 0px;
}


/* nAvigation */

nav ul
{
    list-style-type: none;
    display: flex;
}

nav li
{
    margin-right: 24px;
}

nav a
{
    font-size: 1.5em;
    color: #black;
    padding-bottom: 3px;
    text-decoration: none;
}

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





/* corps du texte */

section
{
    display: flex;
    margin-bottom: 20px;
}



article, aside
{
    text-align: justify;
}

article
{
    margin-right: 20px;
    flex: 3;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

.cours
{
    space-between: 12px;
    position: relative;
    width: 100vw;
    padding-right: 12px;
    text-align: center;
}


article p
{
    font-size: 1.5em;
    margin-top: 50px;
    margin-bottom: 35px;
}

aside
{
    flex: 1.2;
    position: relative;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 1.5em;
}




aside img
{
    margin-right: 5px;
}


/* bas de page */

footer
{
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100vw;
    padding-bottom: 5px;
    text-align: center;
}

footer p, footer ul
{
    font-size: 1.2em;
}


    img {
    width: 88%;
    }

/* tous les écrans */


@media all and (max-width: 1024px)
{

    #bloc_page
    {
        width: auto;
        margin-left: 24px;
        margin-right: 24px;
    }






    article, aside
    {
        width: auto;
        margin-bottom: 15px;
    }

    

    
    aside p:last-child
    {
        text-align: center;
    }

    nav
    {
        width: auto;
        text-align: left;
    }
    
    nav ul
    {
        flex-direction: row;
    }

    nav li
    {
        padding-left: 4px;
    }
    
    nav a
    {
        font-size: 1.5em;
    }
    
   
}


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

    section
    {
    flex-direction: column;
    }

   img {
    width: 50%;
    margin-bottom: 20px;
    }

}