/* ------------------------------
   STYLE GLOBAL
--------------------------------*/
body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding-top: 60px;
  background: #000000; /* Fond noir */
  color: #ffffff;      /* Texte blanc */
  margin: 0;
}

/* ------------------------------
   SECTIONS PRINCIPALES
--------------------------------*/
.main {
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* ------------------------------
   BOUTON ROUGE FONCÉ
--------------------------------*/
a.button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #8B0000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 18px;
  transition: 0.2s;
}

a.button:hover {
  background: #a30000;
}

/* ------------------------------
   GALERIE D’IMAGES
--------------------------------*/
.gallery {
  margin-top: 40px;
}

/* Animation de rotation douce */
@keyframes slowRotate {
  0%   { transform: rotate(-5deg); }
  50%  { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}

.gallery img {
  max-width: 140px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255,255,255,0.15);
  animation: slowRotate 6s ease-in-out infinite;
}

/* ------------------------------
   LIGNE DE SÉPARATION
--------------------------------*/
hr {
  width: 50%;
  margin: 40px auto;
  border: 1px solid #444;
}

/* ------------------------------
   FOOTER
--------------------------------*/
.footer {
  margin-top: 40px;
  font-size: 14px;
  color: #cccccc;
}

/* ------------------------------
   GRAPHIQUES (Chart.js)
--------------------------------*/
canvas {
  max-width: 700px;
  width: 90%;
  margin: 40px auto;
  display: block;
  background: #111;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
}
