header{
    position: fixed;
    width:100%;
    z-index:10;
}

nav{
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    background: #072440;
    height : 50px;
    align-items : center;
    z-index:10;
}

nav a{
    text-decoration: none;
    color : white;
}

nav select{
    background: #072440;
    color:white;
    border:none;
}

nav a:hover{
    border-bottom: lightblue 5px solid;
    transition : border-bottom 0.2s;
}

nav img{
    height:40px;
}

body, h1, h2, h3, h4, h5, h6, p, li, a, select, nav, .section {
    font-family: Arial, 'Verdana Bold', sans-serif;
}

body{
    margin: 0;  
    --back: #f5f5f5;
    --background: #a5a7d6;
    background-color: var(--back);
}

.chart-container {
    width: 600px;
    height: 450px;
}

.chart {
    position: relative;
    width: 400px;
    height: 400px;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-top:20px;
}

.y-axis {
    position: absolute;
    top: 75px;
    bottom: 40px;
    left: 0;
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.y-tick {
    text-align: right;
    font-size: 12px;
    padding-right: 5px;
    font-weight: bold;
    color: #999;
}

.x-axis {
    position: absolute;
    bottom: 5px;
    left: 70px;
    right: 40px;
    height: 20px;
    display: flex;
    justify-content: space-between;
}

.x-tick {
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    color: #999;
}
.graph-texte-container {
    box-shadow: 7px 7px 15px grey;
}


/* camembert */
.title-camembert_camembert_et_texte {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin: 40px auto;
}

#camembert {
    background: #fff; 
    padding: 24px 16px;
    border-radius: 10px;
    box-shadow: 7px 7px 15px grey;
    min-width: 260px;
    max-width: 340px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-camembert {
    flex: 1 1 0;
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: 7px 7px 15px grey;
    padding: 32px 24px;
    min-width: 280px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#camembert h4 { 
    text-align:center; 
    background:#f1f1f1; 
    padding:20px; 
    margin:0; 
    border-bottom:1px solid #dedede;
}

#camembert svg { 
    display:block; 
    margin:0 auto; 
    padding:30px; 
}

#camembert path:hover { 
    opacity:0.8; 
    cursor:pointer; 
}

#camembert ul { 
    border-top:1px solid #dedede; 
    padding:20px; 
}

#camembert ul li { 
    list-style:none; 
    margin:5px 0;
}

#camembert span { 
    display:inline-block; 
    width:30px; 
    height:20px; 
    margin-right:10px; 
    border:1px solid #dedede; 
}




/* Liste des couleurs de la légende */
#camembert #vert {background: #27AE60;}
#camembert #bleu {background: #3498DB;}
#camembert #jaune {background: #FFC300;}
#camembert #rouge {background: #FF5733;}
#camembert #rose {background: #fe0098;}




.top{
    height : 50px;
}

/* conteneur graphique + texte */
.graph-texte-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap:30px;

    
    background-color: var(--background);
    width:100%;
    height:100%;
    border-radius:5px;
}





/* conteneur camembert + texte */
.title-camembert_camembert_et_texte{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}





/* texte camembert */
.text-camembert{
    text-align: center;

    background-color: var(--background);
    width:100%;
    height:100%;
    border-radius:5px;
}






/* Texte en bas de camembert */
.text-en-dessous-camembert{
    display:flex;
    text-align: center;
    justify-content: center;
    gap: 50px;

    background-color: var(--background);
    width:100%;
    height:100%;
    border-radius:5px;
    box-shadow: 7px 7px 15px grey;
}

.text-en-dessous-camembert h1{
    margin-bottom: 50px;
}



/* Texte milieu */
.text-milieu-1-2{
    display:flex;
    text-align: center;
    justify-content: center;
    gap: 50px;
}

.text-milieu2 h2{
    display:flex;
    text-align: center;
    justify-content: center;
    gap: 50px;
}

.text-milieu2 p{
    display:flex;
    text-align: center;
    justify-content: center;
    gap: 50px;
}

.text-milieu{
    background-color: var(--background);
    width:100%;
    height:100%;
    border-radius:5px;
    box-shadow: 7px 7px 15px grey;
}

/*Conclusion*/
.conclusion-eco{
    text-align: center;

    background-color: var(--background);
    width:100%;
    height:100%;
    border-radius:5px;
    box-shadow: 7px 7px 15px grey;
}


 footer{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    background: #0b4470;
    color: white;
    align-items : center;
    gap:15px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.25);

 }

footer > .section > a{
    display: inline-flex;
    align-items: center;
}
