* {
    padding: 0;
    margin: 0;
}

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

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


#icon_main {
	width: 50px;
  	margin-top: 15px;
  	margin-left: 15px;
    padding-bottom: 20px;
}

#titre_main {
	font-family: Consolas;
	font-size: 35px;
  	margin-top: 20px;
  	margin-left: 20px;
}

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

.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: #57666e;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-left: 350px;
    margin-right: 350px;
}

#titre_hero{
    color: white;
}

#text_hero{
    color: white;
}

#service{
    display: flex;
    margin-top: 50px;
    text-align: center;
    gap: 10px;
    margin-left: 220px;
}

.bi-book {
    display: flex;
    margin-top: 50px;
    margin-left: 170px;
    font-size: 60px;
    color: black;
}

.bi-cup-hot {
    display: flex;
    margin-top: 50px;
    margin-left: 170px;
    font-size: 60px;
    color: black;
}


.bi-calendar-event {
    display: flex;
    margin-top: 50px;
    margin-left: 170px;
    font-size: 60px;
    color: black;
}

#sous_titre_service{
    text-align: center;
    margin-top: 30px;
    font-size: 25px;
    color: #949494;
}

#par_service{
    text-align: center;
    margin-top: 25px;
    font-size: 18px;
    font-family: Raleway;
    color: #000000;
}

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

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

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

#service_box{
    text-align: center;
    width: 410px;
    height: 380px;
    margin-top: 15px;
    margin-left: 50px;
    border: solid #dbdbdb 1px;
    border-radius: 10px;
}

#service_box:hover{
    box-shadow: 0 4px 6px rgba(112, 112, 112, 0.3);
}

#table_horaire{
    margin-top: 70px;
    width: 1000px;
    height: 380px;
    margin-left: 470px;
    border: solid #dbdbdb 1px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(112, 112, 112, 0.3);
}

#table_entente th {
    font-weight: bold;
    background-color: #e8f0f3 !important;
}

tbody tr:nth-child(even) th,
tbody tr:nth-child(even) td {
    background-color: #d8d8d880;
}

#a_propos_div{
    display: flex;
    gap: 5px;
}

#par_a_propos{
    display: flex;
    font-size: 23px;
    margin-top: 130px;
    margin-left: 150px;
    width: 700px;
    height: 380px;
    font-family: Raleway;
}

#img_a_propos{
    display: flex;
    margin-top: 70px;
    margin-left: 250px;
    margin-bottom: 100px;
    width: 400px;
    height: 573px;
}

#footer{
    display: flex;
    gap: 220px;
    background-color: #4a5d68;
    padding: 20px;
}

#titre_footer_1{
    font-weight: bold;
    color: #ffffff;
    font-size: 25px;
    margin-top: 30px;
    margin-left: 400px;
    text-decoration: underline; 
    text-decoration-color: #f4b942; 
    text-decoration-thickness: 2px; 
    text-underline-offset: 20px; 
}

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

#titre_footer_3{
    font-weight: bold;
    color: #ffffff;
    font-size: 25px;
    margin-top: 30px;
    text-decoration: underline; 
    text-decoration-color: #f4b942; 
    text-decoration-thickness: 2px; 
    text-underline-offset: 20px; 
}

#par_footer_1{
    display: flex;
    color: white;
    font-style: italic;
    margin-top: 40px;
    margin-left: 400px;
}

#par_footer_2{
    display: flex;
    color: white;
    margin-top: 40px;
}

#table_footer_3 {
    display: flex;
    gap: 25px;
    color: white;
    margin-top: 40px;
}

#div_copyright{
    background-color: #4a5d68;
}

#par_copyright{
    text-align: center;
    color: white;
    padding-top: 5px;
    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;
    }
}
