/* GLOBAL SETTINGS */
@font-face {
    font-family: NextArabic;
    src: url(/assets/fonts/DIN_Next_Arabic_Medium.ttf) format("truetype");
}

@font-face{
    font-family: Alexandria;
    src: url(/assets/fonts/Alexandria-VariableFont_wght.ttf) format("truetype");
}

*{
    font-family: Alexandria;
}

body{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}
body::-webkit-scrollbar{
    display: none;
  }

.buttons{
    background-color: #194E00;
    color: white;
    padding: 1rem;
    font-size: 1.5rem;
    border: none;
    border-radius: 15px;
    margin-top: 1rem;
    min-width: 50%;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
    .buttons:active{
        box-shadow: inset 2px 2px 5px 1px black;
    }

::placeholder{
    font-size: 1rem;
}

.alert-danger{
    font-size: large;
    color: red;
    text-align: center;
}

.alert-success{
    text-decoration: underline;
    font-weight: bold;
    color: #34a500;
    text-align: center;
    margin: 0;
}

.hide_bg{
    display: none;
    background-color: rgba(0, 0, 0, 0.404);
    backdrop-filter: blur(3px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

strong{
    color: #009345;
}
/* GLOBAL SETTINGS */


/* HEADER */
header{
    background-color: #ffffffe3;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.425);
    width: 100%;
    position: fixed;
    z-index: 3;
    margin: auto;
    padding: 1rem;
    box-sizing: border-box;
}
.headercomplet{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    margin: auto;
}

.header_nav{
    padding: 1.25rem;
    display: flex;
    align-items: center;
}

#navlogo{
    height: 100px;
}

.nav_item{
    list-style: none;
    position: relative;
    font-size: 1.20rem;
}
    .nav_item:after{
        content: '';
        height: 2px;
        background-color: #009345b4;
        width: 0%;
        position: absolute;
        bottom: -2px;
        left: 0;
        transition: 0.15s all ease-in-out;
    }
    .nav_item:hover:after{
        width: 100%;
        right: 0;
    }

.navmenu{
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0;
}
    .navmenu p{
        margin: 0;
        text-align: center;
    }

    .navmenu a, .navmenu p{
        text-decoration: none;
        color: black;
    }

    .navmenu a:hover, .navmenu p:hover{
        color: #009345;
        cursor: pointer;
    }

    .close_burger{
        width: 45px;
        display: none;
    }

.user_nav{
    position: relative;
}
.user_nav_arrow{
    width: 10px;
    transition: 0.1s transform ease-in-out;
}
    .user_nav_menu{
        display: none;
        padding: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.295);
        background-color: #ffffffe0;
        position: absolute;
        top: 25px;
    }
    .user_nav_item{
        margin: 0.5rem 0 0.5rem 0;
        box-sizing: border-box;
        font-size: 1rem;
    }
        .user_nav_arrow_actif{
            transform: rotateX(180deg);
        }
        .user_nav_item_actif{
            display: block;
            width: 150px;
        }

.navactive{
    color: #009345 !important;
}
    .navactive svg path{
        stroke: #009345 !important;
    }

.navburger{
    display: none;
}
/* FIN HEADER */


/* CONTENT */
.hero{
    background-image: url("../../assets/images/hero2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 200px;
    max-height: 450px;
    margin-top: 136px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
    .hero::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        border-top: 75px solid #F7FAFA;
        border-right: 300px solid transparent;
        width: 0;
    }
    .hero::after{
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        border-bottom: 75px solid #F7FAFA;
        border-left: 300px solid transparent;
        width: 0;
    }
    .hero h1{
        font-size: 3rem;
        color: white;
    }

.main-wrapper{
    background-color: #F7FAFA;
    padding: 0 1.75rem 0 1.75rem;
    flex: 1;
}

/* PAGE ACCUEIL */
.homewrapper{
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 1.75rem 0 1.75rem 0;
    width: 70%;
    margin: auto;
    box-sizing: border-box;
    background-color: white;
}
.boite{
    text-align: center;
    margin: 109px 0 2rem 0;
    background-image: url("../../assets/images/testhome.jpg");
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
}
    .boite h2{
        color: #009345;
        margin-top: 0;
        font-size: 2rem;
    }
    .boite img{
        width: 300px;
    }

    .boite:after{
        content: "";
        display: block;
        height: 2px;
        width: 50%;
        text-align: center;
        margin: auto;
        background: linear-gradient(to left, gray, white, gray);
    }

.homepart{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 30px;
    padding: 1rem;
    box-sizing: border-box;
}


/* 1er texte accueil */
.homeimg{
    object-fit: cover;
    min-width: 40%;
    width: 650px;
    max-width: 60%;
    border-radius: 25px;
}

.homepart1 .homepart{
    align-items: initial;
}

.hometext1{
    padding: 1rem;
    background-color: #F7FAFA;
    box-shadow: rgba(50, 50, 93, 0.1) 0px 6px 12px -2px, rgba(0, 0, 0, 0.2) 0px 3px 7px -3px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
    .hometext1 h2, .hometext1 h1{
        margin: 15px auto 15px auto;
        font-size: 2rem;
        color: #009345;
        text-align: center;
        text-shadow: 1px 3px 4px #0000004b;
    }
    .hometext1 h2::after, .hometext1 h1::after{
        content: "";
        display: block;
        height: 2px;
        width: 30%;
        text-align: center;
        margin: 15px auto 0 auto;
        background-color: #00934586;
    }
    .hometext1 p, .hometext1 h4, .explications{
        font-weight: 500;
        letter-spacing: .02em;
        line-height: 1.3;
        text-align: justify;
        padding: 1rem;
        margin: 0;
    }

.hometext1:nth-child(2){
    margin-left: 1rem;
}
.hometext1:nth-child(1){
    margin-right: 1rem;
}

.homepart1 h1{
    color: #009345;
    text-align: center;
}

/* 2ème texte accueil */
.home2{
    width: 80%;
    text-align: center;
}

.hometext2{
    width: 350px;
    height: 350px;
    border-radius: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#rond1{
    background-image: url("../../assets/images/CRImpot.png");
}
#rond2{
    background-image: url("../../assets/images/contact.png");
}

    .hometext2 div{
        width: 80%;
        text-align: center;
    }
    .hometext2 div h2{
        text-align: center;
        color: white;
        font-size: 5rem;
        margin: 0;
        font-weight: bold;
    }
    .hometext2 div h3{
        width: 100%;
        font-size: 2rem;
        color: white;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .homebtns{
        background-color: rgba(0, 0, 0, 0.26);
        color: white;
        padding: 1rem;
        font-size: 1.25rem;
        font-weight: bold;
        border-radius: 15px;
        border: 2px solid white;
        cursor: pointer;
        transition: 0.2s ease-in-out;
    }
    .homebtns:hover{
        background-color: rgba(255, 255, 255, 0.8);
        border: 2px solid black;
        color: black;
        transition: 0.2s ease-in-out;
    }

/* 3ème texte accueil */
#servicesBG{
    background-image: url("../../assets/images/servicesBG.jpg");
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-sizing: border-box;
    border-radius: 15px;
}
#homeimg3{
    border-radius: 5px;
    object-fit: cover;
    width: 50%;
    min-height: 400px;
    max-height: 400px;
}
#services{
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    background-color: rgba(0, 0, 0, 0.473);
    padding: 2rem;
    border-radius: 5px;
    box-sizing: border-box;
}
#prestatext{
    width: 45%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}
    #prestatext h2{
        margin: 0;
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    #prestatext h2, #prestatext ul{
        color: white;
    }
    #prestatext ul{
        padding: 0;
        margin: 0;
    }

.sub > li{
    cursor: pointer;
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    font-size: 1rem;
    transition: all 0.25s ease-in-out;
    background-color: rgba(0, 0, 0, 0.507);
    list-style: none;
    display: block;
    box-sizing: border-box;
}
input[type="radio"],
input[type="checkbox"] {
    display: none;
}
input:checked + .sub > li {
    padding: 1rem;
    height: auto;
    opacity: 1;
}
.has-sub > label{
    background-color: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid #6e6e6e;
    cursor: pointer;
    display: block;
    padding: 0.7em 1em;
    overflow: hidden;
    font-weight: bold;
    color: #009345;
    text-align: center;
}
.has-sub > label:hover{
    background: linear-gradient(rgba(255, 255, 255, 0.89),rgba(223, 223, 223, 0.6));
    color: #009345;
}

/* FIN PAGE ACCUEIL */

/* GALERIE CATEGORIES */
.galerie-wrapper{
    width: 70%;
    padding: 1.75rem 0 1.75rem 0;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: white;
}

.catcard{
    all: unset;
    cursor: pointer;
    margin: 2rem;
    height: 450px;
    width: 450px;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.catbg{
    transition: ease-out 0.3s;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    height: 75px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(3px);
}
    .catcard h2{
        margin-top: 1rem;
        font-size: 2rem;
        color: white;
    }

.catdesc{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.603);
    opacity: 0%;
    transition: 0.3s;
    color: white;
    font-size: 1.25rem;
}

.catcardimg{
    width: 250px;
    height: 300px;
    object-fit: cover;
}
/* FIN GALERIE CATEGORIES */

/* GALERIE IMAGES */
.images-wrapper{
    width: 70%;
    margin: auto;
    margin-top: 136px;
    background-color: white;
    padding: 1.75rem 0 1.75rem 0;
}
.autreimgs_carousel_forbtns{
    position: relative;
}

.autreimgs_carousel{
    width: 900px;
    margin: auto;
    margin-top: 1rem;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.2);
}

.autreimgs_slides{
    display: flex;
    gap: 20px;
    width: 100%;
}
.galerieimgs{
    min-width: 156px;
    max-width: 156px;
    height: 125px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
}

    .imgSelected{
        filter: drop-shadow(0  2px 5px rgba(0, 0, 0, 0.521)) grayscale(100%);
    }

.carousel_container{
    position: relative;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    width: 80%;
}
.carousel_slides{
    display: flex;
    width: 100%;
    height: 500px;
}

.carousel_block{
    display: block;
    cursor: default;
    position: relative;
    flex: 1 0 100%;
    width: 100%;
    height: 100%;
}

#precedent,
#suivant {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    margin-top: -22px;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.60);
    fill: white;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
}
    #precedent{
        left: 15px;
        rotate: 180deg;
    }
    #suivant{
        right: 15px;
    }
    #precedent:hover, #suivant:hover{
        background-color: rgba(255, 255, 255, 0.60);
        fill: black;
    }

#precedentBas, #suivantBas{
    cursor: pointer;
    position: absolute;
    top: 30%;
    width: auto;
    fill: black;
    padding: 1rem;
    border-radius: 50%;
    transition: 0.3s ease;
    user-select: none;
}
    #precedentBas{
        left: 5%;
        rotate: 180deg;
    }
    #suivantBas{
        right: 5%;
    }
    #precedentBas:hover, #suivantBas:hover{
        background-color: rgba(0, 0, 0, 0.6);
        fill: white;
    }

.img_slide{
    object-fit: scale-down;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.img_infos{
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    min-height: 140px;
    max-height: 300px;
    box-sizing: border-box;
}

    .img_infos h2, .img_infos p{
        color: white;
    }    
    .img_infos p{
        margin: 0;
    }
    .img_infos h2{
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
    .img_infos_active{
        display: block;
    }
/* FIN GALERIE IMAGES */

/* CREDIT D'IMPOT */
.cr-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    padding: 0 0 1.75rem 0;
    margin: auto;
    gap: 10px;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
}
.explicationsHero{
    width: 60%;
    margin: auto;
    text-align: center;
}
.explicationsHero h1{
    font-weight: bold;
}
.explicationsHero h1::after{
    content: '';
    display: block;
    height: 5px;
    width: 30%;
    text-align: center;
    margin: 15px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.863);
}

.explicationsHero p{
    color: white;
    font-size: 1.5rem;
    line-height: 120%;
    text-align: center;
}

.explications{
    width: 80%;
    margin-bottom: 1rem;
    background-color: #F7FAFA;
    padding: 2rem;
    box-sizing: border-box;
}

.explications h2{
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #009345;
}
.explications h2::after{
    content: '';
    display: block;
    height: 2px;
    width: 40%;
    margin: 15px auto 0 auto;
    background-color: #009345;
}
    .expl1{
        align-self: flex-start;
        border-radius: 0 15px 15px 0;
    }
        .expl1 h2, .expl2 h2{
            text-align: center;
        }
    .expl2{
        align-self: flex-end;
        border-radius: 15px 0 0 15px;
    }
/* FIN CREDIT D'IMPOT */

/* LOGIN */
input, select, textarea{
    padding: 1rem;
    background-color: rgba(192, 192, 192, 0.301);
    border: none;
    width: 100%;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.connection-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 136px;
    padding: 2%;
}
.connection-wrapper h1, .passreset-wrapper h1, .user-wrapper h1, .rdv-wrapper h1, .contact-wrapper h1, .legal-wrapper h1{
    margin: 15px auto 30px auto;
    font-size: 2rem;
    color: #009345;
    text-align: center;
}
.connection-wrapper h1::after, .passreset-wrapper h1::after, .user-wrapper h1::after, .rdv-wrapper h1::after, .contact-wrapper h1::after, .legal-wrapper h1::after{
    content: '';
    display: block;
    height: 2px;
    width: 40%;
    margin: 15px auto 0 auto;
    background-color: #009345;
}

.loginForm{
    width: 330px;
    text-align: center;
    margin: auto;
}
    .loginForm a, .loginForm p{
        color: black;
        text-align: center;
    }

#coninscr{
    border-top: 1px solid black;
    text-align: center;
}
.sinscrire{
    color: #009345;
    font-size: 1.5rem;
    font-weight: bold;
}

.formItem{
    text-align: center;
    margin: 1rem;
}
/* FIN LOGIN */
    /* RESET PASSWORD */
    .passreset-wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 136px;
        padding: 2%;
        text-align: center;
    }

    .resetForm{
        text-align: center;
    }
        .resetForm input{
            width: 330px;
        }
    /* FIN RESET PASSWORD */

/* INSCRIPTION */
.registrationform{
    text-align: center;
    width: 330px;
}
.CPN{
    display: flex;
    justify-content: space-between;
}    
    .CPN > *{
        max-width: 115px;
    }
    .CPN select{
        width: 70px;
        appearance: none;
        background-image: url('../../assets/images/fleche.png');
        background-position: center right;
        background-repeat: no-repeat;
    }


.CpVille{
    display: flex;
    justify-content: space-between;
}
    .CpVille input{
        width: 45%;
    }

/* FIN INSCRIPTION */

/* PAGE USER */
.user-wrapper{
    display: flex;
    justify-content: center;
    margin-top: 136px;
    padding-top: 2%;
    padding-bottom: 1%;
}

.user-wrapper h1{
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
}
.user-wrapper h2{
    text-align: center;
}

.user_bg{
    background-color: white;
    border-radius: 20px;
    padding: 1.5rem;
    min-width: 30%;
    box-sizing: border-box;
}

.user_info_lign{
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    box-shadow: 0px 24px 3px -24px rgba(0, 0, 0, 0.473);
    gap: 25px;
}
    .user_adress p, .user_email p, .user_phone p{
        margin: 0;
    }
    .user_adress h3, .user_email h3, .user_phone h3{
        margin-top: 0;
    }

    .user_info_lign:nth-child(4){
        justify-content: center;
        margin-bottom: 0;
        box-shadow: none;
    }
.editBtns{
    background-color: white;
    color: #008600;
    padding: 0.75rem;
    font-weight: bold;
    border-radius: 15px;
    border: 1px solid #008600;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.editBtns:hover{
    background-color: #194E00;
    border: 1px solid #194E00;
    color: white;
    transition: 0.2s ease-in-out;
}

.formbg{
    background-color: white;
    padding: 2rem;
    border-radius: 25px;
    position: relative;
}
/* MODAL USER */
.modalbg{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    top: 0;
    left: 0;
    z-index: 999;
}

.modalbg_active{
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-wrapper{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 25px;
}

.formbg h2{
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0.5rem;

}
.CV{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
    .CV input{
        max-width: 45%;
    }

.modal_close{
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    width: 25px;
}
/* FIN MODAL USER */

    /* RDV USER */
    .rdv-wrapper{
        display: flex;
        flex-direction: column;
        padding: 2rem;
        margin-top: 136px;
    }
    .description{
        resize: none;
        min-height: 250px;
        width: 100%;
    }
    /* FIN RDV USER */
/* FIN PAGE USER */

/* Mentions légales*/
.legal-wrapper li{
    list-style: decimal;
    margin: 3rem;
    box-sizing: border-box;
}
.legal-wrapper li>h2{
    font-size: 1.25rem;
    color: #009345;
    margin-bottom: 0.5rem;
}
.legal-wrapper p{
    margin-top: 0;
}
/* Fin mentions légales*/

/* CONTACT */
.contact-wrapper, .legal-wrapper{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 70%;
    margin: auto;
    margin-top: 136px;
    padding: 1.75rem 0 1.75rem 0;
    background-color: white;
}
    .contact-wrapper h1{
        color: #009345;
        margin-bottom: 50px;
        text-align: center;
    }
    .contact-wrapper h1::after{
        content: "";
        display: block;
        height: 2px;
        width: 50%;
        text-align: center;
        margin: 15px auto 0 auto;
        background-color: #009345dc;
    }
.contact{
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 2rem;
    box-sizing: border-box;
}

.contactPart{
    text-align: center;
    width: 45%;
}
    .contactPart textarea{
        resize: none;
        width: 100%;
        min-height: 200px;
    }
    .contactPart p{
        color: rgb(59, 59, 59);
        font-style: italic;
        font-size: 1rem;
    }
    .contactPart h2{
        margin-top: 0;
        color: #009345;
    }

.nomtel{
    display: flex;
    justify-content: space-between;
}
.nomtel input{
    width: 45%;
}

.renseignements{
    width: 45%;
    text-align: center;
}

    .infoEntreprise p{
        margin: 0;
        margin-bottom: 0.5rem;
    }
    .infoEntreprise a{
        all: unset;
        display: block;
        cursor: pointer;
    }
    .infoEntreprise a:hover{
        text-decoration: underline;
    }
.adresse iframe{
    width: 75%;
    height: 200px;
    margin: 1rem;
}

.ligneinfo{
    background-color: rgb(247, 247, 247);
    padding: 1rem;
}
    /* .ligneinfo::after{
        content: "";
        display: block;
        height: 3px;
        background-color: #01833e9f;
        width: 100%;
    } */
    
    .ligneinfo h3{
        margin-top: 1rem;
        color: #009345;
    }
    .ligneinfo a{
        margin-bottom: 1rem;
    }

.emailtel{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
    .email, .tel{
        width: 45%;
        font-size: 0.95rem;
    }

.horaires{
    margin-top: 10px;
}

.contactForm{
    width: 100%;
    text-align: center;
}
    .contactForm a, .contactForm p{
        color: black;
        text-align: center;
    }

input, select, textarea{
    font-family: Alexandria;
    font-size: 1rem;
    padding: 1rem;
    background-color: rgba(192, 192, 192, 0.301);
    border: none;
    width: 100%;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
/* FIN CONTACT */
/* FIN CONTENT */


/* FOOTER */
footer{
    background-color: #FFFFFF;
    box-shadow: -1px 4px 10px 0px black;
    font-size: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 25px;
}

.footlinks{
    width: 90%;
    padding: 0.75rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

    .footlinks a{
        all: unset;
    }

    .footlinks a:hover{
        color: #009345;
        cursor: pointer;
    }
/* FIN FOOTER */

@media (max-width: 1750px){
    .autreimgs_carousel{
        width: 800px;
    }
    .galerieimgs{
        min-width: 136px;
        max-width: 136px;
    }
    .homewrapper{
        width: 80%;
    }
    .headercomplet{
        width: 70%;
    }
}
@media (max-width: 1600px){
    .homewrapper, .galerie-wrapper, .cr-wrapper, .contact-wrapper, .legal-wrapper{
        width: 80%;
    }
}
@media (max-width: 1450px){
    .homewrapper, .galerie-wrapper, .cr-wrapper, .contact-wrapper, .legal-wrapper{
        width: 90%;
    }   
    .explicationsHero{
        width: 80%;
    }
    .images-wrapper {
        width: 90%;
    }
    #precedentBas{
        left: 5%;
    }
    #suivantBas{
        right: 5%;
    }
    .headercomplet{
        width: 90%;
    }
}
@media (max-width: 1200px){

    .homewrapper, .galerie-wrapper, .cr-wrapper, .contact-wrapper, .legal-wrapper{
        width: 100%;
    }
    .hero::before{
        all: unset;
    }

    .hero::after{
        all: unset;
    }
    #prestas{
        width: 80%;
    }    
    #hometext1p1{
        left: 20%;
    }

    .carousel_container{
        width: 100%;
    }
    #precedentBas{
        left: 0;
    }
    #suivantBas{
        right: 0;
    }
    #services{
        width: 100%;
    }
    #servicesBG{
        padding: 0;
    }
    .homepart{
        padding: 0;
    }
    .renseignements{
        width: 52%;
    }
}
@media (max-width: 1075px){
    .autreimgs_carousel{
        overflow-x: scroll;
        padding-right: 20px;
    }
        .galerieimgs:last-child{
            padding-right: 20px;
        }

    #precedentBas, #suivantBas{
        display: none;
    }
    .headercomplet{
        width: 100%;
    }

    .renseignements{
        width: 65%;
    }
}

@media (max-width: 902px){

    /* MENU BURGER HEADER NAV */
    .headercomplet{
        width: 100%;
    }

    header{
        padding: 0;
    }

    .navmenu{
        gap: 25px;
    }
    .navmenu a{
        font-size: 1.50rem;
    }

    .navburger{
        display: block;
        cursor: pointer;
        padding: 1rem;
    }
        .navburger a img{
            width: 40px;
        }

        .nav_item, .user_nav_item{
            font-size: 1.5rem;
        }

        .nav_item:hover:after{
            height: 3px;
        }

    .header_nav{
        display: flex;
        justify-content: center;
        height: 100vh;
        width: 40%;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        transition: 0.3s transform ease-in-out;
        background-color: white;
        z-index: 4;
    }
        .header_nav .navmenu{
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            font-size: 2rem;
            height: 100vh;
        }

        .header_nav.burgerActive{

            transform: initial;
        }
        
        .header_nav.burgerActive ul{
            display: flex;
        }

        .header_nav.burgerActive img{
            display: block;
            position: absolute;
            top: 30px;
            right: 13px;
            cursor: pointer;
        }

        .user_nav_burger{
            display: none;
        }
        .user_nav_menu{
            all: initial;
            list-style: none;
        }
        .user_nav_item:nth-child(1){
            margin-bottom: 28px
        }

    /* FIN MENU BURGER HEADER NAV */

    /* CONTENT */
    .main-wrapper{
        padding: 0;
    }
    .hero{
        margin-top: 104px;
        min-height: 200px;
        max-height: 450px;
    }
    .explicationsHero{
        padding: 1rem;
        box-sizing: border-box;
        width: 90%;
    }
        .explicationsHero h1{
            font-size: 2rem;
        }
        .explicationsHero p{
            font-size: 1rem;
        }
        
        .email, .tel{
            width: 100%;
        }

        /* ACCUEIL */
        .boite{
            margin-top: 76px;
            margin-bottom: 0;
        }
        .homepart{
            flex-direction: column;
            justify-content: start;
            margin-bottom: 0;
        }
        .hometext1:nth-child(1){
            margin-right: 0;
        }
        .hometext1:nth-child(2){
            margin-left: 0;
            margin-bottom: 30px;
        }
        .homepart:nth-child(2){
            flex-direction: column-reverse;
        }
        .homepart:nth-child(3){
            flex-direction: row;
            justify-content: space-evenly;
        }
        #services{
            flex-direction: column;
            padding: 2rem 0 0 0;
        }
        .homeimg{
            width: 100%;
            min-width: 0;
            max-width: none;
            border-radius: 0;
            max-height: 400px;
        }
        #servicesBG{
            border-radius: 0;
        }
        #prestatext{
            min-height: 0;
            width: 60%;
        }
        #prestatext h2{
            font-size: 3rem;
        }
            .has-sub > label{
                padding: 1rem;
                font-size: 1.25rem;
            }
            .sub > li{
                min-height: 0;
            }
            input:checked + .sub > li{
                height: auto;
            }
        #homeimg3{
            width: 100%;
            max-height: 500px;
        }
        
        /* FIN ACCUEIL */

        /* GALERIE */
        .catbg{
            height: auto;
            min-height: 125px;
            background-color: rgba(0, 0, 0, 0.5);
        }
        .catdesc{
            opacity: 1;
        }

        /* CAROUSEL */
        .images-wrapper{
            width: 100%;
            padding: 0 0 1.75rem 0;
        }
        .carousel_container{
            height: 350px;
            width: 100%;
            border-radius: 0;
        }
        .carousel_slides{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            height: 100%;
        }
        .autreimgs_carousel{
            width: 100%;
        }
        .img_infos{
            padding: 1rem;
            min-height: 100px;
            max-height: 200px;
        }
            .img_infos h2{
                margin-bottom: 0.5rem;
                font-size:1.25rem;
            }
            .img_infos p{
                font-size: 0.75rem;
            }

        #precedent,
        #suivant {
            background-color: rgba(0, 0, 0, 0.4);
            fill: white;
            stroke-width: 10px;
            padding: 1rem;
        }
        #precedent:hover, #suivant:hover{
            background-color: rgba(0, 0, 0, 0.4);
            fill: white;
        }
        #precedent{
            left: 5px;
        }
        #suivant{
            right: 5px;
        }

        /* FIN GALERIE */

        /* CREDIT IMPOT */
        .cr-wrapper{
            padding-top: 1rem;
        }
        .explications{
            width: 100%;
        }
            .expl1{
                align-self: auto;
            }
            .expl2{
                align-self: auto;
            }
        /* FIN CREDIT IMPOT*/

        /* USER */
        .connection-wrapper, .user-wrapper, .passreset-wrapper, .rdv-wrapper{
            margin: 104px 0 3rem 0;
        }
        .user_bg{
            width: 100%;
        }
        .editBtns{
            background-color: unset;
        }
        .user-wrapper h1{
            margin-bottom: 2rem;
        }
        .user_info_lign:nth-child(4){
            margin-top: 2rem;
        }
        /* FIN USER */

        /* CONTACT */
        .contact-wrapper, .legal-wrapper{
            margin-top: 104px;
        }
        .contact-wrapper h1{
            margin-bottom: 1.25rem;
        }
        .renseignements{
            width: 90%;
        }
        .contact{
            flex-direction: column;
            align-items: center;
            gap: 50px;
            padding: 1rem;
        }
        .contactinfos{
            flex-direction: column;
        }
        .contactPart{
            width: 90%;
        }
        .renseignements iframe{
            height: 350px;
        }
        .emailtel{
            flex-direction: column;
            align-items: center;
        }
        .infos:nth-child(1){
            border-right: none;
            border-bottom: 1px solid rgba(0, 0, 0, 0.26);
        }
        /* FIN CONTACT */

    /* FIN CONTENT */

    /* FOOTER */
    .footlinks {
        width: 100%;
        font-size: 0.75rem;
    }
    /* FIN FOOTER */

/* FIN MENU BURGER HEADER NAV */

}
@media (max-width: 700px){
    /* HEADER */
    .header_nav{
        width: 50%;
    }
    /* FIN HEADER */
    
    /* CONTENT */
    /* ACCUEIL */
        .homepart:nth-child(3){
            flex-direction: column;
        }
        .hometext2{
            width: 350px;
            height: 350px;
        }
        .hometext2:nth-child(1){
            margin-bottom: 25px;
        }
        #prestatext{
            width: 90%;
        }
    /* FIN ACCUEIL */

            /* CREDIT IMPOT */
            .explications{
                width: 100%;
            }
        /* FIN CREDIT IMPOT */
    /* FIN CONTENT */
}