/* Colors */
:root {
    --d-blue: #54b8b2;
    --d-green: #b0d131;
    --d-orange: #f3783b;
    --d-dark-blue: #2595ae;
    --d-light-blue: #c7e7e6;
}

/* fonts */
@font-face {
    font-family: 'kanoregular';
    src: url('/graphics/fonts/kano-webfont.eot');
    src: url('/graphics/fonts/kano-webfont.eot?#iefix') format('embedded-opentype'),
         url('/graphics/fonts/kano-webfont.woff2') format('woff2'),
         url('/graphics/fonts/kano-webfont.woff') format('woff'),
         url('/graphics/fonts/kano-webfont.ttf') format('truetype'),
         url('/graphics/fonts/kano-webfont.svg#kanoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'arial_novalight';
    src: url('/graphics/fonts/arial-nova-light-webfont.eot');
    src: url('/graphics/fonts/arial-nova-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('/graphics/fonts/arial-nova-light-webfont.woff2') format('woff2'),
         url('/graphics/fonts/arial-nova-light-webfont.woff') format('woff'),
         url('/graphics/fonts/arial-nova-light-webfont.ttf') format('truetype'),
         url('/graphics/fonts/arial-nova-light-webfont.svg#arial_novalight') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Main */
body {
    font-family: arial_novalight, Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1 {
    font-size: 1.9rem;
}
h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
li {
    font-size: 1.2rem;
}
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* HEADER */
.main-header {
    background-color: var(--d-blue);
    color: #ffffff;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    transition: all .3s ease;
}
.main-header.scroll {
    box-shadow: 2px 6px 10px 2px #0000003d;
    background-color: #ffffff;
    color: var(--d-blue);
}

nav.nav-bar {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    padding: 2rem;
    transition: all .3s ease;
}
nav.nav-bar.scroll {
    padding: 0 2rem 0;
    min-height: 4rem;
}
nav ul {
    display: flex;
    /* flex: 1 1 40rem; */
    justify-content: space-around;
    align-items: center;
    list-style: none;
    width: 20rem;
}

#logo-txt {
    font-family: kanoregular;
    /* flex: 2 1 40rem; */
    text-transform: lowercase;
}
#logo-img {
    width: 3.5rem;
    /* width: 8vh; */
    opacity: 0;
    transition: all .3s ease;
}
.main-header.scroll #logo-img {
    opacity: 1;
}


#main-content {
    padding: 120px 20px 50px;
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}
#main-content a {
    color: var(--d-orange);
    text-decoration: underline;
    font-weight: bold;
}
#main-content p {
    margin-bottom: 1rem;
    line-height: 1.5;
}
.main-footer {
    background-color: var(--d-blue);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}
span.diversatile {
    font-family: kanoregular;
    font-weight: bold;
    color: var(--d-dark-blue, #2595ae);
    font-size: 100%;
}

/* --- Styles pour les listes du contenu principal --- */

/* On aère la liste et on retire les puces par défaut */
#main-content ul {
    margin-top: 15px;      /* Espace au-dessus de la liste */
    margin-bottom: 30px;   /* Espace en-dessous */
    list-style-type: none; /* Retire les gros points noirs moches */
    padding-left: 10px;    /* Décalage global vers la droite */
}

/* Correction de la taille du texte et espace entre les éléments */
#main-content li {
    font-size: 1rem;       /* Ramène la taille à celle d'un paragraphe normal */
    margin-bottom: 12px;   /* Espace entre chaque jeu */
    padding-left: 25px;    /* Laisse de la place pour dessiner notre propre puce */
    position: relative;    /* Nécessaire pour placer la puce personnalisée */
}

/* Puce aux couleurs du site */
#main-content li::before {
    content: "✔";              /* Symbole de la puce */
    color: var(--d-dark-blue); /* Couleur de la puce */
    position: absolute;        /* Positionnement indépendant du texte */
    left: 0;
    top: 2px;                  /* Ajustement vertical pour l'aligner avec le texte */
    font-size: 0.9rem;
}