body {
    background-color: #f0f0f0;
    padding: 0 0.5rem;
    margin: 0;
    font-family: 'Liberation Serif', 'Times New Roman', Arial, Times, serif;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: underline; 
}
h1{
    margin: 1rem 0 0 0;
}
p{
    margin: 0.3rem 0 0 0;
}
ul {
    padding: 0;
    margin: 0;
}
article{
    margin-bottom: 20px;
    padding-bottom: 10px;
    color: #456387;
}
/* --- balises communes ------------ */

.container{
    padding: 0 0 10px 0;
    background-color: #f0f0f0;
    border-radius: 0 0 6px 6px;
}
nav{
    display: flex;
    align-items: center;
    justify-content: left;
    font-family: Arial;
    color: #456387;
    font-weight: bold;
    font-size: small;
    gap: 20px;
    border-bottom: #456387 1px solid;
    margin-top: 8px;
}
nav>li{
    text-decoration: none;
    list-style: none;

}
#actu {
    margin-bottom: 20px;
}
.liactu {
    font-weight: bold;
    list-style: disclosure-closed;
    margin-top: 4px;
    margin-left: 14px;
}
.licomment{
    list-style: none;
    /* color: green; */
}
.evenementgauche > ul{
    margin-left: 1rem;
}
.photo{
    width: 80%;
    border-radius: 4px;
    border-width: 2px;
    border-color: black;
    margin: 10px 10% 4px 10%;
}


/* --- responsive ------------------ */

/* largeur <800 px */
@media screen and (max-width:800px) {
    #logo{
        width: 200px;
    }
    .evenementgauche > #affiche{
        max-width: 50%;
        border-radius: 6px;
        margin: 0px 25%;
    }
    .evenementdroite>h2{
        text-align: center;
    }
    .evenementdroite{
        margin-bottom: 20px;
    }
}

/* largeur >800 px */
@media screen and (min-width:800px) {
    body{
        background-color:#456387;
    }
    .container{
        /* background-color: aquamarine; */
        max-width: 800px;
        margin: 0 auto;
        padding: 0 1rem;
        min-height: 1000px;
    }
    #event{
        display: grid;
        grid-template-columns: 40% auto;
        gap: 10px;
    }
    .evenementgauche{
        grid-column: 1 / 2;
    }
    .evenementgauche > #affiche{
        max-width: 100%;
        border-radius: 8px;
    }
    .evenementdroite{
        grid-column: 2 / 2;
    }
}

.reso{
    width: 16px;
    height: 16px;
}