@keyframes translate{
  from{transform: translateX(-10vw)}
  to{transform: translateX(100vw)}
}
.avion{
  animation-name: translate;
  animation-iteration-count: infinite;
  animation-duration: 5s;
  animation-direction: normal;
  animation-timing-function: linear;
}


 
 body {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
  background: #f0f0f0;
  font-family: 'Poppins', sans-serif;
  background-image: url(../ressources/image/tour_eiffel.jpg);
  background-position: center;
  background-size:cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: transparent;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5; /* Blanc cassé pour le fond */
  color: #222;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
  font-family: 'Sail', cursive;
}

header {
  width: 100%;
  height: 60px;
  background: blue;
}

.menu {
  width: 100%;
  height: 60px;
  display: flex;
}

.menu > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.menu ul li {
  list-style: none;
  padding: 20px 25px;
  position: relative;
  color: #fff;
  transition: background 0.3s;
}

.menu ul li:hover {
  background: rgba(0, 0, 0, 0.3);
  color: #FFD700; /* couleur texte au survol */
  cursor: pointer;
}

/* Sous-menus */
.menu ul li ul {
  position: absolute;
  top: 60px;
  left: 0;
  background: red;
  flex-direction: column;
  transform: rotateY(240deg) scale(0);
  transform-origin: top center;
  transition: all 0.8s ease;
  box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
  min-width: 180px;
  z-index: 999;
}

.menu ul li:hover > ul {
  transform: rotateY(0deg) scale(1);
}

/* Flèche au-dessus des sous-menus */
.menu ul li ul::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 8px solid #230338;
  position: absolute;
  top: -8px;
  left: 20px;
}

/* Sous-sous-menus */
.menu ul li ul li ul {
  position: absolute;
  top: 0;
  left: 100%;
  background: #021531;
  transform: rotateY(240deg) scale(0);
  transform-origin: left center;
  transition: all 0.8s ease;
  min-width: 160px;
}

.menu ul li ul li:hover > ul {
  transform: rotateY(0deg) scale(1);
}

.menu ul li ul li ul::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 8px solid #b87113;
  position: absolute;
  left: -8px;
  top: 20px;
}

/* ------------------------------------- */

/* Cacher la checkbox */
#burger-toggle {
  display: none;
}

/* Apparence du bouton burger */
.burger-menu {
  display: none;
  width: 30px;
  height: 25px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1000;
}

.burger-menu span {
  height: 4px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 915px) {
  /* Afficher le bouton burger */
  .burger-menu {
    display: flex;
  }

  /* Cacher le menu au départ */
  .menu > ul {
    display: none;
    flex-direction: column;
    background: #1e035e;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
  }

  /* Quand on coche la case, afficher le menu */
  #burger-toggle:checked + .burger-menu + .menu > ul {
    display: flex;
  }

  /* Sous-menus adaptatifs */
  .menu ul li ul {
    position: static;
    transform: none;
    box-shadow: none;
    background: #022e42b0;
    display: none;
  }

  .menu ul li:hover > ul {
    display: flex;
    flex-direction: column;
  }

  .menu ul li ul li ul {
    position: static;
    background: #330138;
    display: none;
  }

  .menu ul li ul li:hover > ul {
    display: flex;
    flex-direction: column;
  }

  /* Enlever les flèches décoratives sur mobile */
  .menu ul li ul::before,
  .menu ul li ul li ul::before {
    display: none;
  }
}

a, a:hover, a:visited, a:active, a:link{
  color: #fff;
}
section {
  padding: 2rem;
  background-color: white;
  border-bottom: 1px solid #ddd;
}

section h2 {
  color: #EF4135; /* Rouge drapeau français */
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

footer {
  text-align: center;
  background-color: #0055A4;
  color: white;
  padding: 1.5rem;
  font-weight: bold;
}
a {
  color: blue; 
  text-decoration: underline;
  font-weight: bold;
}
.image-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.image-container a {
  flex: 1;
  text-align: center;
}

.image-container img {
  width: 200px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.05); /* effet zoom au survol */
}