
/*******************************************************************************************/
/* SERVICES PARTICULIER PROFESSIONNEL                                                      */
/*******************************************************************************************/

body.serviceParticulier, body.serviceProfessionnel{
    background-image: url('../img/fond-Services-Informations.png'); 
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-position: center;
}

main.servicesPP{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 4rem;
    height: auto;
}

main.servicesPP section{
    margin:0;
    margin-bottom: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
}

main.servicesPP img.impair{
    max-width: 100%;
    margin: 0;
    border-radius: 10px;
}

main.servicesPP img.impairPetit{
    display: none;
}

main.servicesPP img.pair{
    max-width: 100%;
    margin: 0;
    border-radius: 10px;
}

main.servicesPP h2{
    color: black; 
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 50px;
    text-decoration: underline;
    margin-top: 80px;
    margin-bottom: 110px;
}

/****************************************************/
/* SERVICES PARTICULIER PROFESSIONNEL IMPAIR        */
/****************************************************/

main.servicesPP section.impair h3{
    position: absolute;
    top: 4%;
    left: 10%;
    background-color: rgba(255, 255, 255, 0.67);
    padding: 5px 20px;
    text-align: center;
    border-radius: 5px;
    white-space: nowrap; 
    max-width: 100%; 
    color: black;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(25px + 0.5vw);
}

main.servicesPP section.impair h4 {
    position: absolute;
    top: 65%;
    left: 10%;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.67);
    padding: 5px 20px;
    text-align: center;
    border-radius: 5px; 
    color: black;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(22px + 0.5vw);
    margin-left: 0px !important;
    margin-right: 0px !important;
}

main.servicesPP section.impair section {
    position: absolute;
    top: 41%;
    left: 10%; 
    border: 2px solid white; 
    background-color: rgba(255, 255, 255, 0); 
    padding: 15px 25px; 
    box-sizing: border-box;
    text-align: center; 
}

main.servicesPP section.impair p{
    max-width: 100%; 
    color: white;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(17px + 0.5vw);
    margin: 0px;
}

/****************************************************/
/* SERVICES PARTICULIER PROFESSIONNEL PAIR          */
/****************************************************/

main.servicesPP section.pair h3{
    position: absolute;
    top: 4%;
    right: 10%;
    background-color: rgba(255, 255, 255, 0.67);
    padding: 5px 20px;
    text-align: center;
    border-radius: 5px;
    white-space: nowrap; 
    max-width: 100%; 
    color: black;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(25px + 0.5vw);
}

main.servicesPP section.pair h4 {
    position: absolute;
    top: 65%;
    right: 10%;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.67);
    padding: 5px 20px;
    text-align: center;
    border-radius: 5px; 
    color: black;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(22px + 0.5vw);
    margin-left: 0px !important;
    margin-right: 0px !important;
}

main.servicesPP section.pair section {
    position: absolute;
    top: 41%;
    right: 10%; 
    border: 2px solid white; 
    background-color: rgba(255, 255, 255, 0); 
    padding: 15px 25px; 
    box-sizing: border-box;
    text-align: center; 
}

main.servicesPP section.pair p{
    max-width: 100%; 
    color: white;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(17px + 0.5vw);
    margin: 0px;
}



/***************************************************************************************************************************************/
/***************************************************************************************************************************************/
/* MOBILE                                                                                                                              */
/***************************************************************************************************************************************/
/***************************************************************************************************************************************/

@media (max-width: 750px){

    main.servicesPP h2{
        font-size: 42px;
    }

    main.servicesPP img.impair{
        display: none;
    }

    main.servicesPP img.pair{
        display: none;
    }

    main.servicesPP img.impairPetit{
        display: block;
        max-width: 100%;
        margin: 0;
        border-radius: 10px;
    }

    main.servicesPP section.long h4{
        padding: 5px 5px;
    }
}

/*************************************************************************************************************************************/

@media (max-device-width: 768px) {
    /*body.servicesPP{
        background-image: url('../img/fond-Mobile.png');
        background-size: cover;
        background-repeat: no-repeat; 
        background-attachment: fixed; 
        background-position: center;
    }*/

    body.servicesPP{
        background-image: none;
    }

    main.servicesPP h2{
        font-size: 65px;
    }

    main.servicesPP img.impair{
        display: none;
    }

    main.servicesPP img.pair{
        display: none;
    }

    main.servicesPP img.impairPetit{
        display: block;
        width: 650px;
        margin: 0 0 1.5rem 0;
        border-radius: 10px;
    }

    main.servicesPP section.long h4{
        padding: 5px 5px;
    }


    main.servicesPP section.impair h3, main.servicesPP section.pair h3{
        font-size: 40px;
    }

    main.servicesPP section.impair h4, main.servicesPP section.pair h4{
        font-size: 40px;
    }

    main.servicesPP section.impair p, main.servicesPP section.pair p{
        font-size: 40px;
    }

    main.servicesPP section.impair section, main.servicesPP section.pair section {
        top: 38%;
    }
}