html,body{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #5c8928;
    z-index: -2;
}
.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/landscape-1844229_1920.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%;
 }
  }
  /*Début CSS Modal Combat*/
  .BoutonLanceSort {
    background-color: rgba(0, 0, 0, 0.0);
    border: 1px solid black;
    border-radius: 5px;
    transition: background 0.3s ease; /* Transition fluide pour le hover */
  }
  .BoutonLanceSort:hover {
    background: linear-gradient(135deg, #00e5ff, #00b8d4, #0097a7); /* Dégradé plus cyan */
    color : white;
  }
  .imgModal {
    height: 13rem;
    display: none; /* Masquer l'image par défaut */
    margin: 0 auto; /* Centre horizontalement l'image */
    display: block; /* Affiche l'image en mode bloc */
  }
  .TitreModalCombat {
    font-family: 'Indie Flower';
    color: blue;
  }
  #textpdv {
      display: flex; /* Active le mode Flexbox pour le conteneur */
      align-items: center; /* Centre verticalement si nécessaire */
  }

  #textpdv p {
      margin: 0 1px; /* Ajoute de l'espace entre les éléments */
  }
.pointdevie {
  color : red;
  font-weight: bold;
}
  /*Fin CSS Modal Combat*/

/* 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; }
.resistances-legend {
  color: #e9ecef;
  font-size: .82rem;
  opacity: .85;
  margin-bottom: .5rem;
}
