@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0%;
    padding: 0%;
    font-family: 'League Spartan', sans-serif;
    box-sizing: border-box;
}

h1 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4 {
    font-size: 20px;
    color: #222;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 18px;
    color: #465b52;
    margin: 15px 0 20px 0;
    font-weight: 400;
    text-align: justify;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0px;
}

body {
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 237, 246, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
}

#navbar {
    display: flex;
    justify-content: space-between;
}

nav #navbar li {
    list-style: none;
    margin: 20px;
    position: relative;
}

nav #navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
}

nav #navbar li a:hover,
nav #navbar li a.active {
    color: #dc078e;
}

nav #navbar li a.active::after,
nav #navbar li a:hover::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 30%;
    left: -5px;
    bottom: -4px;
    background-color: #dc078e;
}

#mobile {
    display: none;
}

#close {
    display: none;
}

.shopping-container{
    position: relative;
}
.shopping-container span{
    position: absolute;
    bottom: -10px;
    right: -3px;
    border-radius: 50%;
    background-color: red;
    color: #E3E6F3;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid red;
    font-size: 10px;
    width: 17px;
    height: 17px;
}
.shopping-container .fa-truck-fast{
    color: #1a1a1a;
}


/* Menu Déroulant html */

/* .main{
    height: 400px;
    margin-bottom: 60px;
} */

.diapo {
    position: relative;
    height: 70vh;
    top: 60px;
    overflow: hidden;
}

.elements {
    display: flex;
    height: fit-content;
}

.element {
    flex: 1 0 100%;
    position: relative;
    height: fit-content;
}

.element>img {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.caption {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.caption h2 {
    text-transform: uppercase;
}

#nav-gauche,
#nav-droite {
    position: absolute;
    top: 50%;
    color: rgb(42, 67, 165);
    font-size: 2rem;
    cursor: pointer;
}

#nav-droite {
    right: 0%;
}

.caption h2 {
    font-size: 70px;
    color: darkblue;
    font-weight: bold;
}

.caption p {
    font-size: 15px;
    color: darkblue;
    font-weight: bold;
}

#main {
    line-height: 30px;
}

#main h1 {
    text-align: center;
    margin-bottom: 30px;
}

.other_letter {
    color: #BB8FCE;
    font-size: 2.5rem;
}

.first_letter {
    color: #EA0678;
}

.domaine {
    margin: 50px 0px 30px 0px;
    position: relative;
    width: fit-content;
}

#main article .domaine::after {
    content: '';
    background-image: linear-gradient(to right, #EA0678, #BB8FCE);
    position: absolute;
    left: -20px;
    top: 50%;
    width: 40%;
    height: 50%;
    display: block;
    z-index: -1;
    border-radius: 25px;
}

#main .bloc_domaine .prestation_domaine {
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    margin-top: 50px;
}

#main .bloc_domaine .prestation_domaine li {
    list-style: none;
    font-size: 18px;
    color: #465b52;
    font-weight: 350;
    text-align: justify;
}

#main .bloc_domaine .prestation_domaine li i,
.fa-solid {
    color: #EA0678;
    display: inline-block;
    margin-right: 10px;
}

#main .bloc_domaine .prestation_domaine .contenu_img_domaine {
    width: 40%;
    flex-shrink: 1;
}

#main .bloc_domaine .prestation_domaine .contenu_img_domaine .img_domaine {
    width: 100%;
}

#main .bloc_domaine .prestation_domaine .contenu_text_domaine {
    flex-grow: 1;
}

.bloc_domaine h3 {
    margin: 60px 0px;
}

.shopping {
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    border: none;
    position: absolute;
    background-color: #BB8FCE;
    top: 0%;
    z-index: 555;
    width: 100%;
    height: max-content;
    min-height: 100vh;
}

.shopping.active {
    display: block;
}

.container_button{
    position: absolute;
    width: 100%;
    margin: 5px auto;
    bottom: 0px;
}
.container_button button{
    padding: 10px;
    border-radius: 10px;
    width: 48%;
}
.container_button button:nth-child(2){
    background-color: green;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}
.container_button button:nth-child(1){
    background-color: black;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.shopping h2{
    font-size: 25px;
    text-align: center;
    margin: 30px 0;
    font-family: "Petit Formal Script", cursive;
    
}


.global_cart {
    font-size: 12px;
}

.cart_container:nth-child(even){
    background-color: #ffffff57;
}
.cart_container:nth-child(odd){
    background-color: #ffffffaf;
}
.cart_container:last-child{
    margin-bottom: 60px;
}

.name_product{
    font-weight: bold;
    padding-bottom: 10px;
}

.cart_container {
    padding: 10px 0;
    margin: 5px;
    display: grid;
    grid-template-columns: 25px 4fr 2fr 0.5fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
}

.cart_container .delete{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: red;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart_container .total_price{
    font-weight: bold;
    color: #242b28;
}
.cart_container .img {
    width: 20px;
}

.cart_container img {
    width: 100%;
}


.name_qty_container{
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
    gap: 5px;
}

.order_quantity{
    height: 19px;
    width: 100%;
    max-width: 60px;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.order_quantity span{
    font-size: 10px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    user-select: none;
    cursor: pointer;
}

.order_quantity span.number{
    font-size: 11px;
    border-right: 2px solid rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    pointer-events: none;
}


































































/* standardiser le format des sections des corps de metiers */

/* .aideadomicile_presentation, .sourcing_presentation, .btp_presentation{
    margin: 0% 0px;
}

.m-0{
    margin-top: 7%;
    margin-bottom: 0%;
} */

/* La partie section presentation de l'entreprise */

/* .other_letter{
    color:#BB8FCE;
    font-size: 2.5rem;
}

.first_letter{
    color: #EA0678;
}

#presentation{
    margin: 10% 15% 5% 15%;
    word-spacing: 5px;
    text-align: justify;
} */
/* #presentation>h1{
    text-align: center;
    margin-bottom: 0%;
    margin-top: 2%;
}
.lamarque{
    font-size: 210%;
    color: darkblue;
    font-weight: bold;
    text-transform: uppercase;
} */
/* #presentation h2{
    color:black;
    font-weight: bold;
    margin-bottom: 50px;
    position: relative;
    text-transform: uppercase;
} */

/* #presentation h2::after{
    position: absolute;
    content: '';
    background-image: linear-gradient(to right, #EA0678, #BB8FCE);
    top: 50%;
    left: -3%;
    width: 25%;
    height: 25px;
    z-index: -1;
    border-radius: 15px;
    display: block;
} */

/* .btp_presentation{
    margin-bottom: 80px;
} */

/* .btp_presentation>p, .aideadomicile_presentation>p, .sourcing_presentation>p{
    color: #2b2b2b;
    font-size: 1.1rem;
} */


/*btp*/


/* .contenu_parlant_btp{
    content: '';
    background-image: linear-gradient(to left, #BB8FCE, #EA0678);
    display: flex;
    color:ghostwhite;
    height: 55vh;
    gap: 5%;
    justify-content: space-around;
    align-items: center;
    font-size: 90%;
} */

/* .contenu_image_parlant_btp, .contenu_image_parlant_aideenfant{
    height: 60%;
    margin-left: 2%;
} */

/* .imageducontenu_parlant_btp, .imageducontenu_parlant_aideenfant{
    width: 100%;
    height: 100%;
} */

/* .contenu_parlant_btp div:last-child{
    width: 70%;
    font-size: 90%;
    margin-right: 2%;
    line-height: 170%;
}

.contenu_parlant_btp ul{
    list-style-type:none;
    font-size: 80%;
} */

/*AIDE A DOMICILE*/

/* .contenu_parlant_aideadomicile{
    content: '';
    background-image: linear-gradient(to right, #BB8FCE, #EA0678);
    display: flex;
    height: 55vh;
    gap: 5%;
    justify-content: space-around;
    align-items: center;
}

.contenu_parlant_aideadomicile div:first-child{
    color:whitesmoke;
    width: 70%;
    font-size: 90%;
    margin-left: 2%;
    line-height: 170%;
}

.contenu_image_parlant_aideadomicile, .contenu_immage_parlant_sourcing{
    height: 60%;
    margin-right: 2%;
}

.imageducontenu_parlant_aideadomicile, .imageducontenu_parlant_sourcing{
    height: 100%;
    width: 100%;
}

.contenu_parlant_aideadomicile ul{
    list-style-type:none;
    font-size: 80%;
}

.t{
    font-size: 80%;
} */
/*Aide Enfant*/

/* .contenu_parlant_aideenfant{
    display: flex;
    content: '';
    background-image: linear-gradient(to left, #BB8FCE, #EA0678);
    color:whitesmoke;
    height: 55vh;
    gap: 5%;
    justify-content: space-around;
    align-items: center;
    line-height: normal;
}

.contenu_image_parlant_aideenfant{
    height: 60%;
    margin-left: 2%;
}

.imageducontenu_parlant_aideenfant{
    width: 100%;
    height: 100%;
}

.contenu_parlant_aideenfant div:last-child{
    width: 70%;
    font-size: 90%;
    margin-right: 2%;
    line-height: 170%;
} */

/*-------------------------*/

/* .contenu_parlant_sourcing{
    display: flex;
    content: '';
    background-image: linear-gradient(to right, #BB8FCE, #EA0678);
    color:ghostwhite;
    height: 55vh;
    justify-content: space-around;
    align-items: center;
    line-height: normal;
    gap: 5%;
}

.contenu_parlant_sourcing div:first-child{
    color: whitesmoke;
    width: 70%;
    font-size: 90%;
    margin-left: 2%;
    line-height: 170%;
}

.contenu_parlant_sourcing ul{
    list-style-type:none;
    font-size: 80%;
}

.contenu_image_parlant_sourcing{
    height: 60%;
    margin-right: 2%;
}

.imageducontenu_parlant_sourcing{
    width: 100%;
    height: 100%;
}  */






/* Pied de page */

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .col .logo {
    margin-bottom: 30px;
}

footer h4 {
    font-size: 14px;
    padding-bottom: 20px;
}

footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
}

footer a {
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin-bottom: 10px;
}

footer .follow {
    margin-top: 20px;
}

footer .follow i {
    color: #465b52;
    padding-right: 4px;
    cursor: pointer;
}

footer .install img {
    margin: 10px 0 15px 0;
}

footer .follow i:hover,
footer a:hover {
    color: #dc078e;
}

footer .copyright {
    width: 100%;
    text-align: center;
}



/* La partie responsive */
/* @media screen and (max-width:900px) {
    .container_nav_bar ul li a{
        font-size: 60%;
    }    
}

@media screen and (max-width:463px) {
    .container_nav_bar{
        display: none;
    }    
} */


/* PARTIE RESPONSIVE ORIGINALE  */

@media (max-width:799px) {
    header nav{
        order: 1;
    }
    .shopping-container{
        order: 3;
    }
    .logo{
        order: 2;
    }
}


@media (max-width:820px) {
    .logo {
        width: 60%;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: max-content;
        width: 300px;
        background-color: #E3E6F3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
    }

    #navbar.active {
        right: 0px;
    }

    #navbar i {
        margin-bottom: 25px;
    }

    #mobile {
        display: inherit;
    }

    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #222;
        font-size: 24px;
    }

    /* ajout */
    h1 {
        padding-top: 100px;
    }

    main {
        display: none;
    }

    #main .bloc_domaine .prestation_domaine {
        row-gap: 50px;
    }

    #main .bloc_domaine .prestation_domaine .contenu_img_domaine {
        width: 100%;
        flex-shrink: 1;
    }

    #main .bloc_domaine .prestation_domaine .contenu_img_domaine .img_domaine {
        width: 100%;
    }
}

@media (max-width:477px) {
    header {
        padding: 10px 30px;
        justify-content: space-around;
    }

    h1 {
        font-size: 32px;
        line-height: 10px;
        padding-top: 100px;
    }

    /*  */
    main {
        display: none;
    }

    #main {
        margin: 0px 0px;
        padding: 0px 40px;
    }

    #main .bloc_domaine .prestation_domaine {
        margin-top: 30px;
    }

    #main .bloc_domaine .prestation_domaine li {
        padding-bottom: 30px;
    }

    #main article .domaine::after {
        content: '';
        background-image: linear-gradient(to right, #EA0678, #BB8FCE);
        position: absolute;
        left: -20px;
        top: 15px;
        width: 50%;
        height: 10px;
        display: block;
        z-index: -1;
        border-radius: 25px;
    }

    footer.section-p1 {
        padding: 50px 40px;
    }
}

@media (max-width:321px) {
    #main h1 {
        font-size: 48px;
        line-height: 40px;
    }

    #main .extraire {
        display: none;
    }
}