* {
    padding: 0;
    margin: 0;
}

#div_main{
    position: fixed;
    background-color: #f5efe6;
    display: flex;
    top:0%;
    box-shadow: 0 10px 9px rgba(112, 112, 112, 0.3);
}

body {
    margin-top: 60px !important; 
}

#titre_main {
	font-family: Consolas;
	font-size: 45px;
  	margin-top: 10px;
  	margin-left: 20px;
    width: 1000px;
}

.nav {
	font-family: Consolas;
	font-size: 20px;
    margin-top: 15px;
  	margin-left: 109px;
}

.nav-link {
    display: flex;
    margin-right: 33px;
}

.nav-link:hover {
    color: #e94f37 !important;
    text-decoration: underline; 
    text-decoration-color: #f4b942; 
    text-decoration-thickness: 2px; 
    text-underline-offset: 10px; 
}


#hero{
    background-color: #D5CABC;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 9px rgba(112, 112, 112, 0.3);
}

#titre_hero{
    color: white;
}

#img_hero{
    margin-top: 25px;
    height: 300px;
    width: auto;
}

#par_hero{
    font-family: Helvetica;
	font-size: 18px;
    text-align: center;
    font-style: italic;
    margin-top: 55px;
}

#service{
    background-color: #ffe6f2;
    padding-top: 2%;
    padding-bottom: 2%;

}

#titre_service{
    font-weight: bold;
    color: #949494;
    text-decoration: underline; 
    text-decoration-color: #f4b942; 
    text-decoration-thickness: 2px; 
    text-underline-offset: 20px; 
    text-align: center;
}

#par_service{
    font-family: Helvetica;
	font-size: 22px;
    text-align: center;
    margin-top: 60px;
}

#btn{
    display: flex;
    margin-left: 45%;
    background-color: #fcd890;
    border-radius: 5px;
    padding: 1%;
}


#footer{
    display: flex;
    background-color: #bda29e;
}

#titre_footer_2{
    width: 1000px;
    margin-left: 65%;
    font-weight: bold;
    color: #ffffff;
    font-size: 25px;
    margin-top: 20px;
    text-decoration: underline; 
    text-decoration-color: #f4b942; 
    text-decoration-thickness: 2px; 
    text-underline-offset: 20px; 
}

#par_footer_2{
    display: flex;
    margin-left: 85%;
    text-align: center;
    color: white;
    margin-top: 40px;
}

#par_footer_3{
    display: flex;
    margin-left: 91.5%;
    text-align: center;
    color: white;
}

#div_copyright{
    background-color: #bda29e;
}

#par_copyright{
    text-align: center;
    color: white;
    padding-bottom: 40px;
    margin-bottom: 0px;
}

#titre_contact{
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    margin-top: 15px;
    text-decoration: underline; 
    text-decoration-color: #f4b942; 
    text-decoration-thickness: 2px; 
    text-underline-offset: 20px; 
}

#text_contact{
    color: white;
    margin-top: 50px;
}

#titre_formulaire{
    display: flex;
    margin-left: 350px;
    font-weight: bold;
    color: #57666e;
    margin-top: 50px;
    padding-bottom: 15px;
}

#formulaire{
    display: flex;
    margin-left: 350px;
    margin-right: 350px;
    margin-bottom: 60px;
    padding-left: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    border: solid #dbdbdb 1px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(112, 112, 112, 0.3);
}

#label_form{
    margin-bottom: 15px;
    margin-top: 15px;
}

#inputName{
    width: 1130px;
}

#inputEmail{
    width: 1130px;
}

#inputTel{
    width: 1130px;
}

#inputSujet{
    width: 1130px;
}

/* --------- VERSION MOBILE --------- */
@media (max-width: 768px) {

    #div_main {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-bottom: 10px;
        position: static; 
    }
    
    body {
        margin-top: 0 !important;
    }

    #titre_main {
        margin-left: 0;
        font-size: 24px;
    }

    .nav {
        margin-left: 0;
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 16px;
        gap: 10px;
    }

    #hero {
        margin-left: 0;
        margin-right: 0;
        padding: 20px;
    }

    #titre_hero {
        font-size: 24px;
    }

    #service {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        align-items: center;
    }

    #service_box {
        width: 90%;
        margin-left: 0;
        height: auto;
        padding-bottom: 20px;
    }

    .bi-book, .bi-cup-hot, .bi-calendar-event {
        margin-left: 0;
        justify-content: center;
    }


    #table_horaire {
        width: 95%;
        margin-left: 2%;
        font-size: 14px;
    }


    #a_propos_div {
        flex-direction: column;
        text-align: center;
    }

    #img_a_propos {
        width: 50%;
        height: auto;
        margin-left: 25%;
        margin-bottom: 5%;
    }

    #par_a_propos {
        margin-top: 2%;
        font-size: 18px;
        margin-left: 10%;
        width: 80%;
        height: auto;
    }

    #footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    #titre_footer_1 {
        margin-top: 20%;
        margin-left: 10%;
    }

    #par_footer_1 {
        margin-top: 20%;
        margin-left: 10%;
    }

    #par_footer_2 {
        display: flex;
        color: white;
        margin-left: 30%;
    }

    #table_footer_3 {
        margin-top: 20%;
        margin-left: 10%;
    }

    #titre_formulaire {
        margin-top: 20%;
        margin-left: 10%;
    }

    #formulaire {
        width: 90%;
        height: auto;
        margin-top: 5%;
        margin-left: 5%;
    }

    #label_form {
        margin-bottom: 5%;
        margin-top: 5%;
    }

    #inputName {
        width: auto;
    }

    #inputEmail {
        width: auto;
    }

    #inputTel {
        width: auto;
    }

    #inputSujet {
        width: auto;
    }
}
