body{
    background-image: url(../ressource/background/Accueil.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  }

nav ul {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

nav ul img {
  margin-top: -15px;
}

nav a {
  font-size: 20px;
  color: #000000;
  border: 2px solid #000000; 
  padding: 5px; 
  text-decoration: none; 
}

nav img {
  width: 70px;
  height: auto;
  border-radius: 5px;
  border: 1px solid #ddd;
}

nav ul li {
    padding: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column; /* Ajouté pour aligner le menu sous le bouton */
}

.dropbtn {
    cursor: pointer;
    display: block;
    width: 100%; /* Le bouton prend toute la largeur du parent */
    text-align: center;
    border: 2px solid #000000;
    padding: 5px;
    font-size: 20px;
    color: #000000;
    background: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 150%; /* Le menu déroulant prend la largeur du parent .dropdown */
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: center;
}

.dropdown-content a {
    color: #333;
    padding: 12px 0;
    text-decoration: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.dropdown-content.show {
    display: block;
}

header{
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 2%;
  background-color: rgba(128, 128, 128, 0.400);
  border: 5px solid #0c2935;
  border-radius: 10px;
  text-align: center;
}

.bandrole{
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
}

main{
  background-color: rgba(128, 128, 128, 0.400);
  display: flex;
  flex-wrap: wrap;
  margin-left: 15%;
  margin-right: 15%;
  padding: 10px;
  border: 5px solid #0c2935;
  border-radius: 10px;
}

.main_div {
  text-align: center;
  padding: 10px;
}

.main_div p {
  font-size: 35px;
}

.main_div ul {
  margin-left: 35px;
  font-size: 30px;
  text-align: justify;
}

.second{
  width: 45%;
  margin-left: 5%;
  font-size: 22px;
}

.horraire {
  font-size: 22px;
  width: 50%;
}

.horraire h4 {
  margin-left: -8%;
}

.horraire ul {
  margin-left: 30%;
}

.tableau {
  width: 100%;
  overflow-x: auto; /* scroll horizontal si nécessaire */
  margin: 0 auto;
}

table {
  border-collapse: collapse;
  width: 100%; /* prend toute la largeur disponible */
  min-width: 600px; /* garde des colonnes correctes sur desktop */
}

th {
  font-size: 40px;
  color: orange;
  text-align: center;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  text-shadow: 2px 2px 0 #fff, 4px 4px 2px #d18b00;
  padding: 15px;
  border: 2px dashed #333;
}

td {
  border: 2px dashed #333;
  padding: 15px;
  vertical-align: top;
  font-size: 18px;
  text-align: center;
}

/* --------------------
   Responsive tableau
-------------------- */
@media (max-width: 768px) {
  .responsive-table {
    border: 0;
    width: 100%;
    min-width: 0;
  }

  .responsive-table thead {
    display: none; /* cache les titres de colonnes */
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
  }

  .responsive-table td {
    display: block;
    text-align: left;
    font-size: 16px;
    padding: 10px 8px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }

  .responsive-table td::before {
    content: attr(data-label); /* récupère l’attribut data-label */
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: orange;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    text-shadow: 2px 2px 0 #fff, 4px 4px 2px #d18b00;
    font-size: 18px;
  }
}


footer{
  background-color: rgba(128, 128, 128, 0.400);
  display: flex;
  flex-wrap: wrap;
  margin-top: 2%;
  margin-left: 15%;
  margin-right: 15%;
  justify-content: center;
  border: 5px solid #0c2935;
  border-radius: 10px;
}

.info{
  width: 50%;
  text-align: center;
}

.reseaux {
  width: 50%;
  text-align: center;
  margin-left: -5%;
}

.reseaux img {
  width: 50px;
  height: 50px;
  margin-left: 10px;
  margin-right: 10px;
}

