/* Police et fond général */
body {
  font-family: 'Fredoka', 'Arial Rounded MT Bold', sans-serif;
  background-color: #ffffff;
  color: #5a1a41;
  margin: 0;
  padding: 0;
}

/* EN-TÊTE */
header {
  background-color: #ffffff;
  color: #8b0000;
  text-align: center;
  padding: 30px 0;
  border-bottom: 2px solid #ddd;
}

header h1 {
  margin: 0;
  font-size: 36px;
  animation: bounce 1.5s infinite alternate;
}

header p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

/* ANIMATION */
@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

/* NAVIGATION */
nav {
  background-color: #8b0000;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  font-size: 16px;
}

nav a:hover {
  text-decoration: underline;
}

/* CONTENEUR CENTRAL */
.container {
  max-width: 900px;
  background-color: #ffffff;
  padding: 40px;
  margin: 30px auto;
  text-align: center;
}

/* PARAGRAPHES ET LISTES */
p {
  font-size: 1.2em;
  line-height: 1.8;
  background: rgba(255, 220, 180, 0.9);
  padding: 15px;
  border-radius: 10px;
  display: inline-block;
  max-width: 100%;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: rgba(255, 180, 120, 0.9);
  padding: 12px;
  margin: 8px 0;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #5a1a41;
  text-align: left;
}

ul li:hover {
  background: rgba(255, 80, 50, 0.9);
  color: white;
}

.highlight {
  background: rgba(204, 0, 0, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 10px;
  font-weight: bold;
}

/* TABLEAUX */
h2 {
  color: #8b0000;
  text-align: center;
  margin-top: 40px;
}

table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 16px 24px;
  text-align: center;
  font-size: 1.1em;
}

thead {
  background-color: #8b0000;
  color: white;
}

tbody tr:nth-child(odd) {
  background-color: #ffe5b4;
}

tbody tr:nth-child(even) {
  background-color: #fff1dc;
}

tbody tr:hover {
  background-color: #fbc4ab;
  transition: background-color 0.3s ease;
}

/* IMAGES */
img {
  display: block;
  margin: 20px auto;
  border: 2px solid #b30000;
  border-radius: 10px;
  max-width: 80%;
}