/*----------
| Global
----------*/

#illustratrices * {
    text-align: center;
    font-family: Helvetica, Heebo, Arial, sans-serif;
}

#illustratrices h2,
#illustratrices h3,
#illustratrices a {
    text-transform: uppercase;
}

#illustratrices h2 {
    margin-bottom: 0 !important;
}

#illustratrices p.italic-style {
    font-style: italic;
}

#illustratrices a {
    text-decoration: none;
}

#illustratrices img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/*----------
| Intro
----------*/

#illustratrices .intro,
#illustratrices .intro > * {
    display: flex;
}

#illustratrices .intro {
    margin-bottom: 80px;
    justify-content: space-between;
}

#illustratrices .intro__left {
    flex-direction: column;
    gap: 100px;
    justify-content: space-between;
}

#illustratrices .intro__center {
    flex-direction: column;
    justify-content: center;
    padding: 0 110px 0 80px;
}

#illustratrices .intro__center p {
    font-size: clamp(1.625rem, 1.3603rem + 1.2102vw, 2.8125rem);
    text-align: left;
    color: #2e2d2c;
}

/*----------
| profils
----------*/

#illustratrices .profil__text-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    margin-bottom: 160px;
}

#illustratrices .profil__text-img img {
    max-width: 727px;
    grid-column: 1;
}

#illustratrices .profil__text-img.text-img-reverse img {
    grid-column: 2;
    grid-row: 1;
}

#illustratrices .profil__bloc-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#illustratrices .profil__bloc-text h3 {
    margin-bottom: 80px;
}

#illustratrices .profil__bloc-text p {
    margin-bottom: 30px;
}

#illustratrices .profil__bloc-text .bloc-adress {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    padding: 65px 0;
}

#illustratrices .profil__bloc-text .bloc-adress a {
    display: inline-block;
}

#illustratrices .profil__bloc-text .mail-adress {
    margin-top: 2rem;
}


/*couleurs et png adresse */

#illustratrices .section-profils .profil__text-img:nth-child(1) * {
    color: #f08356;
}

#illustratrices .section-profils .profil__text-img:nth-child(1) .profil__bloc-text .bloc-adress {
    background-image: url(../images/Editorial/Edito/Illustrateurs/cercle-orange.png?$staticlink$);
}

#illustratrices .section-profils .profil__text-img:nth-child(2) * {
    color: #008966;
}

#illustratrices .section-profils .profil__text-img:nth-child(2) .profil__bloc-text .bloc-adress {
    background-image: url(../images/Editorial/Edito/Illustrateurs/cercle-vert.png?$staticlink$);
}

#illustratrices .section-profils .profil__text-img:nth-child(3) * {
    color: #3579a1;
}

#illustratrices .section-profils .profil__text-img:nth-child(3) .profil__bloc-text .bloc-adress {
    background-image: url(../images/Editorial/Edito/Illustrateurs/cercle-bleu-clair.png?$staticlink$);
}

#illustratrices .section-profils .profil__text-img:nth-child(4) * {
    color: #ed6ea6;
}

#illustratrices .section-profils .profil__text-img:nth-child(4) .profil__bloc-text .bloc-adress {
    background-image: url(../images/Editorial/Edito/Illustrateurs/cercle-rose.png?$staticlink$);
}

#illustratrices .section-profils .profil__text-img:nth-child(5) * {
    color: #3a5f83;
}

#illustratrices .section-profils .profil__text-img:nth-child(5) .profil__bloc-text .bloc-adress {
    background-image: url(../images/Editorial/Edito/Illustrateurs/cercle-bleu-fonce.png?$staticlink$);
}

#illustratrices .section-profils .profil__text-img:nth-child(6) * {
    color: #dd4a46;
}

#illustratrices .section-profils .profil__text-img:nth-child(6) .profil__bloc-text .bloc-adress {
    background-image: url(../images/Editorial/Edito/Illustrateurs/cercle-corail.png?$staticlink$);
}

/*----------
| Outro
----------*/

#illustratrices .outro__map img {
    width: inherit;
}

#illustratrices .outro_map-mobile {
    display: none;
}

#illustratrices .outro__bloc-adress {
    display: flex;
    justify-content: center;
    align-items: center;
}

#illustratrices .outro__bloc-adress .wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin: 4rem 2rem;
}

#illustratrices .outro__bloc-adress .wrapper .adress p {
    font-size: 1rem;
    text-align: left;
}

#illustratrices .outro__bloc-adress .adress .adress__name {
    padding-bottom: 1rem;
}


/*----------------
| Media queries
----------------*/

@media screen and (min-width: 1920px) {

    #illustratrices h2,
    #illustratrices h3 {
        font-size: 74px;
    }

    #illustratrices p,
    #illustratrices a {
        font-size: 22px;
    }

    #illustratrices .profil__text-img img {
        margin-left: 191px;
        margin-right: 103px;
    }

    #illustratrices .profil__text-img.text-img-reverse img {
        margin-left: 103px;
        margin-right: 191px;
    }

    #illustratrices .profil__text-img .profil__bloc-text {
        margin-right: 103px;
        margin-left: 0;
    }

    #illustratrices .profil__text-img.text-img-reverse .bloc-text-reverse {
        margin-left: 103px;
        margin-right: 0;
    }

    #illustratrices .outro__bloc-adress .wrapper {
        gap: 40px;
    }
}

@media screen and (max-width: 1919px) {


    #illustratrices h2,
    #illustratrices h3 {
        font-size: 60px;
    }

    #illustratrices p,
    #illustratrices a {
        font-size: 19px;
    }



    #illustratrices .profil__bloc-text {
        padding: 4rem;
    }

}



@media screen and (max-width: 1280px) {

    #illustratrices h2,
    #illustratrices h3 {
        font-size: 45px;
    }

    #illustratrices .section-profils .profil__text-img:nth-child(6) .profil__bloc-text .bloc-adress a {
        max-width: 320px;
    }

}

@media screen and (max-width: 1180px) {

    #illustratrices .profil__bloc-text h3 {
        margin-bottom: 2rem;
    }

    #illustratrices .profil__text-img {
        margin-bottom: 80px;
    }

}



@media screen and (max-width: 1140px) {

    #illustratrices h2,
    #illustratrices h3 {
        font-size: 50px;
    }
}

@media screen and (min-width: 1025px) {
    #illustratrices .intro__left {
        max-width: 20%;
    }

    #illustratrices .intro__center {
        max-width: 42%;
    }

    #illustratrices .intro__right {
        max-width: 38%;
    }
}


@media screen and (max-width: 1024px) {


    #illustratrices h2,
    #illustratrices h3 {
        font-size: 35px;
    }

    #illustratrices p,
    #illustratrices a {
        font-size: 16px;
    }

    #illustratrices .intro {
        flex-wrap: wrap;
    }

    #illustratrices .intro__left {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    #illustratrices .intro__center {
        padding: 4rem;
    }

    #illustratrices .profil__bloc-text {
        padding: 2rem;
    }


    #illustratrices .profil__bloc-text .bloc-adress {
        padding: 2.75rem 0;
    }

    #illustratrices .profil__bloc-text .bloc-adress a {
        max-width: 290px;
    }

}

@media screen and (max-width: 850px) {

    #illustratrices h2,
    #illustratrices h3 {
        font-size: 27px;
    }

    #illustratrices .profil__bloc-text p {
        margin-bottom: 1rem;
    }

    #illustratrices .outro__bloc-adress .wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media screen and (max-width: 820px) {

    #illustratrices .intro__left {
        gap: 0px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #illustratrices .profil__text-img {
        display: flex;
        flex-direction: column;
        margin-bottom: 80px;
    }

    #illustratrices .section-profils .profil__text-img:nth-child(6) .profil__bloc-text .bloc-adress {
        background-image: url(../images/Editorial/Edito/Illustrateurs/cercle-corail-mobile.png?$staticlink$);

    }
}

@media screen and (max-width: 450px) {
    #illustratrices .intro__center {
        padding: 2rem;
    }

    #illustratrices .profil__bloc-text {
        padding: 2rem 1rem;
    }

    #illustratrices .section-profils .profil__text-img .profil__bloc-text .bloc-adress a {
        font-size: 1.5rem;
    }

    #illustratrices .profil__bloc-text .bloc-adress {
        padding: 5rem 0;
    }

    #illustratrices .outro__map img {
        display: none;
    }

    #illustratrices .outro_map-mobile {
        display: block;
    }
}

@media screen and (max-width: 420px) {
    #illustratrices .profil__bloc-text .bloc-adress {
        background-size: 100% 140px;
    }

    #illustratrices .outro__bloc-adress .wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
