
/* -------------------------------------------------------- */
/* ----------------------- BODY --------------------------- */
/* -------------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
    font-family: Delius;
    background: #001111;
}

/* -------------------------------------------------------- */
/* --------------------- POLICES -------------------------- */
/* -------------------------------------------------------- */

@font-face {
    font-family : "Delius";

    src : url('Polices/Delius.eot?') format('eot'),
          url('Polices/Delius.woff') format('woff'),
          url('Polices/Delius.svg#abcd') format('svg'),
          url('Polices/Delius.ttf') format('truetype');
}

@font-face {
    font-family : "spionic";

    src : url('Polices/spionic.eot?') format('eot'),
          url('Polices/spionic.woff') format('woff'),
          url('Polices/spionic.svg#abcd') format('svg'),
          url('Polices/spionic.ttf') format('truetype');
}

@font-face {
    font-family : "ApiTele3";

    src : url('Polices/ApiTele3.eot?') format('eot'),
          url('Polices/ApiTele3.woff') format('woff'),
          url('Polices/ApiTele3.svg#abcd') format('svg'),
          url('Polices/ApiTele3.ttf') format('truetype');
}

.spionic {font-family: "spionic";}

.italic {font-style: italic;}

.souligne {text-decoration: underline;}

.couleur {color: #A9FFF4;}

.gras {font-weight: bold;}

.exposant {
    font-size: .83em;
    line-height: 0.5em;
    vertical-align: baseline;
    position: relative;
    top: -0.3em;
}

.surligne {color: #A9FFF4; padding: 5px;}

.centrage {text-align: center;}

.apitele3 {font-family: "ApiTele3";}

.titre {font-weight: bold; color: #A9FFF4; font-size: 28px;}


/* -------------------------------------------------------- */
/* --------- BLOCS VERTICAUX - HAUT & MILIEU -------------- */
/* -------------------------------------------------------- */

/* Haut */

#haut {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 6px;
    padding-bottom: 0;
    background-color: #006666;
    border-top: solid 4px #A9FFF4;
    border-bottom: solid 4px #A9FFF4;
    box-shadow: 0px 0px 0px 6px rgba(0,17,17,0.8);
    font-size: 2.5vw;
    color: #A9FFF4;
}

#haut > div a,
#haut > div a:focus,
#haut > div a:active,
#haut > div a:visited {
    color: #20b2aa;
    text-decoration: none;
}

#haut > div a:hover {
    color: #A9FFF4;
    text-decoration: none;
}

#haut div:nth-child(odd) {
    flex-grow: 1;
    text-align: center;
}

#haut div:nth-child(even) {
    flex-grow: 12;
    text-align: center;
}

/* Milieu */

#milieu {
    display: flex;
    margin-top: 100px;
    min-height: 50px;
    margin-bottom: 55px;
    background-color: #001111;
}


/* -------------------------------------------------------- */
/* ------ BLOCS HORIZONTAUX - GAUCHE, CENTRE, DROITE ------ */
/* -------------------------------------------------------- */

#gauche, #droite {
    flex: 6%;
}

#centre {
    flex: 88%;
    display: flex;
    flex-wrap: wrap;
    text-align: justify;
    font-size: 28px;
    color: #009999;
    max-width: 1280px;
}

p {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}


/* -------------------------------------------------------- */
/* ----------------------- BOUTONS ------------------------ */
/* -------------------------------------------------------- */

.bouton a {
    text-align: center;
     color: #009999;
     padding: 2px 6px;
     background: transparent;
     border-radius: 4px;
     text-decoration: none;
     border: 1px solid #009999;
     line-height: 2em ;

}

.bouton a:hover,
.bouton a:focus {
    font-weight: bold;
    color: #003333;
    text-decoration: none;
    background: #A9FFF4;
    border: 1px solid #003333;
}


/* -------------------------------------------------------- */
/* -------------------- MEDIA QUERIES --------------------- */
/* -------------------------------------------------------- */


@media screen and (max-width: 1280px) {

    #haut {
        font-size: 2.75vw;
    }

    #gauche, #droite {
        flex: 6vw;
    }

    #centre {
        font-size: 2.25vw;
    }
}


@media screen and (max-width: 1152px) {

    #milieu {
        margin-top: 90px;
    }

    #haut {
        font-size: 3vw;
    }

    #gauche, #droite {
        flex: 6vw;
    }

    #centre {
        font-size: 2.25vw;
    }
}


@media screen and (max-width: 1024px) {

    #milieu {
        margin-top: 80px;
    }

    #haut {
        font-size: 3vw;
    }

    #gauche, #droite {
        flex: 4vw;
    }

    #centre {
        font-size: 26px;
    }
}


@media screen and (max-width: 912px) {

    #milieu {
        margin-top: 80px;
    }

    #haut {
        font-size: 3.5vw;
    }

    #gauche, #droite {
        flex: 4vw;
    }

    #centre {
        font-size: 24px;
    }
}


@media screen and (max-width: 800px) {


    #milieu {
        margin-top: 80px;
    }

    #haut {
        font-size: 3.8vw;
    }

    #gauche, #droite {
        flex: 4vw;
    }

    #centre {
        font-size: 22px;
    }
}

@media screen and (max-width: 667px) {


    #milieu {
        margin-top: 60px;
    }

    #haut {
        font-size: 3.5vw;
    }

    #centre {
        font-size: 18px;
    }
}


@media screen and (max-width: 380px) {

    #milieu {
        margin-top: 30px;
    }

    #haut {
        font-size: 6vw;
    }

    #centre {
        font-size: 12px;
    }
}
