    * {
        font-family: 'Roboto', sans-serif;
    }
    
    html,
    body {
        width: 100%;
        height: 100%;
        background-color: #000;
        padding: 0;
        margin: 0;
        position: relative;
    }
    
    html {
        font-size: 62.5%;
        background: white url("../img/fond.png") repeat;
        padding-bottom: 40px;
        max-width: 400px;
    }
    
    body {
        height: auto;
        padding: 0;
        margin: 0;
        background: white url("../img/fond.png") repeat;
        background max-width: 1020px margin-bottom: 40px;
    }
    
    .titre1 {
        font-size: 2.4rem;
        text-align: center;
        padding: 20px 10px 10px 10px;
        font-weight: bold;
    }
    
    .titre2 {
        font-size: 1.8rem;
        text-align: center;
        padding: 10px 10px 0px 10px;
    }
    
    .titre3 {
        font-size: 1.4rem;
        text-align: center;
        padding: 5px 10px 20px 10px;
        margin: 0 33% 10px 33%;
        border-bottom: 2px solid black;
    }
    
    .hidden {
        display: none;
    }
    
    .unchecked {
        color: #a00;
    }
    
    .checked {
        color: rgb(62, 178, 157);
    }
    
    strong {
        font-weight: bold;
    }
    
    .fullWidth {
        width: 100% !important;
    }
    
    .error {
        background-color: #ae2114 !important;
        transition: 1s;
    }
    
    .error:hover {
        background-color: #851809 !important;
        transition: 1s;
    }
    
    .fullWidth {
        width: 100% !important;
    }
    
    .borderNone {
        border: none !important;
    }
    
    .alert {
        position: fixed;
        margin: auto;
        top: -500px;
        left: 0.5em;
        right: auto;
        bottom: auto;
        width: 400px;
        min-height: 20px;
        background-color: green;
        padding: 0.5em;
        color: #fff;
        z-index: 200;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
        transition: 1s;
    }
    
    .alert i {
        position: absolute;
        margin: auto;
        left: auto;
        top: 0.5em;
        right: 0.5em;
        bottom: auto;
        height: 10px;
        width: 10px;
        font-size: 20px;
        color: #fff;
        cursor: pointer;
    }
    
    .alert p {
        margin: 0;
    }
    
    .overflowScrolled {
        overflow: scroll;
        overflow-x: hidden;
    }
    
    .tableauRecap {
        max-height: 400px;
    }
    
    .tableauRecap table {
        width: 90%;
    }
    
    .accordeon {
        overflow: hidden;
        display: none;
    }
    /* Animations */
    
    @-webkit-keyframes hvr-ripple-out {
        100% {
            top: -12px;
            right: -12px;
            bottom: -12px;
            left: -12px;
            opacity: 0;
        }
    }
    
    @keyframes hvr-ripple-out {
        100% {
            top: -12px;
            right: -12px;
            bottom: -12px;
            left: -12px;
            opacity: 0;
        }
    }
    /* MAIN CONNEXION */
    
    main.connexion section.connexion {
        width: 320px;
        max-width: 400px;
        height: 100%;
        margin: auto;
        padding: 0px 50px;
        box-sizing: border-box;
        position: relative;
    }
    
    main.connexion section.connexion img {
        width: 200px;
        margin: 0 auto;
        display: block;
        margin-bottom: 1em;
    }
    
    main.connexion section.connexion h2 {
        text-transform: uppercase;
        color: #a00;
        text-align: center;
        width: 100%;
        font-size: 1.45em;
        margin-bottom: 2em;
    }
    
    main.connexion section.connexion h1 {
        margin-top: 0;
    }
    
    main.connexion section.connexion h2:after {
        content: '';
        border: none;
    }
    
    main.connexion section.connexion label {
        margin: 0 auto;
        display: block;
        font-size: 1.8em;
        line-height: 1.8em;
        color: #334D5C;
        margin-bottom: 10px;
    }
    
    main.connexion section.connexion label input {
        display: block;
        border: none;
        padding: 0.5em;
        transition: 1s;
        background-color: #fff;
        width: 220px;
        box-sizing: border-box;
    }
    
    main.connexion section.connexion label input:hover,
    main.connexion section.connexion label input:focus,
    main.connexion section.connexion label input:active {
        border: solid 1px #334D5C;
        transition: 1s;
        background-color: #fff;
    }
    
    body.administration button {
        border: none;
        color: #fff;
        background-color: #334D5C;
        border: solid 1px #334D5C;
        transition: 0.5s;
        text-decoration: none;
        cursor: pointer;
        width: 100%;
        padding: 0.5em;
        font-weight: bold;
        margin-top: 10px;
        transform: translateZ(0);
        box-shadow: 0 0 1px #334D5C;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        position: relative;
    }
    
    body.administration button:hover {
        background-color: rgb(31, 57, 72);
        border-color: rgb(31, 57, 72);
    }
    
    body.administration button:before {
        content: '';
        position: absolute;
        border: #334D5C solid 3px;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
    }
    
    body.administration button:hover:before {
        border-color: rgb(31, 57, 72);
    }
    
    body.administration button:focus:before,
    body.administration button:active:before {
        -webkit-animation-name: hvr-ripple-out;
        animation-name: hvr-ripple-out;
    }
    /* Section Animaux */
    
    .bloc {
        width: 320px;
        max-width: 400px;
        padding: 15px 10px 10px 10px;
        margin: 0 auto;
        box-sizing: border-box;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.2rem;
        line-height: 140%;
        text-align: left;
        display: none;
    }
    
    .orange {
        border: 1px black solid;
        background-color: #e69a28;
        width: 100%;
        height: 4px
    }
    
    .monstre {
        background-color: #fdf1dc;
        padding: 10px 10px 5px 10px;
        margin: 0 0px 0 2px
    }
    
    .bloc table {
        margin: 8px 0 0 0;
        padding: 0;
    }
    
    .bloc table th {
        font-weight: bold;
        font-size: 1.0rem;
        vertical-align: bottom;
        border-bottom: 1px solid black
    }
    
    .bloc table td {
        min-width: 25px;
        font-size: 1.0rem;
    }
    
    .sansSerif {
        font-family: arial, sans-serif;
    }
    
    .nom {
        padding: 0;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #6D0000;
        font-size: 1.6rem;
        font-weight: bold;
    }
    
    .nom:first-letter {
        font-size: 2.4rem;
    }
    
    .trad {
        float: right;
        margin: 2px 0 1px 0;
        font-family: verdana, arial, sans-serif;
    }
    
    .tradFix {
        float: none;
        margin: 4px 0 0 8px;
        font-family: verdana, arial, sans-serif;
    }
    
    .bloc a:link,
    .bloc a:visited,
    .bloc a:hover {
        text-decoration: none;
        color: #B30303;
    }
    
    .trad a:link,
    .trad a:hover,
    .trad a:visited {
        text-decoration: underline;
        color: #B30303;
        font-weight: normal;
    }
    
    .niveau {
        padding: 2px 0 8px 0;
    }
    
    .type {
        padding: 2px 0 2px 0;
    }
    
    .carac {
        display: inline-block;
        padding: 12px;
        text-align: center;
        width: 50px;
        vertical-align: top;
    }
    
    .description {
        padding: 8px 0 8px 0;
        text-align: justify;
    }
    
    .red {
        color: #6D0000;
    }
    
    .rub {
        color: #6D0000;
        margin: 10px 0 5px 0;
        border-bottom: 1px solid #B30303;
        font-size: 1.4rem;
        text-transform: uppercase;
        font-weight: bold;
    }
    
    .rub:first-letter {
        font-size: 1.6rem;
    }
    
    .source {
        padding: 0;
        text-align: left;
        letter-spacing: -1px;
        font-family: verdana, arial, sans-serif;
        font-size: 1.0rem;
    }
    
    p {
        padding: 0;
        margin: 9px 0 9px 0;
    }
    
    .center {
        text-align: center;
    }
    
    .petit {
        font-size: 1.1rem;
    }
    
    .trespetit {
        font-size: 1.0rem;
    }
    /* monstres */
    
    table.carac {
        margin: 0
    }
    
    table.carac td {
        padding: 0 15px 0 0;
        font-size: 1.2rem;
    }
    
    img.picture {
        max-width: 95%;
        border: 4px solid #888;
        text-align: center;
    }
    
    div svg {
        width: 100%;
        height: 5px;
    }
    
    div .variant {
        background-color: #DBE2C2;
        border-top: 4px solid #404040;
        border-bottom: 4px solid #404040;
        padding: 10px;
        margin: 6px 0 0 0;
    }
    
    .colG {
        display: inline-block;
        width: 48.5%;
        margin: 8px 0% 0 1.5%;
        vertical-align: top;
    }
    
    .colD {
        display: inline-block;
        width: 48.5%;
        margin: 8px 1.5% 0 0%;
        vertical-align: top;
    }
    
    .colG .bloc {
        width: 100%;
    }
    
    .colD .bloc {
        width: 100%;
    }
    
    .niveauSort {
        width: 50%;
        font-size: 1.8rem;
        font-weight: bold;
        text-align: center;
        background-color: white;
        color: black;
        border: 3px solid black;
        padding: 5px;
        margin: 1% 25% 0 25%;
    }
    
    div.monstre p {
        margin: 5px 0 5px 0;
    }
    
    .petit {
        line-height: 120%;
    }
    
    .trespetit {
        line-height: 115%;
    }
    /* poisons */
    
    img.poison {
        float: right;
        border: 0px;
        margin: 0 0 5px 10px
    }
    /* rencontres */
    
    .erreur {
        font-weight: bold;
        color: red;
    }
    
    .gras {
        font-weight: bold;
    }
    
    .gris {
        background-color: #333333;
        color: #BBBBBB;
    }
    
    .blanc {
        background-color: #FFFFFF;
        color: #000000;
        font-weight: bold;
    }
    
    li.titre {
        font-size: 1.2em;
    }
    
    table.rencontre td {
        font-size: 1.2rem;
    }
    
    table.resultat {
        border: 1px solid black;
        border-collapse: separate;
        border-spacing: 0;
    }
    
    table.resultat td {
        font-size: 1.2rem;
        width: 80px;
        text-align: center;
        padding: 6px;
    }
    /* generateur */
    
    .bloc input {
        font-size: 18px;
        padding: 4px;
    }
    
    .bloc input.grise {
        color: #888
    }
    
    .bloc input:focus {
        color: #000
    }
    
    .bloc .output {
        font-size: 42px;
        line-height: 1.2;
        padding: 10px;
    }
    
    .bloc select {
        font-size: 14px;
        padding: 4px;
    }
    /* header */
    
    header {
        width: 320px;
        max-width: 400px;
        padding: 0.5em 1em;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    header ul {
        padding: 15px 15px;
        background-color: #922610;
    }
    
    header ul li {
        display: inline-block;
        width: 100%;
    }
    
    #pseudo {
        width: 100px;
    }
    
    #level {
        width: 100px;
        text-align: center;
    }
    
    #level input {
        width: 40px;
        background-color: #922610;
        color: #fff;
        font-size: 2em;
        border-bottom: dotted 1px #fff;
    }
    
    #deconnection {
        width: 50px;
        font-size: 3em;
        line-height: 1.5em;
        color: #fff;
        text-align: right;
        float: right;
        cursor: pointer;
        position: relative;
        top: -5px;
    }
    
    header ul li input {
        width: 30px;
        margin-left: 5px;
    }
    
    header ul li span {
        font-size: 20px;
        line-height: 20px;
        color: #fff;
        font-weight: bold;
        display: inline-block;
        height: 30px;
    }
    
    header ul li input,
    header ul li select,
    header ul li span {
        height: 30px;
        display: inline-block;
    }
    
    header ul li input,
    header ul li select {
        height: 30px;
        border: 0;
        border-radius: 0;
        text-align: center;
        display: inline-block;
    }
    
    header ul li input#level {
        margin-right: 10px;
        background-color: #922610;
        border-bottom: dotted 1px #fff;
        color: #fff;
        font-weight: bold;
        font-size: 20px;
        display: inline-block;
    }
    
    header ul li select#selectionAnimal {
        padding: 5px;
        background-color: #fff;
        width: 270px;
        text-align: left;
        margin: 0 auto;
        display: block;
    }
    
    header.navigationPrincipale {
        padding-bottom: 0;
    }
    
    header nav ul {
        background: none;
        padding: 0;
        margin-bottom: 0;
    }
    
    header nav ul li {
        width: 50px;
        height: 50px;
        margin: 0;
        margin-right: 10px;
    }
    
    header nav ul li a {
        background-size: 40px 40px;
        background-position: center;
        background-repeat: no-repeat;
        height: 100%;
        background-color: #922610;
        border: 0;
        margin: 0 auto;
        display: block;
        cursor: pointer;
        padding: 5px;
        box-sizing: border-box;
    }
    
    header nav ul li a.active {
        background-color: #C92B0B;
    }
    
    .navigationPrincipale nav ul li:nth-child(5) {
        margin-right: 0;
    }
    
    #animaux {
        background-image: url('../img/animaux.png');
    }
    
    #sorts {
        background-image: url('../img/sorts.png');
    }
    
    #caracteristiques {
        background-image: url('../img/caracteristiques.png');
    }
    
    #equipement {
        background-image: url('../img/equipements.png');
    }
    
    #personnage {
        background-image: url('../img/personnage.png');
    }
    /* gestion des sections */
    
    section.active {
        left: 0;
    }
    
    section {
        position: absolute;
        left: -200%;
        top: 0;
        width: 100%;
        transition: 0.5s ease-in-out;
        padding-bottom: 100px;
    }
    
    section.home {
        z-index: 10;
        padding-bottom: 0px;
    }
    
    .page {
        padding-top: 160px;
    }
    /* page animaux */
    
    section.animaux header {
        padding-top: 0;
    }
    
    section.animaux header ul {
        margin-top: 0;
    }
    
    header .formesSauvages ul {
        background: rgba(0, 0, 0, 0);
        padding: 0;
    }
    
    .formesSauvages p {
        margin: 0;
    }
    
    .formesSauvages li.titre span {
        color: #000;
        height: auto;
        font-size: 1em;
    }
    
    .formesSauvages li:not(.titre) {
        display: inline-block;
        width: 30px;
        margin: 1px;
    }
    
    .formesSauvages li input {
        position: absolute;
        left: -9999px
    }
    
    .formesSauvages li input+label {
        width: 30px;
        height: 30px;
        background-color: #922610;
        display: block;
        cursor: pointer;
        position: relative;
    }
    
    section.animaux li input:disabled+label {
        background-color: rgba(146, 38, 16, 0.5);
    }
    
    section.animaux li input:checked+label:after {
        content: 'X';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        color: red;
        width: 30px;
        height: 30px;
        display: block;
        text-align: center;
        font-size: 2.4em;
        line-height: 0.9em;
        background-color: white;
        border: 5px solid #922610;
        box-sizing: border-box;
        font-weight: bold;
    }
    /* page caracteristiques */
    
    section.caracteristiques .bonusMaitrise {
        width: 320px;
        max-width: 400px;
        padding: 0 1em 0.5em 1em;
        margin: 0 auto 0px auto;
        box-sizing: border-box;
    }
    
    section.caracteristiques .bonusMaitrise p {
        color: #fff;
        margin: 0;
    }
    
    section.caracteristiques .bonusMaitrise p label {
        font-weight: bold;
        font-size: 1.5em;
        background-color: #922610;
        padding: 0.5em 1em;
    }
    
    section.caracteristiques .bonusMaitrise p input {
        text-align: center;
        background-color: #922610;
        border: none;
        color: #fff;
        font-weight: bold;
        font-size: 1.5em;
        width: 38px;
        padding: 0.5em 0.5em;
        margin-left: 5px;
    }
    
    section.caracteristiques ul {
        width: 320px;
        max-width: 400px;
        padding: 0.5em 1em;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    section.caracteristiques ul li {
        width: 97px;
        display: inline-block;
        list-style: none;
        text-align: center;
        background-color: #fff;
        border: solid 1px #922610;
        box-sizing: border-box;
        margin-bottom: 4px;
        vertical-align: top;
    }
    
    section.caracteristiques ul li h2 {
        background-color: #922610;
        color: #fff;
        margin: 0;
        padding: 0.5em;
    }
    
    section.caracteristiques ul li p.modificateur {
        text-align: center;
        height: 50px;
        font-size: 3em;
        line-height: 2em;
        width: 100%;
        background: rgba(0, 0, 0, 0);
        border: 0;
        box-sizing: border-box;
    }
    
    section.caracteristiques ul li input.valeur {
        text-align: center;
        font-size: 1.5em;
        line-height: 2em;
        height: 30px;
        width: 100%;
        border: 0;
        border-top: solid 1px #922610;
        border-radius: 50% 50% 0 0;
        background: rgba(0, 0, 0, 0);
        box-sizing: border-box;
    }
    
    section.caracteristiques ul li:nth-of-type(1),
    section.caracteristiques ul li:nth-of-type(2),
    section.caracteristiques ul li:nth-of-type(4),
    section.caracteristiques ul li:nth-of-type(5) {
        margin-right: 1px;
    }
    
    section.caracteristiques ul li:nth-of-type(2),
    section.caracteristiques ul li:nth-of-type(3),
    section.caracteristiques ul li:nth-of-type(5),
    section.caracteristiques ul li:nth-of-type(6) {
        margin-left: 1px;
    }
    /* section sorts */
    
    .sortsDisponibles li {
        list-style-type: none;
    }
    
    .sortsDisponibles>ul {
        width: 300px;
        padding-left: 0;
        margin: 0 auto;
    }
    
    .sortsDisponibles>ul>li {
        width: 140px;
        padding-left: 0;
        display: inline-block;
    }
    
    .sortsDisponibles ul[data-sortsdeNiveau] {
        width: 140px;
        padding-left: 0;
        display: inline-block;
    }
    
    .sortsDisponibles ul[data-sortsdeNiveau] li:not(.titre) {
        display: inline-block;
        margin: 1px;
    }
    
    .sortsDisponibles li input {
        position: absolute;
        left: -9999px
    }
    
    .sortsDisponibles li input+label {
        width: 30px;
        height: 30px;
        background-color: #922610;
        display: block;
        cursor: pointer;
        position: relative;
    }
    
    .sortsDisponibles li input:disabled+label {
        background-color: rgba(146, 38, 16, 0.5);
    }
    
    .sortsDisponibles li input:checked+label:after {
        content: 'X';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        color: red;
        width: 30px;
        height: 30px;
        display: block;
        text-align: center;
        font-size: 2.4em;
        line-height: 0.9em;
        background-color: white;
        border: 5px solid #922610;
        box-sizing: border-box;
        font-weight: bold;
    }
    
    .sortsChoisis ul {
        padding: 0;
    }
    
    .sortsChoisis ul li {
        width: 300px;
        max-width: 400px;
        padding: 0.5em 1em;
        margin: 0 auto;
        box-sizing: border-box;
        background-color: #922610;
        color: #fff;
        list-style-type: none;
        font-size: 1.8em;
        position: relative;
        margin-bottom: 10px;
    }
    
    .sortsChoisis ul li i {
        position: absolute;
        right: 0.5em;
        font-size: 20px;
    }
    
    .sortsChoisis ul li i:hover {
        color: red;
    }
    
    #selectionSorts {
        text-align: left;
    }
    
    #affichageSort .bloc {
        width: 300px;
        display: block;
        background-color: #fdf1dc;
        position: relative;
    }
    
    #affichageSort .bloc .fa-plus {
        position: absolute;
        right: 0.5em;
        top: 0.5em;
        font-size: 20px;
    }
    
    #affichageSort .bloc .fa-plus:hover {
        color: green;
    }
    /* Page Personnage */
    
    section.personnage div.specialisation {
        width: 300px;
        padding-left: 0;
        margin: 0 auto;
        background-color: #FDF1DC;
    }
    
    section.personnage div.specialisation>h2 {
        width: 300px;
        box-sizing: border-box;
        background-color: #922610;
        color: #fff;
        font-size: 1.5em;
    }
    
    section.personnage div.specialisation div>h2 {
        margin: 0;
    }
    
    section.personnage div.specialisation>* {
        padding: 0.5em;
        font-size: 1.2rem;
        line-height: 140%;
        text-align: left;
    }
    /* responsive */
    
    @media screen and (min-width: 400px) {
        body {
            width: 400px;
        }
    }