/*******************************/
/*          TABLEAU            */
/*******************************/
.table-container {
  overflow-x: auto;
  width: 100%;
}

.table-container table {
  min-width: 900px; 
  width: 100%;
}

table {
  border-collapse: collapse;
  margin: 20px auto;
  table-layout: fixed;
  width: 100%;      
}

td, th {
  border: 1px solid #333;
  padding: 15px;
  text-align: center;
  height: 40px; 
  vertical-align: middle;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


a {
  text-decoration: none;
  color: #0066cc;
  font-weight: bold;
}

a:hover {
  color: #ff6600;
}


/* Style pour l’en-tête (première ligne) */
thead th {
  background-color: #cce5ff; /* bleu ciel */
  color: #000;
}

/* Style pour la première colonne */
tbody td:first-child {
  background-color: #cce5ff; /* bleu ciel */
  font-weight: bold;
}

tfoot td:first-child {
  background-color: #cce5ff; /* bleu ciel */
  font-weight: bold;
}

/* Style pour toutes les cellules non vides */
tbody td:not(:empty):not(:first-child) {
  background-color: #1e3a8a; /* bleu foncé */
  color: white;
  text-align: center;
}

tfoot td:not(:empty):not(:first-child) {
  background-color: #c9d4f4a2; /* bleu foncé */
  color: black;
  text-align: center;
}

@media (max-width: 768px) {
  td, th {
    padding: 8px;
    font-size: 0.8rem;
  }

  table {
    min-width: unset;
    width: 100%;
    font-size: 0.8rem;
  }

  a {
    font-size: 0.9rem;
  }
}

/*********************************/
/*          LOGO/BODY            */
/*********************************/

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/*  Logo / header */
.site-header {
  background-image: url('Banniere.png');
  background-repeat: no-repeat;         
  background-size: cover;                 
  background-position: center;          
  height: 200px;                          
  width: 100%;
  text-align: center;
}

.logo {
  max-width: 150px;
  height: auto;
}


/* Le fond avec image */
.background {
  background-image: url('background.png'); 
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: center; 
}

/* Colonne centrale */
.main-content {
  background-color: white; 
  max-width: 1300px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  border-radius: 10px;
}

#intro h3 {
  margin-left: 5%;
  color:#282828

}


/******************************/
/*          NAVBAR            */
/******************************/

/*  Barre de navigation (non sticky au départ) */
/* Navigation principale */
/* Navbar sticky */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Navbar */
/* Structure de base */
.navbar {
  background-color: #1e3a8a;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-list > li {
  position: relative;
}

.navbar a {
  display: block;
  padding: 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Cacher les menus déroulants */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1e3a8a;
  min-width: 160px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 9999;
}

/* Révéler uniquement au hover du LI parent */
.dropdown:hover .dropdown-menu {
  display: block;
}

.menu:hover {
  color: #ff6600;
}

/* Style des liens dans les sous-menus */
.dropdown-menu li a {
  padding: 0.8rem 1rem;
  white-space: nowrap;
  color: white;
  text-decoration: none;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #374ea2;
}

/* Conteneur interne de la navbar */
.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Logo */
.logo img {
  height: 60px; /* ajuste selon ta préférence */
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

/* Liste alignée à gauche maintenant */
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.body-offset {
  padding-top: 125px; /* adapte à la hauteur exacte de ta navbar */
}


/******************************/
/*          FOOTER            */
/******************************/

.site-footer {
  background-color: #1e3a8a;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.site-footer a {
  color: #cce5ff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-content p {
  margin: 0.5rem 0;
}

.site-footer a.social img {
  width: 30px;
  height: auto;
  vertical-align: middle;

}


/*******************************/
/*          EQUIPES            */
/*******************************/


.team-menu {
  max-width: 900px;
  margin: 2rem auto;
  font-family: sans-serif;
  color: #111;
}

.info-cards {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card {
  flex: 1;
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
}

.card hr {
  width: 30px;
  border: 2px solid rgb(28, 0, 153);
  margin: 0.5rem auto;
}

.card .icon {
  font-size: 2rem;
  color: rgb(28, 0, 153);
  display: block;
}

.card .note {
  font-size: 0.9rem;
  color: #555;
}

.resultats {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.resultats span {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: white;
  font-weight: bold;
}

.win {
  background-color: #4CAF50;
}
.draw {
  background-color: #FFC107;
}
.lose {
  background-color: #F44336;
}

.section-title {
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
}

.blue-line {
  width: 900px;
  height: 4px;
  background-color: rgb(28, 0, 153);
  border: none;
  margin: 0.5rem 0 1rem;
}

.trainings {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
}

.training-row {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.training-row:last-child {
  border-bottom: none;
}




/*******************************/
/*          EQUIPES            */
/*******************************/


.card a.social img {
  width: 60px;
  height: auto;
  vertical-align: middle;

}
