html,body{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #8c8c8c;
    z-index: -2;
    background: url('../img/background-7357096_1280.png');
                background-repeat: repeat; /* Le dégradé ne se répète pas, les monstres se répètent */

}
.nav {
  align-items:center;
}
.image-container {
    width: 60px; /* Largeur maximale du cadre */
    height: 60px; /* Largeur maximale du cadre */
    /*width: 100%;  100% de la largeur du parent */
    /*border: 2px solid #333; /* Bordure de 2 pixels solide de couleur grise (#333) */
    overflow: hidden; /* Cache le débordement pour s'assurer que l'image ne dépasse pas la bordure */
    border-radius: 8px; /* Coins arrondis */
    display: flex;
   align-items: center; /* Aligne les éléments enfants verticalement au centre */
   border: 2px solid rgb(87, 99, 96);
   background-color: #FFFFF0; /* Ivoire comme couleur de fond */
}
.image-container,
.pseudo-container {
    display: inline-block;
    vertical-align: middle; /* Alignement vertical au milieu pour aligner les éléments sur la même ligne */
}

.image-container img {
    width: 100%; /* Remplit la largeur du conteneur */
    height: auto; /* Ajuste automatiquement la hauteur pour maintenir les proportions de l'image */
    display: block; /* Élimine l'espace sous l'image dû à la nature en ligne de l'élément img */
}

.image-Oro {
    width: 25px; /* Largeur maximale du cadre */
    height: 25px; /* Largeur maximale du cadre */
    /*width: 100%;  100% de la largeur du parent */
    /*border: 2px solid #333; /* Bordure de 2 pixels solide de couleur grise (#333) */
    /*overflow: hidden; /* Cache le débordement pour s'assurer que l'image ne dépasse pas la bordure */
    display: flex;
   align-items: center; /* Aligne les éléments enfants verticalement au centre */
   margin-left: -10px;
}
.pseudo-container,
.image-Oro {
    display: inline-block;
    vertical-align: middle; /* Alignement vertical au milieu pour aligner les éléments sur la même ligne */
}
.image-Oro img{
    width: 100%; /* Remplit la largeur du conteneur */
    height: auto; /* Ajuste automatiquement la hauteur pour maintenir les proportions de l'image */
    display: block; /* Élimine l'espace sous l'image dû à la nature en ligne de l'élément img */
}
/*
.background-section {

    background-image: url("../img/fantasy-world.png");
    background-size: cover; /* Ajuste la taille de l'image pour couvrir la section */
  /*  background-repeat: no-repeat;
    background-position: center; /* Centre l'image de fond */
    /* Autres propriétés de style pour la section */
    /*width: 100%;
    height: 100vh; /* Utilisation de la hauteur de la fenêtre du navigateur */
    /*position: absolute; /* Place l'arrière-plan en position absolue */
  /*  z-index: -1; /* Met l'arrière-plan en arrière-plan par rapport aux autres éléments *//*
}*/

.content-wrapper {
    position: relative; /* Crée un contexte de positionnement pour les éléments enfants */
}
.main-content {
    /* Votre contenu principal ici */
    flex: 1;
}

.content-wrapper .main-content .container {
  /* Your styles for the .container class within the specified hierarchy */
  margin-top: 7%;
}
@media (max-width: 991.98px) {.content-wrapper .main-content .container {
  /* Your styles for the .container class within the specified hierarchy */
  margin-top: 10%;
}
 }
@media (max-width: 767.98px) {.content-wrapper .main-content .container {
  /* Your styles for the .container class within the specified hierarchy */
  margin-top: 33%;
}
 }
 .CardMargePerso {
   margin-top:10%;
 }
 @media (max-width: 767.98px) {.CardMargePerso {
   /* Your styles for the .container class within the specified hierarchy */
   margin-top: 33%;
 }
  }

/* Résistances élémentaires (0–100 %) */
.resistances {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin: .35rem 0 .55rem;
}
.resistance-chip {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .12rem .42rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--element-color, #6c757d);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.resistance-chip--resiste { border-color: rgba(255, 255, 255, .6); }
.resistance-chip--faible { border-color: #ff4d4f; box-shadow: 0 0 0 1px rgba(255, 77, 79, .5); }
.resistance-chip--neutre { opacity: .68; }
.resistance-symbol { font-size: .85rem; line-height: 1; }
