img{
    max-height: 500px;
    width: auto;
}
body{
    background-color: #5d5555;
    font-family: 'Catchye Demo', sans-serif;

}
h1{
    text-align: center;
    margin-top : 10%;
    margin-bottom: 5%;
    font-family: 'Money Rich','Billy Money', sans-serif ;
    font-weight: bold;
    font-size: xxx-large;
}

.large-text {
    display: block;
}

.small-text {
    display: none;
}

header {
    background-image: url("../images/or.jpg");
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}

nav {
    width: 100%;
    text-align: center;
}

nav ul {
    padding: 1.5em;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #FFD700;
    border-bottom: 3px solid #FFD700;
}

nav ul li a.active {
    font-weight: bold;
    color: #FFD700;
    border-bottom: 3px solid #FFD700;
}


p{
    color: white;
    justify-content: center;
    font-size: 1.1em;
}

h2{
    color: white;
    justify-content: center;
    margin-left: 2%;
    margin-top: 2%;
    font-weight: bolder;

}

.espace{
    margin-top: 2%;
}

#section12{
    padding-left: 4.7%;
    padding-right: 4.7%;
}

.titrefin{
    margin-left: 0;
}

#section1{
   background-color:#F8E894 ;
    max-height: 500px;
    color: black;
}

#section5{
    padding-left: 4%;
    padding-right: 4%;
}

#section6{
    margin-right: 4%;
    margin-left: 4%;
}

.titre1 {
    color: black;
    font-size: 30px;
    margin-right: 4%;
    margin-left: 4%;
    margin-top: 8%;
}
h3{
     font-size: 20px;
    margin-right: 4%;
    margin-left: 4%;
    font-weight: bolder;
 }

a{
    color: #040b79;
    font-weight: bolder;
}
.dore >a{
    color: #040b79;
    font-weight: bolder;
}
.part1{
    margin-top: 5%;
    color: black;
    margin-right: 4%;
    margin-left: 4%;
}
.top3{
    max-height: 400px;
    width: auto;
    text-align: center;
    justify-content: center;
}

button{
    margin-left: 12em;
}

.maneki{
    width: auto ;
    position: sticky;
    margin-top: -15%;
    margin-right: 0;
    max-width: 500px;

}
#intro{
    margin-left: 4%;
    margin-right: 4%;
    margin-bottom: 4%;
}
.graph{
    max-width: 700px;
    margin-right: 4%;
}

/* Epaisseur des traits */
.ct-line{
    stroke-width: 10px;
}

/*  Style des trois lignes (couleurs et pointillés) */
.ct-series-a .ct-line, .ct-series-a .ct-point{
    stroke: hotpink;
}
.ct-series-b .ct-line, .ct-series-b .ct-point{
    stroke: greenyellow;
    stroke-dasharray: 5px 2px;
}
.ct-series-c .ct-line, .ct-series-c .ct-point{
    stroke: deepskyblue;
    stroke-dasharray: 10px 5px;
}

/* Fontes des label */
.ct-label, .ct-axis-title, .ct-axis-title-vertical{
    font-size:1.5em;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color:#EEE;
    fill: #EEE;
}
.ct-label.ct-vertical, .ct-axis-title-vertical
{
    font-size: 1em;
}

.section10{
    margin-right: auto;
    margin-left: auto;
}

.section7{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
}

.section7 > h2 {
    margin: auto;
}

.ct-golden-section{
    margin: auto;
}
.unite{
    margin-left: 3%;
    margin-top: 5%;
}
#revenu{
    max-height: 500px;
    width: auto;
    margin-top: -25em;
}


#flag{
    margin-top :6%;
    margin-left: 8%;
    margin-bottom: 10%;
}
.horaire{
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}



#chat {
    max-height: 250px;
    width: auto;
    position: absolute;
    margin-top: -10.5em;
    margin-left: 1em;
}

.text4{
    margin-top: 13%;
    margin-left: 4%;
}

.graph4{
    text-align: center;
    margin-top: 10em;
    margin-left:20%;

}

.dore{
    background-color: #F8E894;
    padding: 2%;
    vertical-align: center;
    width: 100%;
}

.dore >p{
    color: black;
}

.dore >h2 {
    color: black;
}

#section3{
    color : black;
    font-size: 16px;
    margin-top: -5%;
    padding-right: 4%;
    padding-left: 4%;

}

.text6{
    margin-top: 30%;
}

.part6{
    margin-top: 4%;
    margin-bottom: 6em;
}

#section7{
    margin-bottom: 5em;
}

.titre6{
    justify-content: center;
    text-align: center;
    margin-top: 10%;
}


#section7 > h2{
    text-align: center;
    justify-content: center;
}

#section8{
    text-align: center;
    justify-content: center;
    justify-items: center;
}
#section9{
    margin-top: 5%;
    margin-right: 4%;
    margin-left: 4%;
}


.graph11{
    justify-content: center;
    padding: 4.7%;
}

.espace{
    margin-bottom: 1em;
}

.text7{
    padding-left: 4.7%;

}

#profession{
    text-align: center;
    justify-content: center;
    justify-items: center;
    margin-top: 10%;
}

.metier{
    margin-top: -8%;
}

#section2 >p{
    margin-top: 5em;
margin-left: 4%;
    margin-right: 4%;
}

#chatcouche{
 position: relative;
    max-height: 400px;
    margin-bottom: -5%;
}

#showChart{
    margin-right: 20%;
    margin-top: 2em;
    background-color: #5d5555;
    border: 1px solid white;
}

.text10{
    margin-top: 10em;
    padding-right: 4.7%;
}

.moyenne1{
    color: #ffe140;

}

.moyenne2{
    color:#fff0ab;

}



footer >p {
    text-align: center;
    padding-top: 2.5em;
    color: black;
    font-size: 20px;
    padding-bottom: 0;
    font-weight: bold;
}
.fin{
    font-size: 14px;
    padding-bottom: 2.5em;
}

footer{
    background-image: url("../images/or.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
}



img {
    max-width: 100%;
    height: auto;
}

.top3, #revenu, .graph4, #chat, .satisfaction, #graph8, #profession {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}





@media (max-width: 768px) {
    .top3, #revenu, .graph4, #chat, .satisfaction, #graph8, #profession, #chatcouche {
        max-width: 100%;
   height: auto;
    }

    .titrefin{
        margin-left: 4%;
    }
    #chart {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    h1{
        font-size:xx-large;
    }
    p{
        margin-left: 2%;
        margin-right: 2%;
        font-size: medium;

    }


    #hamburger {
        cursor: pointer;
        margin: 4%;
        vertical-align: center;
    }
    #hamburger span {
        display: block;
        height: 4px;
        width: 25px;
        background-color: black;
        margin: 5px ;
        transition: 0.3s;
    }

#header nav ul {
        display: none;
        flex-direction: column;
        background-color:#F8E894 ;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 0;
        margin-top: 2%;
        margin-bottom: 2%;
    }

    #header nav ul li {
        text-align: center;
        padding: 10px 0;
    }

    #header nav ul li a {
        text-decoration: none;
        color: black;
    }



}

@media (max-width: 480px) {
    .top3, #revenu, .graph4, #chat, .satisfaction, #graph8, #profession, #chatcouche {
        max-width: 100%;
        height: auto;
    }


        h1{
            margin-top: 30%;
        }

    p{
        margin-left: 2%;
        margin-right: 2%;
        font-size: medium;

    }

    #header{
        display: grid;
        grid-template-columns: 1fr 2fr;
    }


}


#chat {
    max-height: 250px;
    width: auto;
}



#graph8 {
    display: flex;
    justify-content: center;
    align-items: center;
}








@media (max-width: 992px) {
    p{
        margin-left: 4%;
        margin-right: 4%;

    }
    .titrefin{
        margin-left: 4%;
    }

    #chart {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    h1{
        margin-top: 20%;
    }

    .top3, .satisfaction{
        display: block;
        margin-right: auto;
        margin-left: auto;
        justify-items: center;
        justify-content: center;
        text-align: center;
    }
.titre1{
    margin-left: 0;
}
h3{
    margin-left: 4%;
    margin-right: 4%;
}
    .text_top3{
        text-align: center;
        justify-content: center;
        margin-top: -20%;
    }

    #part1{
        margin-left: 4%;
        color: black;
    }

    .moyenne1{
        color: #ffe140;
        margin-left: 4%;
        margin-right: 4%;
    }

    .moyenne2{
        color:#fff0ab;
        margin-left: 4%;
        margin-right: 4%;
    }
    button{
        margin-left: 25%;
    }
    .large-text {
        display: none;
    }
    .small-text {
        display: block;
    }
    .text10{
        margin-top: 4%;
padding-right: 4.7%;
        margin-left: 4%;
        margin-right: 4%;
    }
    .text11{
        margin-left: 4%;
        justify-content: center;
        margin-right: 4%;

    }

    .text4{
        margin-top: 4%;
        margin-left: 4%;
        margin-bottom: 4%;
    }
    .text6{
        margin-top: 4%;
    }

    .graph11{
        justify-content: center;
        margin: 3%;
    }

}
