div.header {
    background-image: url('../images/actualite.jpg');
    background-image: url('../images/rainbow1.jpg');
    background-image: url('../images/rainbow2.jpg');
    background-image: url('https://fastly.picsum.photos/id/583/2509/1673.jpg?hmac=X9Eq9t1mgiV81aQpccy4e5e0xwXtn105qHpFs3THDB4');
    background-image: url('../images/news.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    height: 40vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.header h2 {
    font-size: 5em;
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 1) 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 500% auto;
    animation: degrade 1s forwards;
    font-weight: bolder;
}
div.header h2 strong {
    font-weight: bolder;
}

@keyframes degrade {
    0% {
        opacity: 0;
        background-position: 0% 50%;
        transform: translateY(100px);
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        background-position: 100% 50%;
        transform: translateY(0);
    }
}

div.articles article.blog:hover {
    width: 100%;
    height: 15  0px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
div.articles article.blog div.image {
    width: 100%;
    height: 150px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
article.blog {
    cursor: pointer;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
article.blog:hover {
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.1);
}
article.blog div.texte {
    padding: 5px;
}
article.blog div.texte p.titre {
    font-size: 15px;
    line-height: 20px;
}
article.blog div.texte p.resume {
    font-size: 12px;
    line-height: 16px;
    text-align: justify;
}
article.blog div.texte p.link {
    font-size: 13px;
}
article.blog div.texte p.link a {
    color: #000;
}


div.articles {
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    text-align: left;
    margin: 30px auto;
}

article.article {
    background: #fff;
}
article.article div.texte {
    padding: 10px 0;
}

div.main {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    top: 0;
}
div.article {
    width: 65%;
    padding: 30px;
}

p.date {
    height:25px;
    line-height: 25px;
    margin: 0; 
    padding: 0;
    font-style: italic;
    color: #777;
}
div.article h1 {
    height: auto;
    line-height: 40px;
    margin: 0; 
    padding: 0;
}
div.auteur {
    display: block;
    width: 100%;
    height: 80px;
    clear: both; 
    float:none;
}
div.auteur div.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    float: left;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dbdbdb;
}
div.auteur div.author {
    display: flex;
    flex-direction: column;
    float: left;
    justify-content: center;
    width: auto;
    height: 80px;
}
div.auteur div.author span.auteur {
    font-weight: 500;
}
div.auteur div.author span.fonction {
    font-style: italic;
    color: #777;
}

div.content {
    margin: 15px 0;
}
div.content p {
    text-align: justify;
}
div.content p.summary {
    font-style: italic;
    color: #777;
}
div.content div.illus {
    width: 100%;
    height: auto;
    margin: 15px 0;
}
div.content div.illus img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

div.plus {
    width: 35%;
    padding: 30px;
}
div.plus h3 {
    font-size: 15px;
    margin: 0 0 20px 0;
    position: sticky;
    top: 70px;
}
div.plus article {
    margin: 25px 0;
    padding: 25px 0;
}
div.plus div.blog article:not(:first-child) {
    border-top: solid 1px rgba(0, 0, 0, 0.2);
}
div.plus div.auteur {
    width: 60px;
    display: inline-block;
    vertical-align: top;
    margin: 0;
}
div.plus div.texte {
    width: calc(100% - 65px);
    display: inline-block;
    margin: 0;
    padding: 0;
}
div.plus div.texte p.titre {
    width: 100%;
    height: auto;
    max-height: 60px;
    line-height: 20px;
    display: block;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    vertical-align: top;
    overflow: hidden;
}
div.plus div.texte p.resume {
    width: 100%;
    height: 13px;
    line-height: 13px;
    overflow: hidden;
    margin: 20px 0 0 0;
}

section.partenaires {
    border-top: dotted 2px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1200px) {
    div.articles {
        width: 100%; 
        padding: 30px;
    }    
}
@media screen and (max-width: 1024px) {
    article div.image {
        height: 200px;
    }    
}
@media screen and (max-width: 980px) {
    article div.image {
        height: 150px;
    }    

    div.plus {
        padding: 10px;
    }
}
@media screen and (max-width: 680px) {
    div.main  {
        display: block;
    }
    div.articles {
        display: block;
    }
    div.article,
    div.plus {
        float: none; 
        width: 100%;
    }
}
