@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English&display=swap');


/* Configuration générale */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    background: #000000;
    overflow-x: hidden;
}

/* Arrière-plan avec image */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/noir-abysse.png') no-repeat left center;
    background-size: auto 100%;
    opacity: 1;
    z-index: -1;
}

@media (max-width: 768px) {
    body::before {
        background-size: 80%;
        opacity: 0.4;
    }
}

/* Overlay sombre pour lisibilité */
main,
header,
footer,
.menu-left {
    background: rgba(18, 18, 18, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Conteneur principal */
.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/* Menu de gauche */
.menu-left {
    width: 15%;
    padding: 20px;
    border-right: 2px solid #333;
    box-sizing: border-box;
}

.menu-left ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-left ul li {
    margin: 15px 0;
}

.menu-left a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu-left a:hover {
    color: #b27d4f;
}

/* Contenu principal */
.main-content {
    width: 85%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Header */
header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    font-family: 'IM Fell English', serif;
}

header h1 a {
    text-decoration: none;
    color: white;
}

header h1 a:hover {
    color: white;
}

ul, ol {
    list-style: disc; /* Applique les puces ou la numérotation */
    padding-left: 20px; /* Espace pour les listes imbriquées */
    margin: 10px 0; /* Espacement entre les éléments */
}

ul li, ol li {
    display: list-item; /* Réinitialise l'affichage vertical */
}

/* Menu principal */
.main-menu {
    display: block; /* Annule le flex pour un comportement vertical */
    list-style: none; /* Supprime les puces */
    padding: 0;
    margin: 20px 0;
}

.main-menu li {
    margin: 10px 0; /* Espacement entre les éléments */
    display: block; /* Assure que chaque élément occupe toute la largeur */
}

.main-menu a {
    text-decoration: none;
    font-size: 1em;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #b27d4f; /* Accent doré cuivré */
    text-decoration: underline;
}

/* Contenu principal */
main {
    padding: 20px;
}

main h2 {
    color: #b27d4f;
    font-family: 'IM Fell English', serif;
    border-bottom: 2px solid #b27d4f;
    padding-bottom: 5px;
}

main h3 {
    color: #b27d4f;
    font-family: 'IM Fell English', serif;
}

main p {
    margin: 15px 0;
}

/* Footer */
footer {
    text-align: center;
    color: #999;
    padding: 10px 0;
    border-top: 2px solid #333;
}

footer p {
    margin: 0;
}

/* Style des liens */
.styled-link {
    color: #b27d4f; /* Couleur dorée cuivrée */
    text-decoration: none; /* Supprime le soulignement */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Transition douce */
}

.styled-link:hover {
    color: #e0e0e0; /* Couleur claire pour le survol */
    text-decoration: underline; /* Ajoute un soulignement au survol */
}


/* Style des noms de classes */
.gold-text {
    color: #b27d4f; /* Couleur dorée cuivrée */
    font-weight: bold; /* Texte en gras */
    transition: color 0.3s ease; /* Transition douce pour les interactions */
}
@media (max-width: 768px) {
    .menu-left {
        width: 30%; /* Limite la largeur à 30% */
        padding: 5px; /* Réduit l'espacement */
        border-right: none; /* Supprime la bordure droite */
    }

    .main-content {
        width: 70%; /* Le contenu principal occupe 80% */
    }

    .page-menu {
        margin: 5px 0; /* Réduit l'espace entre les items */
    }
}

.page-menu {
    list-style: none;
    padding: 0;
    margin: 20px;
}

.menu-parent {
    margin-bottom: 5px;
}

.menu-parent > .submenu {
    display: none; /* Les sous-menus sont cachés par défaut */
    margin-left: 20px; /* Décale les sous-menus */
    padding-left: 15px;
    border-left: 2px solid #333; /* Ligne visuelle */
}

.menu-parent > .menu-toggle {
    color: #e0e0e0;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.menu-parent > .menu-toggle:hover {
    color: #b27d4f;
    text-decoration: underline;
}

.submenu li {
    font-size: 0.9em;
}

.submenu li a {
    color: #e0e0e0;
    text-decoration: none;
}

.submenu li a:hover {
    color: #b27d4f;
    text-decoration: underline;
}

li a {
    color: #e0e0e0;
    text-decoration: none;
}

li a:hover {
    color: #b27d4f;
    text-decoration: underline;
}

/* Style pour les habilités */
.habilite {
    border: 1px solid #333; /* Bordure sombre pour délimiter */
    background-color: rgba(18, 18, 18, 0.8); /* Fond légèrement transparent */
    margin: 20px 0; /* Espacement vertical */
    padding: 15px; /* Espacement interne */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ombre subtile */
    border-radius: 5px; /* Coins arrondis */
}

.habilite h3 {
    color: #b27d4f; /* Couleur dorée cuivrée pour le titre */
    font-family: 'IM Fell English', serif; /* Police immersive */
    margin-bottom: 10px; /* Espacement avec le texte suivant */
}

.habilite p {
    color: #e0e0e0; /* Texte clair pour une bonne lisibilité */
    margin: 10px 0; /* Espacement entre les paragraphes */
    line-height: 1.4; /* Lisibilité accrue */
}

.conteneur {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;      /* Centre verticalement (si hauteur définie) */
    height: 100px;            /* Facultatif, ajuste la hauteur si besoin */
    text-align: center;       /* Centre le texte à l'intérieur */
}

.texte-centre {
  font-size: 24px;
  color: rgba(220, 220, 220, 0.8);
  margin-bottom: 10px;
  font-style: italic;
  text-align: center;  /* Assure le centrage du texte lui-même */
  display: block;      /* Force le comportement en bloc pour éviter des problèmes d'alignement */
}

