* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ecf0f1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

.affiche-container {
  height: 100%;
  max-height: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #e74c3c;
  color: white;
  border-radius: 15px;
  padding: 20px;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.slogan {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: white;
}

.carousel {
  display: flex;
  flex-direction: row;
  width: max-content;
  animation: scrollHorizontal 30s linear infinite;
  animation-play-state: running;
}

.carousel img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.05);
}

@keyframes scrollHorizontal {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Plein écran */
.fullscreen {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: rgba(0,0,0,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.fullscreen.active {
  display: flex;
}


.fullscreen img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 600px) {
  .carousel img {
    max-width: 200px;
  }

  .title {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1rem;
  }
}
.menu-boutons {
  text-align: center;
  margin-top: 20px;
}