/* =========================
   BASE
========================= */

body {
  margin: 0;
  font-family: 'Oswald', sans-serif;
}

/* =========================
   FOND DE PAGE
========================= */

.decoration-de-fond4 {
  min-height: 100vh;
  background: linear-gradient(135deg, #000000, #5e5e5e, #535353);
  padding-bottom: 60px;
}

/* =========================
   NAVIGATION
========================= */

nav {
  background-color: #111;
  padding: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 20px;
}

nav ul li {
  margin: 0 15px;
}

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

nav ul li a:hover {
  color: red;
}

/* =========================
   SECTION BOXEURS
========================= */

.boxeurs {
  background-color: #111;
  color: white;
  padding: 60px;
  margin: 60px auto;
  width: 90%;
  max-width: 1200px;
  box-shadow: 8px 8px 0 black;
}

/* Titre */

.boxeurs h2 {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 40px;
  border-bottom: 4px solid red;
  padding-bottom: 10px;
}

/* Grille */

.boxeurs-grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Carte boxeur */

.boxeur {
  background-color: #1a1a1a;
  padding: 25px;
  border-left: 4px solid red;
  text-align: center;
}

/* Image */

.boxeur img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
  box-shadow: 6px 6px 0 black;
}

/* Texte */

.boxeur h3 {
  margin-bottom: 15px;
}

.boxeur p {
  line-height: 1.6;
  font-size: 16px;
}

/* Responsive */

@media (max-width: 900px) {
  .boxeurs-grille {
    grid-template-columns: 1fr;
  }
}

section {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* cartes cliquables */

.boxeur {
  text-decoration: none;
  color: white;
  transition: 0.3s;
  cursor: pointer;
  }
  
  .boxeur:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px black;
  border-left: 4px solid #ff0000;
  }
  
  .boxeur img {
  transition: 0.3s;
  }
  
  .boxeur:hover img {
  transform: scale(1.05);
  }

  /* =========================
   FICHE BOXEUR
========================= */

.fiche-boxeur {
  background: #111;
  color: white;
  max-width: 1000px;
  margin: 60px auto;
  padding: 50px;
  box-shadow: 8px 8px 0 black;
}

/* titre principal */

.fiche-boxeur h1 {
  font-size: 42px;
  text-transform: uppercase;
  border-bottom: 4px solid red;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

/* photo du boxeur */

.photo-boxeur {
  width: 300px;
  height: 380px;
  object-fit: cover;
  display: block;
  margin: 30px auto;
  box-shadow: 8px 8px 0 black;
  transition: transform 0.3s;
}

.photo-boxeur:hover {
  transform: scale(1.05);
}

/* sous titres */

.fiche-boxeur h2 {
  margin-top: 40px;
  border-left: 4px solid red;
  padding-left: 10px;
  font-size: 26px;
}

/* paragraphes */

.fiche-boxeur p {
  line-height: 1.7;
  font-size: 17px;
  margin-bottom: 15px;
}

/* listes */

.fiche-boxeur ul {
  margin-left: 20px;
  line-height: 1.7;
  font-size: 16px;
}

.fiche-boxeur li {
  margin-bottom: 6px;
}

/* animation d'apparition */

.fiche-boxeur {
  animation: slideBoxeur 0.7s ease;
}

@keyframes slideBoxeur {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


