body {
  margin: 0;
  padding: 0;
  background-image: url('img/ferme1.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
  color: #fff; 
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #4CAF50;
  color: white;
  z-index: 1000;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin-top: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

main {
  flex: 1;
  padding-top: 150px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.video-section {
  margin-bottom: 2rem;
  text-align: center;
}

#titre-presentation {
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  padding: auto;
}

.presentation {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: left;
  padding-top: 0%;
}

.presentation-image img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
}

.presentation-texte {
  max-width: 500px;
  text-align: left;
}
.presentation-image,
.presentation-texte {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
}


footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: #ffcc00;
  width: 0%;
  z-index: 2000;
}

#titre-presentation {
  position: relative;
  font-size: 32px;
  color: #b5e853;
  margin: 0 auto 2rem auto;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  width: fit-content;
}

#titre-presentation::after {
  content: "";
  display: block;
  margin: 0.5rem auto 0 auto;
  height: 4px;
  background-color: #b5e853;
  width: 100%;
  border-radius: 2px;
}