body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
header {
    position: relative;
    text-align: center;
    color: white;
}
.header-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
header h1 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
}
.menu-toggle {
    display: none;
    background-color: #a35650;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}
nav {
    background-color: #a35650;
    padding: 10px;
}
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin: 5px 10px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}
nav ul li a:hover {
    background-color: #843e35;
}
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
    }
    nav ul.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
        width: 100%;
    }
}
main {
    padding: 20px;
    text-align: center;
}
footer {
    background-color: #a35650;
    color: white;
    text-align: center;
    padding: 10px;
}

.image-container {
  width: 75%;
  object-fit: contain; /* Remplit le conteneur sans déformer */
}


.table-responsive {
  width: 75%;
  overflow-x: auto;      /* Ajoute un scroll horizontal si le tableau est trop large */
  -webkit-overflow-scrolling: touch; /* Défilement fluide sur mobile */
}

table {
  width: 100%;           /* Le tableau occupe toute la largeur disponible */
  border-collapse: collapse;
}

th, td {
  padding: 8px;
  text-align: left;
  word-wrap: break-word; /* Évite les débordements de texte */
}

@media screen and (max-width: 600px) {
  th, td {
    font-size: 14px;      /* Réduit la taille du texte sur petit écran */
  }
}
