html, body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
}

body {
  display: flex;
  flex-direction: column;
}

main, .section, .accueil {
  flex-grow: 1;
  padding: 30px;
  text-align: center;
}

.navbar {
  background-color: #004080;
  color: rgb(243, 9, 9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  height: 150px;
}

.titre {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  background-color: white;
  color: #004080;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links a:hover {
  background-color: #0072ff;
  color: white;
  transform: scale(1.05);
}

.nav-links a:active {
  transform: scale(0.95);
  background-color: #0055aa;
}

table {
  width: 100%;
  max-width: 700px;
  margin: auto;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 10px;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}
.galerie-quinconce {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.galerie-quinconce .image {
  max-width: 280px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.galerie-quinconce .image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.galerie-quinconce .image:hover {
  transform: scale(1.05);
}

.image-haut { margin-top: 0px; }
.image-milieu { margin-top: 40px; }
.image-bas { margin-top: 20px; }
