/*---------------------------------------*/
/*-------------- FONT FACE --------------*/
/*---------------------------------------*/

@font-face {
    font-family: 'Stag';
    src: url('../fonts/Stag-Light.otf') format('truetype');
}

@font-face {
    font-family: 'VAGRounded-Bold';
    src: url('../fonts/VAGRounded-Bold.otf') format('truetype');
}

@font-face {
    font-family: 'VAGRounded-Light';
    src: url('../fonts/VAGRounded-Thin.otf') format('truetype');
}

/* =================================================== */
/* ==================== GLOBALS ====================== */
/* =================================================== */

main {
    position: relative;
}
h1 {
    font-family: 'Stag', sans-serif;
    color: #000000;
    letter-spacing: 1.5px;
    padding-bottom: 50px;
    margin: 0;
}
h2 {
    text-align: center;
    font-family: 'VAGRounded-Bold', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 22px;
    margin: 0;
}
a {
    text-decoration: none;
}

/* =================================================== */
/* ==================== Z-INDEX ====================== */
/* =================================================== */

header {
    z-index: 102;
}
.scroll-link {
    z-index: 99;
}
.tendance-button {
    z-index: 98;
}
.off-canvas {
    z-index: 100 !important;
}

/* =================================================== */
/* ===================== HEADER ====================== */
/* =================================================== */

header {
    position: fixed;

    height: 70px;
    width: 100%;

    background-color: #007dff;
}
header>div {
    height: 100%;
}
header img {
    width: 125px;
}
.title-bar-title {
    padding-right: 5px;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 14px;
}

/* =================================================== */
/* ===================== MENU ======================== */
/* =================================================== */

#menu {
    position: fixed;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100%;
    width: 250px;

    padding: 0;
    margin: 0;

    background-color: rgb(51, 51, 51);
}
#menu li {
    list-style: none;
    width: 75%;
    text-align: left;
    color: #ffffff;
    line-height: 22px;
}
#menu li:before {
    content: '—';
}
#menu li:nth-of-type(2n) {
    margin: 10px 10px 0;
}
#menu li:nth-of-type(2n + 1) {
    margin: 0 10px 10px;
}
#menu li:nth-of-type(2n) a{
    padding: 9px 18px 0;
}
#menu li:nth-of-type(2n + 1) a{
    padding: 0 18px 9px;
}
#menu li a {
    color: #ffffff;
    font-family: 'VAGRounded-Light', sans-serif;
}
#menu li.active a {
    font-family: 'VAGRounded-Bold', sans-serif;
}
#menu li.active a,
#menu li.active::before {
    color: rgba(91, 171, 255, 1);
    transition: all 0.3s ease;
}
#menu li:nth-of-type(2n + 1):before,
#menu li:nth-of-type(2n + 1).active::before{
    color: transparent;
}
#menu li:first-of-type {
    visibility: hidden !important;
}
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    margin:0;
    color: white;
    font-size: 12px;
    z-index: 1000;
}
.copyright a {
    color: rgba(255, 255, 255, 0.8);
}
.copyright a:hover {
    color:white;
}

/* =================================================== */
/* ============== SECTION : INTRODUCTION ============= */
/* =================================================== */

.section:nth-of-type(1) {
    padding: 70px 20px 0;
}
.section:nth-of-type(1)>div {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.intro-button img {
    width: 100px;
}
.intro-button:first-of-type {
    margin-right: 20px;
}
.intro-button:last-of-type {
    margin-left: 20px;
}

@media screen and (min-width: 720px) {
    .intro-button img {
        width: 200px;
    }
    .intro-button:first-of-type {
        margin-right: 50px;
    }
    .intro-button:last-of-type {
        margin-left: 50px;
    }
}

/* =================================================== */
/* ================== SCROLL LINK ==================== */
/* =================================================== */

.scroll-link {
    position: fixed;
    visibility: hidden;
    height: 75px;
    width: 300px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-link a {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}
.scroll-link svg {
    fill: rgb(0, 125, 255);
}
.scroll-link p {
    color: #000000;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0;
    padding-bottom: 5px;
}
.scroll-link:hover p {
    color: rgba(0,0,0,0.6);
}

/* =================================================== */
/* ================ TENDANCE BUTTON ================== */
/* =================================================== */

.tendance-button {
    visibility: hidden;
    position: fixed;
    bottom: 30px;
    left: 30px;
}
.tendance-button button {
    background-color: rgb(0, 125, 255);
    border-radius: 20px;
    margin-bottom: 0;
}
.tendance-button button:hover {
    background-color: rgba(0, 125, 255, 0.8);
}
.tendance-button button:focus {
    background-color: rgb(0, 125, 255);
}

/* =================================================== */
/* ===================== REVEAL ====================== */
/* =================================================== */

.reveal h3 {
    text-align: center;
    font-family: 'VAGRounded-Bold', cursive;
    font-size: 30px;
    color: #5baaff;
    margin-bottom: 0;
}
.reveal h4 {
    text-align: center;
    font-family: 'VAGRounded-Bold', cursive;
    font-size: 26px;
    color: #5baaff;
    margin-bottom: 0.2rem;
}
.reveal h5 {
    font-family: 'VAGRounded-Bold', cursive;
    font-size: 18px;
    color: #5baaff;
}
.reveal p {
    font-family: 'VAGRounded-Light', cursive;
}
.progress-meter {
    background-color: #5baaff;
}

/* =================================================== */
/* ====================== SVG ======================== */
/* =================================================== */

.svg-container {
    display: flex;
    justify-content: center;
    height: 100%;
}
.svg-content{
    height: 100vh;
    max-width: none;
}
#fullpage section:nth-of-type(1),
#production-eau,
#distribution-eau,
#controle-eau,
#consommation-eau,
#collecte-eau,
#traitement-eau {
    visibility: hidden;
}
.compteur-light,
.compteur-strong,
.texte-strong {
    font-size: 54px;
}
#distribution-eau .compteur-light {
    font-size: 52px;
}
.texte-light {
    font-size: 14px;
}
.compteur-light,
.texte-light {
    font-family: 'VAGRounded-Light', cursive;
}
.compteur-strong,
.texte-strong {
    font-family: 'VAGRounded-Bold', cursive;
}
.line {
    fill: none;
    stroke: #5baaff;
    stroke-width: 15px;
}
.linegray {
    stroke: #a7b3ae;
}
.linegreen {
    stroke: #31b6bb;
}
.outil_line {
    stroke-width: 10px;
    stroke: #fff
}
.bleu {
    fill: #5baaff;
}
.gris {
    fill: #a7b3ae;
}
.vert {
    fill: #31b6bb;
}
.fire {
    fill: #e7e7e7;
}
.gray {
    fill: #e7e7e7;
}
.white {
    fill: #ffffff;
}

@media screen and (max-width: 736px) {
    .texte-light {
        font-size: 18px;
    }
}



