@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');/*import des polices*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;/*police pricipale du site*/
    font-size: 1rem;
    font-weight:500;
    user-select:none;/*empêche l'utilisateur de séléctionner les éléments du site*/
}
html{
    overflow-x: hidden; /* permet de cacher les bouts du site qui sortent du cadre.*/
}

#wrapper_body{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3em 6em 3em 6em;
    overflow-x: hidden;
}

.texte{
    max-width: 40em;
    color: #494949;
    z-index: 2;
}

.texte>h1{
    font-size: 1.56em;
}

.texte>p{
    font-weight: 400;
    margin-top: 1.7em;
}

.bold{
    font-weight: 700 !important;
    color: #494949;
}
.wrapper_card_contact{
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    margin: 3em 0;
    z-index: 2;
}

.card_contact{
    display: grid;
    grid-template-columns: 5fr 15px 3fr;
    height: 4.5em;
    width: 40em;
    background-color: #F9F9F9;
    border-radius: 1em;
    box-shadow: .3em .6em .6em 0 rgba(0, 0, 0, 0.3);
    padding: 1.25em 0;
}

.card_infos_contact,.nom_role{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    overflow: hidden;
}
.card_infos_contact>p,.nom_role>p{
    font-weight: 400;
}

.card_contact_ligne_verticale{
    width: .125em;
    height: 4.5em;
    background-color: #494949;
}


#wrapper_image{
    position: relative;
    height: 0.1em;
}
#image_faycel_christelle{
    height: 45em;
    right: max(calc(50vw - 50em), 1em);
    position: absolute;
    bottom: 0; 
    z-index: 1;
    overflow-x: hidden;
    overflow-y: visible;
}

#wrapper_infos_generales{
    display: flex;
    justify-content: space-between;
    gap: 6em;
    z-index: 2;
    width: 36em;
    background-color: #F9F9F9;
    border-radius: 1em;
    box-shadow: .3em .6em .6em 0 rgba(0, 0, 0, 0.3);
    padding: 1.25em 2em;

}
.infos{
    display: flex;
    gap: 1em;
    align-items: center;
}
.infos>img{
    width: 3em;
}

.wrapper_texte_infos>p+p{
    margin-top: 0;
}

.infos_majuscule{
    text-transform: uppercase;
}

@media screen and (max-width: 1200px){
    #wrapper_body{
        padding: 3em 2em;
    }
    .texte{
        max-width: 35em;
    }
    .card_contact{
        width: min(35em, calc(90vw - 2em));
        height: auto;
        padding: 1em 1em;
        grid-template-columns: 3fr 15px 3fr;

    }

    .card_contact_ligne_verticale{
        height:auto;
        margin: 0 .4em;
    }
    #wrapper_infos_generales{
        gap: 2em;
        width: min(35em, calc(90vw - 4em ));
        flex-direction: column;
        align-items: center;
    }
    .infos{
        align-items: center;
        width: 15.5em;
    }
    .wrapper_texte_infos>p+p{
        font-weight: 400;
    }
    .card_contact_ligne_verticale{
        width: .1em;
    }
    .infos_majuscule {
        text-transform: none;
    }

    #wrapper_image{
        height: 24em;
        display: flex;
        justify-content: center;
    }
    #image_faycel_christelle{
        height: 24em;
        position: static;
        bottom: 0; 

    }
}