body{
    margin: 0;
    padding: 0;
    font-family: "Skranji", system-ui;
    /* font-family: "Cormorant Unicase", serif; */
    background-color: #0E0E0E;
}

/* COULEUR BORDURES :        4A3523 */
/* COULEUR FOND BOUTTON :    1A1715 */
/* COULEUR TITRE :           DCAF60 */
/* COULEUR TEXTE :           EFE8D8 */
/* COULEUR FOND PAGES :      101010 */

p{
    margin: 0;
    color: #EFE8D8;
    font-weight: 100;
}

.container-login{
    display:flex; 
    height: 100vh; 
    justify-content: center; 
    align-items:center;
    font-family: "Cormorant Unicase", serif;
    font-weight: 700;
}

.login-form{
    display:flex; 
    flex-direction: column; 
    align-items:center;
    width: 500px;
    border: 2px solid #4A3523;
    border-radius: 7px;
    padding: 40px;
}

.login-form img{
    width: 250px;
}

.login-form input{
    width: 100%;
    background-color: #161616;
    font-family: "Cormorant Unicase", serif;
    padding: 10px;
    border-radius: 7px;
    border: 1px solid #4A3523;
    color: white;
    margin-bottom: 20px;
    font-size: 1.1em;

}

#submit{
    background: linear-gradient(#755828, #684C20);
    font-size: 1.2em;
    cursor:pointer;
}

.login-form a{
    text-decoration: none;
    color: #DCAF60;
}

.login-form a:hover{
    text-decoration: underline;
}


.login-form label{
    text-align: start;
    width: 100%;
    color: #EFE8D8;
    font-weight: 700;
}


.choose-character{
    font-family: "Cormorant Unicase", serif;
}

.liste-choose-chara{
    display: grid;
    grid-template-columns: 300px 300px 300px 300px;
    gap: 20px;
}

.chara-item-choose{
    background-color: #161616;
    border: 2px solid #4A3523;
    border-radius: 7px;
}

.chara-item-choose p{
    font-weight: 600;
}

.main_img_choose_chara{
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    width: 100%;
}

.infos_choose_chara{
    display:flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 20px 20px;
}

.create-chara{
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    font-size: 1.3em;
    font-weight: 800;
    width: 1260px;
    border-radius: 7px;
    border: 2px solid #231F1A;
    margin-top: 10px;
    cursor:pointer;
}

.create-chara:hover{
    background-color: #161616;
}

.boutton_joueur_choose{
    width: 100%;
    padding: 10px;
    background: linear-gradient(#755828, #684C20);
    font-size: 1.2em;
    cursor:pointer;
    text-align: center;
    border-radius: 7px;
}

.header{
    display:flex;
    align-items: center;
}

.logo_header{
    height: 90px;
}

.stats_personnage{
    border: 1px solid #4A3523;
    width: 100%;
    display:grid;
    height: 86px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.center{
    display:flex;
    align-items: start;
}

.gauche_menu{
    min-width: 245px!important;
    padding: 5px;
}

.centre_centre{
    display:flex;
    flex-direction: column;
    width: 100%;
}

.image_centre{
    background: url("../images/background1.png");
    background-repeat: no-repeat!important;
    background-position: center!important;
    background-size: cover!important;
    height: 65vh;
    border: 2px solid #4A3523;
    margin: 4px;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.actions_centre{
    border: 2px solid #4A3523;
    height: 20vh;
    margin: 4px;
    padding: 10px;
}

.stats_droite{
    border: 2px solid #4A3523;
    width: 30%;
}

.reste_center{
    display:flex;
    width:100%;
}

.liste_pages{
    display:flex;
    flex-direction: column;
    border: 1px solid #4A3523;
    background-color: #101010;
}

.lien_page{
    display:flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #1d1d1d;
}

.lien_page.actuel{
    background-color: #2B1D0B;
    border: 2px solid #B18B4A;
}

.lien_page p{
    color: #EFE8D8;
    font-size: 1.1em;
    font-weight: 700;
    margin-left: 15px;
}

.dflex{display:flex;}

.flex-dir-col{flex-direction: column;}

.align-items-center{align-items: center;}

.justify-content-center{justify-content: center;}

.justify-content-between{justify-content: space-between;}
.justify-content-around{justify-content: space-around;}
.justify-content-end{justify-content: end;}

.fsize1{font-size: 1em;}
.fsize1-1{font-size: 1.1em;}
.fsize1-2{font-size: 1.2em;}
.fsize1-3{font-size: 1.3em;}
.fsize1-4{font-size: 1.4em;}

.fsize2{font-size: 2em;}
.fsize3{font-size: 3em;}
.fsize4{font-size: 4em;}
.fsize5{font-size: 5em;}

.mt-10{margin-top: 10px;}
.mb-10{margin-bottom: 10px;}
.ml-10{margin-left: 10px;}
.mr-10{margin-right: 10px;}
.m-10{margin: 10px;}

.mt-5{margin-top: 5px;}
.mb-5{margin-bottom: 5px;}
.ml-5{margin-left: 5px;}
.mr-5{margin-right: 5px;}
.m-5{margin: 5px;}

.mt-20{margin-top: 20px;}
.mb-20{margin-bottom: 20px;}
.ml-20{margin-left: 20px;}
.mr-20{margin-right: 20px;}
.m-20{margin: 20px;}

.stats_personnage p{
    font-size: 1.1em;
}

.profil_img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 2px;
    border: 2px solid #4A3523;
}

.jauge{
    width: 100%;
    height: 16px;
    border: 2px solid #4A3523;
    border-radius: 7px;
    padding: 2px;
}

.jauge_pleine{
    width: 100%;
    height: 16px;
    border-radius: 4px;
}

.jauge_jaune{background: linear-gradient(#E7C664, #A56C0C);}
.jauge_rouge{background: linear-gradient(#DE6A5D, #810C0B);}
.jauge_bleu{background: linear-gradient(#74AADF, #2757A5);}

.box-stat{
    border-left: 1px solid #1d1d1d;
    padding: 0 20px;
}

.card{
    padding: 20px;
    display:flex;
    flex-direction: column;
    border: 2px solid #4A3523;
}

#nameId{
    font-size: 2em;
}

.bg_jauge{
    background-color: #0E0E0E;
}

.titre_ennemi{
    font-size: 2.5em;
    text-align: center;
    color: #DCAF60;
    font-weight: bold;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.niveau_ennemi{
    font-size: 1.5em;
    text-align: center;
    color: #DCAF60;
    font-weight: bold;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.jauge_ennemi{
    display:flex;
    justify-content: center;
    padding: 0 30%;

}

.jauge_ennemi .jauge{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.555);
}

.vie_ennemi{
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.box-statistiques{
    display:flex;
    flex-direction: column;
    padding:10px;
}

.titre-statistiques{
    color: #DCAF60;
    font-size: 1.2em;
}

.liste-statistiques{
    display:flex;
    flex-direction: column;
    border: 2px solid #4A3523;
    border-radius: 7px;
    padding: 10px 15px;
    font-size: 1.1em;
}

.liste-items-inventaire-index{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 5px;
}

.liste-items-inventaire-index .carre{
    aspect-ratio: 1;
    height: auto;
    background-color: #0a0a0a;
    border-radius: 7px;
    border: 1px solid #4A3523;
    width: auto;
    display:flex;
    justify-content: center;
    align-items: center;
}

.liste-items-inventaire-index .carre img{
    width: 90%;
}

.nombre_item-inventaire-index{
    position: fixed;
    margin-top: 2.5%;
    margin-left: 2.1%;
}

.quete-index{
    display:flex;
    align-items: start;
    border-bottom: 1px solid #1d1d1d;
    padding: 5px 0;
}

.quete-index img{
    width: 50px;
    border: 2px solid #4A3523;
    border-radius: 7px;
    margin-right: 10px;
}

.titre-quete{
    color: #DCAF60;
    font-size: 1.1em;
    
}

.logs_combat{
    display:flex;
    flex-direction: column;
    width: 380px;
    background-color: rgba(6, 8, 14, 0.8);
    max-height: 140px;
    border: 2px solid #4A3523;
    border-radius: 7px;
    margin: 7px; 
    padding: 20px;
    overflow-y: scroll;
}

.logs_combat p{
    font-size: 1.1em;
    margin: 5px 0;
}

.parent-popup{
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    justify-content: center;
    align-items: center;
    display: none;
}

.popup{
    width: 70%;
    height: 80vh;
    border: 1px solid #4A3523;
    background-color: #0E0E0E;
    border-radius: 7px;
    box-shadow: 0 0 10px rgb(0,0,0);
    display:flex;
    flex-direction: column;
    padding: 10px;
}

.boutton_audio{
    cursor:pointer;
}

.popup-content{
    display:flex;
    flex-direction: column;
    height: 100%;
}

.boutton_action{
    padding: 10px;
    border: 2px solid #4A3523;
    background-color: #1A1715;
    border-radius: 7px;
}

.boutton_action p{
    font-size: 1em;
    color: #DCAF60;
}

.boutton_action .titre_action{
    font-size: 1.2em;
    color: white;
}   

.liste_bouttons{
    display:flex;
    gap:10px;
    margin-bottom: 10px;
}

.liste_bouttons2{
    display:flex;
    gap:10px;
}

.box-dialogue{
    display:none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}

.content-dialogue{
    background-color: rgba(0,0,0,0.8);
    padding: 20px;
    width: 70%;
    min-height: 100px;
    border-radius: 7px;
    border: 2px solid #4A3523;
    margin-bottom: 7px;
    display:flex;
    flex-direction: column;
    cursor:pointer;
}

.content-dialogue p{
    font-size: 1.2em;
}

.content-dialogue .auteur{
    color: #DCAF60;
}