/*******************
* Single ressource *
*******************/

.main{
    padding: 4rem 10%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.main .titre{
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .main{
        padding: 4rem 20%;
        flex-direction: row;
        align-items: center;
        gap: 4rem;
        justify-content: space-between;
    }
}
@media screen and ( min-width:1300px ) {
    .main{
        margin-top: 10vh;
        position: relative;
    }
    .main .titre{
        font-size: 2.5rem;
    }
    .main::before{
        position: absolute;
        content: url(../images/soleil-rose.svg);
        left: 3rem;
        top: 2rem;
    }
}

/* Chapeau */
.chapeau{
    font-weight: 600;
    color: var(--bleu-fonce);
    font-size: 1.125rem;
    line-height: 1.4;
    border-bottom: 1px solid var(--gris);
    padding: 0;
    padding-bottom: 2rem;
    margin: 3rem 10%;
    margin-top: 0;
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .chapeau{
        margin: 2rem 20%;
        padding-bottom: 3rem;
    }
}


/* Contenu */

.contenu{
    padding-top: 0rem;
    display: flex;
    flex-direction: column;
}
.contenu *:not(:last-child){
    margin-bottom: 1rem;
}
.contenu p:not(:last-of-type), .contenu li:not(:last-of-type){
    margin-bottom: .5rem;
}
.contenu h3{
    font-size: 1.25rem;
    color: var(--bleu-fonce);
    font-family: 'Abril Fatface', sans-serif;
    margin-top: 2rem;
    text-align: center;
}
.contenu img{
    margin: 1rem 0;
    max-width: 35rem;
}
.contenu a{
    color: var(--bleu-clair);
    text-decoration: underline;
    transition: all .2s;
}
.contenu a:hover{
    color: var(--rose);
}
@media screen and ( min-width:750px ) {
    .contenu img{
        align-self: center;
    }
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .contenu{
        padding: 4rem 20%;
        padding-top: 2rem;
    }
    .contenu *:not(:last-child){
        margin-bottom: 2rem;
    }
}


/* En savoir plus */
.en-savoir-plus {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50" fill="none"><line x1="0" y1="50" x2="50" y2="0" stroke="%2309BCCE" stroke-opacity="0.7"/></svg>');
    background-size: 50px 50px; 
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -4rem;
    padding-top: 0;
    margin-top: 3rem;
}
.en-savoir-plus .sous-titre{
    text-align: center;
    margin-bottom: 2rem;
    transform: translateY(-50%);
}
.en-savoir-plus__contenu {
    background-color: var(--blanc);
    padding: 2rem 15%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.en-savoir-plus__lien {
    display: flex;
    color: var(--bleu-fonce);
    gap: 1rem;
    align-items: center;
}