html{
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f5f5f5;
  color: #333;
}

.banniere {
  background-image: url("../images/stade.jpg");
  background-size: cover;
  background-position: center 65%; /* ajuste la vue verticale ici */
  height: 300px;
  position: relative;
  z-index: 1;
  color: white;
}


.overlay {
  background-color: rgba(0, 0, 0, 0.5); /* assombrit l’image pour le texte */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.menu nav a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}



.menu ul li a img {
    width: 20px!important;
    height: 20px!important;
}

nav a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.logo {
  width: 100px;
}

main {
    height: 66.6vh;
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1em;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

thead {
  background-color: #4B0082;
  color: white;
}

th, td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

td img.logo-mini {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin: 0 5px;
}

td img.forchie {
  width: 20px!important;
  height: 30px !important; 
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

.victoire {
  color: green;
  font-weight: bold;
}

.defaite {
  color: red;
  font-weight: bold;
}

.nul {
  color: black;
  font-weight: bold;
}

.logo-mini {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin: 0 5px;
}

.club {
  position: relative;
  padding: 5px 0;
}

.logo-club {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

section h3 {
  
  margin-bottom: 10px;
}

section a {
  
  text-decoration: underline;
}

section.lieu {
  padding: 50px auto;
  margin: 50px 20px;
}

.bloc-lieux {
  width: 100%;
  overflow: hidden;
}

.bloc-lieux h1 {
  color: #333333;
  margin-left: 20px;
}

.lieu {
  width: 60%;
  padding: 15px;
  margin: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
}

.domicile {
  float: left;
  clear: left;
}

.exterieur {
  float: right;
  clear: right;
}

.lieu h3 {
  color: #4B0082;
}

.lieu iframe {
  width: 100%;
  height: 300px;
  border: none;
}


/* Menu standard */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.burger {
  display: none; /* Cacher le burger par défaut */
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.match-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

/* Logos */
.match-block .logo-mini {
  width: 30px;
  height: 30px;
}

/* Texte "vs" */
.match-block .vs {
  font-weight: bold;
  color: #4B0082;
}


@media screen and (max-width: 480px) {

  .burger {
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: inline;
}

  /* Affiche le burger ☰ par défaut */
  .burger::before {
    content: "☰";
  }

  /* Change en croix ✖ quand actif */
  .burger.active::before {
    content: "✖";
  }

  .victoire::after {
    content: "✅ Victoire";
    color: green;
    font-weight: bold;
  }

  .defaite::after {
    content: "❌ Défaite";
    color: red;
    font-weight: bold;
  }

  .nul::after {
    content: "➖ Nul";
    color: orange;
    font-weight: bold;
  }

  .menu nav ul {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgb(98, 48, 112);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
  overflow-y: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(-100%);
  opacity: 0;
}


  .menu nav ul.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .menu nav li {
    margin: 10px 0;
    font-size: 1.5em;
    text-transform: uppercase;
  }

  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
  }

  td {
    text-align: left;
    padding: 10px;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #4B0082;
  }

  tr td b{
    text-align: center;
  }

  .match-block {
    flex-direction: column;
    gap: 5px;
  }

  .match-block .logo-mini {
    width: 40px;
    height: 40px;
  }

  .table-wrapper{
    width: 90%;
  }

  .lieu {
    border-radius: 0;
  }

  .logo-club {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

  
}
