body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding-bottom: 100px;
  text-align: justify;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f4f4f4;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a {
  color: #000;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

nav a:hover {
  transform: scale(1.1);
  color: #00bcd4;
}

/* Titres */
h1,
h2,
h3,
h4 {
  color: #2c3e50;
  text-align: center;
}

h1 {
  margin-top: 40px;
  font-size: 2.5em;
}

h2 {
  margin-top: 60px;
  font-size: 2em;
  border-bottom: 2px solid #00bcd4;
  display: inline-block;
  padding-bottom: 5px;
}

h3 {
  margin-top: 40px;
  font-size: 1.6em;
  color: #34495e;
}

h4 {
  margin-top: 30px;
  font-size: 1.2em;
  color: #2e8b57;
}

p,
ul {
  max-width: 900px;
  margin: auto;
  padding: 0 20px;
  font-size: 1.05em;
  text-align: justify;
}

ul {
  margin-top: -10px;
  padding-left: 40px;
}

.description {
  font-style: italic;
}

img {
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  max-width: 90%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.souligne {
  text-decoration: underline;
  text-align: center;
  margin-top: 40px;
}

video,
source {
  display: block;
  margin: 30px auto;
  max-width: 90%;
}

@media screen and (max-width: 768px) {
  nav a {
    display: block;
    margin: 10px 0;
  }

  h1,
  h2,
  h3,
  h4 {
    text-align: center;
  }
}

.menu {
  text-align: center;
  margin: 30px auto 20px auto;
}

.submenu a {
  display: inline-block;
  margin: 0 15px;
  padding: 10px 20px;
  background-color: #00bcd4;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.submenu a:hover {
  background-color: #0097a7;
}

img:hover {
  transform: scale(1.2);
  z-index: 1;
}

img {
  transition: transform 0.3s ease;
}
img:hover {
  transform: scale(1.2);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px white;
  border-radius: 8px;
}

.close-btn {
  color: white;
  font-size: 1.2rem;
  background-color: #444;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.close-btn:hover {
  background-color: #222;
}
