@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@import url("header-mFUyDGT.css");
@import url("footer-Tgk6_0a.css");
@import url("pages/accueil-0F0mSF4.css");
@import url("pages/a_propos-FahN8DI.css");
@import url("pages/cgv-maoG0wF.css");
@import url("pages/mentions_legales-zK54r4T.css");
@import url("pages/menus-Q61UoBu.css");
@import url("pages/connexion-RYVXzLn.css");
@import url("pages/inscription-fls5Ync.css");
@import url("pages/contact-6WSUoQI.css");
@import url("pages/compte_user-kl2hc3J.css");
@import url("pages/commande-B1G5z2n.css");
@import url("pages/admin-LnflFW9.css");
@import url("pages/avisCommande-dvBZq8m.css");

/* =========================== BASE ======================================== */
*{

    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body{
    color :#252424;
    display: flex;
    flex-direction: column;
    font-family:"Roboto";
}

html, body{
  height: 100%; /*la page entière (html) + body doivent occuper 100% de la hauteur de l’écran sinon le navigateur laisse le body avoir la taille du contenu et non de l'écran*/
}


.page{  /*pour pousser le footer en bas de page*/
    flex:1;
}

/* ==================================================== STYLE ================================================== */
h1{
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6{
    font-family:"Plus Jakarta Sans";
}

h2, h3, h4, h5, h6{
    font-weight: 400;
    line-height: 1.5;
}

h1, h2{
    letter-spacing: 1.75px; /*letter-spacing CSS = (valeur % figma / 100) × font-size */
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

h1{
    color:white;
    font-size: 2rem;
    padding: 0 0 10px;
}

h2{
    font-size: 30px;
    padding: 1rem;
}

h3{
    letter-spacing: 1px;
    font-size:20px;
    padding-bottom:0;
}

h4{
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

h5{
    font-size: 14px;
    font-weight: 550;
    letter-spacing: 1px;
    padding-bottom: 10px;
}

p, .nav_item, label{
    font-size:14px;
    line-height:1.75;
}

p, label{
    font-family: "Roboto";
    font-weight: 350;
    letter-spacing: 0.3px;
}

label{
    font-weight: 350;
}

/* Flash alert */
.alert{
    font-family: "Roboto";
    font-weight: 350;
    letter-spacing: 0.3px;
    font-size:14px;
    line-height:1.75;
    padding: 1vh 1vw;
}

.alert-success{
    color:green;
    background-color: rgba(72, 158, 72, 0.342);
}

.alert-warning{
    color:red;
    background-color: rgba(248, 74, 74, 0.61);
}

.nav_item{
    font-weight: 500;
    letter-spacing: 1.2px; /*8% sur figma*/
    color:white;
    font-family: "Plus Jakarta Sans";
}

/* ====================== COMPONENTS ========================== */
.btn1, .btn2, .btn3, .btn4, .btn_menu, .btn_fermer{
    cursor:pointer;
}

.btn1{
    display: flex;
    flex-direction: column; /* pour empiler les span*/
    justify-content:center;
    align-items:center;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    transition: 0.2s ease;
    width: fit-content; 
    padding: 5px 12px;
    height: 3rem;
    background-color:#F7E0C4;
    color:#252424;
    text-decoration: none;
    border-radius: 10px;
}

.btn1 span {
    position:relative;
}

.btn1 span::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:1px;
    background-color:black;
    transition: width 0.3s ease;
}

.btn1 span:hover::after{
    width:100%;
}

.btn2{
    display: flex;
    justify-content:center;
    align-items:center;
    background-color: #DAA481;
    color:white;
    border:2px solid transparent; /*pour éviter qu'au hover un décalage apparaisse*/
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    transition: 0.2s ease;
    letter-spacing: 0.3px;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 10px;
    width: fit-content;
}

.btn_menu{
    height:40px;
    width: fit-content;
}

.menu_content_bottom button{    /*correspond à btn_menu*/
    text-decoration: none;
    font-size: 14px;
    color:white;
    letter-spacing: 0.3px;
}

.btn2:hover{
    background-color: transparent;
    border : 2px solid #DAA481;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color:#DAA481;
}

.btn4{
    width:200px;
    height:30px;
    border-radius: 10px;
        letter-spacing: 0.3px;
}

.btn4_apply{
    background-color: #F7E0C4;
    border: 1px solid #F7E0C4;
    transition: 0.2s ease;
    color:#252424;
}

.btn4_reset{
    background-color: transparent;
    border:1px solid white;
    color:white;
}

.btn1 a, .btn2 a , .btn4 a, .nav_item a{
    font-family:'Plus Jakarta Sans';
}

/* ===================================== LAYOUT ================================================== */


/* GENERAL */
.panel, .engagements{
    height:120vh;
}

/* .panel{
    display: flex;
    flex-direction: column;
    justify-content: center;
} */

/* HERO */
#logo_index{
    width:30%;
}

.hero_img{
    position:absolute;
    inset:0;
    background-size : cover;
    background-repeat:no-repeat;
    filter:blur(1px);
    transform: scale(1.05); /* pour supprimer les bords blancs*/
    z-index:0;
}

.hero_overlay{
    position:absolute;
    inset:0;
    background:rgba(0, 0, 0, 0.20);
    z-index:1;
}

#hero_accueil{
    background-image: url(/images/accueil.webp);
    background-position:center;
}

#hero_nos_menus{
    background-image: url(/images/nos_menus.webp);
    background-position: center;
}

#hero_a_propos{
    background-image: url(/images/a_propos.webp);
    background-position: center;
}

#hero_contact{
    background-image: url(/images/contact.webp);
    background-position: center 10%;
}

#hero_connexion{
    background-image: url(/images/connexion.webp);
    background-position: center 65%;
}

#hero_mentions_legales{
    background-image: url(/images/mentions_legales.webp);
    background-position: center 55%;
}

#hero_cgv{
    background-image: url(/images/cgv.webp);
    background-position: center;
}

#hero_politique{
    background-image: url(/images/politique_confidentialite.webp) ;
    background-position: center;
}

#hero_compte{
    background-image: url(/images/compte.webp) ;
    background-position:70%;
}

#hero_avis{
    background-image: url(/images/avis.webp) ;
    /* background-position:70%; */
}

#logo_pages{
    width:18%;
    height:auto;
}

