html[lang="fr"] {
  /* styles pour le texte en français */
}

@font-face {
            font-family: Impact;
            src: url('/impact.ttf') format('truetype');
        }
		
@font-face {
    font-family: BLKCHCRY;
    src: url('./BLKCHCRY.TTF') format('truetype');
		}


body {
  max-width: 100%;
  min-width: 100%;
  background-color: #f7e4c6;
  height: auto;
  justify-content: center;
  align-items: center;
  margin: auto;
}


.bloc_flottant {
  width: 150px;
  height: 53px;
  position: fixed;
  right: 10px;
  bottom: 0;
  margin-bottom: 50px; /* facultatif pour ajouter une marge entre l'image et le bas de la page */
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  justify-content: center;
  text-align: center;
  align-items: center;
  background-color: #fadbaa;	
}

td {
	background-color: transparent;
	text-align: center;
	border: none;
	font-size: 14px;
	color: #8A0808;
	display: inline-block;
	justify-content: center;
	align-items: center;
	margin: center;
}

/* Images dans les cases */
img {
  display: flex;
  margin: 0 auto;
}

button {
	font-size: 14px;
background-color: #FEFDFA;
 display: inline-block;
 border: 1px solid #f7bb5c;
   font-family: impact;
   color: #8A0808;
   border-radius: 5px;
}

button:hover {
	background-color: #f7bb5c;
    color: #e62e2e;
}

/* Media query pour petits écrans */
@media (max-width: 640px) {
    td {
        width: calc(80vw / 16);
        height: calc(80vw / 16);
    }
}

/* Conteneurs principaux */
#summary-left, #summary-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 220px;  /* largeur plus grande */
    box-sizing: border-box;
}

#summary-left-up, #summary-left-down, #summary-right-up, #summary-right-down {
    
    font-size: 14px;
    line-height: 1.5;
    margin: 0 5px; /* Ajuste l'espace autour du texte */
}

#summary-left-up img,
#summary-left-down img,
#summary-right-up img,
#summary-right-down img {
  max-width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* Alignement des blocs */
#summary-left {
    margin-right: 10px;
}

#summary-right {
    margin-left: 10px;
}

#grid-container {
    display: flex;
    align-items: stretch; /* Étend les résumés pour couvrir toute la hauteur */
    justify-content: center;
}

table#grid {
    border-collapse: collapse;
    margin: 0;
}

table {
  background-color: transparent;
   display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.navbar-logo {
    height: 75px; /* Limite la hauteur ÃƒÂ  75px */
    width: auto; /* Garde le ratio d'aspect */
}
/* Style de la barre de navigation */

.custom-header {
    background-color: #fadbaa;
}

.tab-container {
    margin-top: 410px; /* Ajustez cette valeur en fonction de la hauteur de votre en-tête */
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Assurez-vous que l'en-tête est au-dessus des autres éléments */
    background-color: #f7e4c6; /* Assurez-vous que l'arrière-plan est visible */
}

header {
	align-items: flex;
	margin-bottom: 20px;
	background-color: transparent;
}

header .navbar {
  background-color: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  justify-content: center; /* Centrer les boutons horizontalement */
  align-items: center;
  padding: 5px 0; 
  margin-bottom: 20px;
  bottom: 0px;
  margin-left: -30px;
}

header .navbar a {
  color: #a94442 !important; /* Couleur du texte */
  font-size: var(--navbar-font-size, 16px); /* Taille de police configurable */
  font-family: Impact, sans-serif;
  background-color: #f7e4c6;
  padding: 3px 10px;
  margin: 5px 2px; /* Espacement entre les liens */
  border: 0.5px solid #a94442;
  border-radius: 5px;
  text-decoration: none;
  align-items: center;
  text-align: center;
  transition: all 0.1s ease; /* Transition fluide pour hover */
  margin-top: 8px;
}

header .navbar a:hover {
  background-color: #a94442 !important; /* Couleur de fond au survol */
  color: #f7e4c6 !important; /* Couleur du texte au survol */
  border-color: #f7bb5c;
  align-items: center;
  text-align: center;
  position: table;
}

button {
	font-size: 14px;
	background-color: #FEFDFA;
	display: inline-block;
	border: 1px solid #f7bb5c;
	font-family: impact;
	color: #8A0808;
	border-radius: 5px;
	margin-bottom: 20px;
}

div {
  background-color: transparent;
  font-family: Impact, sans-serif;
  margin: auto;  
  justify-content: center;
  align-items: center;
  font-weight: normal;
  }
  
button:hover {
	background-color: #f7bb5c;
    color: #e62e2e;
}

body {
            
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
        }
		.container {
    display: flex; /* Utilisez flex pour un conteneur flexible */
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Aligne les éléments verticalement au centre */
    gap: 10px; /* Espace entre les éléments */
    margin-top: 20px; /* Marge en haut du conteneur */

}

.container > * {
    margin: 0;
    padding: 0;
	
}
        img {
            max-width: 300px;
            max-height: 300px;
            border-radius: 5px;
            background-color: transparent;
        }
        .controls {
            margin-top: 20px;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 10px;
        }
        
       
        .counter {
            margin-top: 10px;
            font-size: 18px;
        }
        .contrainte-container {
    display: flex;
    flex-wrap: wrap; /* Permet d'enrouler les images si nécessaire */
    gap: 10px;
}
.stat-container {
    position: absolute;
    right: 70px;
    width: 300px; /* Largeur du conteneur */ 
	text-align: center;
}
.gagnees-container {
    position: static;
    width: 100%; /* Largeur du conteneur */
    max-height: calc(100vh - 100px); /* Limite la hauteur pour le scroll */
    /* overflow-y: auto; /* Active le défilement vertical si nécessaire */
    border-radius: 0px;
    /* padding: 10px; */
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
    display: ruby; /* Active la grille */
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Colonnes dynamiques */
    /* gap: 10px; */ /* Espacement entre les cartes */
    place-items: center; /* Centre les éléments dans chaque cellule de la grille */
    margin: 0 auto; /* Centre la grille dans son conteneur parent */
}


.gagnees-container img {
    width: 130px; /* Adapte à la largeur de la colonne */
    height: auto; /* Maintient le ratio */
    border: 2px solid #000;
    border-radius: 10px;
	justify-content: center;
	align-items: center;
}

table img {
  display: flex;
  margin: 0 auto;
}

ul {
	background-color: transparent;
	text-align: center;
	border: none;
	font-size: 14px;
	color: #8A0808;
	display: inline-block;
	justify-content: center;
	align-items: center;
}

li {
	vertical-align: middle;
	background-color: transparent;
	text-align: center;
	border: none;
	font-size: 14px;
	color: #8A0808;
	display: inline-block;
	justify-content: center;
	align-items: center;
}

li:hover {
  background-color: #f7e4c6;
  color: #e62e2e;
}

a {
  background-color: #f7e4c6;
  text-decoration: #e62e2e;
  text-decoration-style: solid;
  text-decoration-color: #610b0b;
  color: #911d25;
}

a:hover {
  background-color: #f2d09b;
  color: #e62e2e;
}