/* Base styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

/* Header commun */
header {
  background: rgba(126, 180, 230, 1);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* Barre de menu commune */
.menu-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(126, 180, 230, 1);
  padding: 10px 0;
}

.menu-bar .menu-item {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.menu-bar .menu-item svg {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.menu-bar .menu-item.active {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-underline-offset: 7px;
  text-decoration-thickness: 3px;
}

/* Navigation classique (pour les pages utilisant des menus en liste) */
nav ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Hero section */
.hero {
  position: relative;
  background: url('perso/quiz-hero.jpg') no-repeat center center/cover;
  color: #fff;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-content h2,
.hero-content p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Bouton */
.btn {
  display: inline-block;
  background: rgba(126, 180, 230, 1);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1em;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #5a9bd4;
}

/* Section info */
.info {
  padding: 40px 0;
  background: #f4f4f4;
  text-align: center;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/* Responsive design */
@media (max-width: 600px) {
  .hero {
    height: auto;
    padding: 60px 20px;
  }
  
  .hero-content h2 {
    font-size: 1.8em;
  }
}
