
body {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: #ffffcc;
  font-family: "Fjalla One", sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;    
  padding: 20px;     
  box-sizing: border-box; 
}

/* NAV */
header {
  width: 100%;
  z-index: 10;
  position: relative;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.hamburger span {
  background-color: #ffee00;
  width: 100%;
  height: 4px;
  border-radius: 5px;
}

nav {
  display: flex;
  justify-content: center;
  position: fixed;
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
  font-size: 22px;
  width: 100%;
  padding-left: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  font-family: "Fjalla One";
  text-decoration: none;
  color: #ffee00;
  transition: color 0.3s ease;
  padding: 5px;
}

nav ul li::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  border-radius: 20px;
  background-color: #ff6633;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav ul li:hover::before {
  width: 100%;
}

nav ul li a.active {
  border-radius: 7px;
  color: #ff6633;
}

nav ul li a:hover {
  border-radius: 7px;
  color: #ff6633;
}

/* ACCUEIL */
.fond {
  position: relative;
  width: 100%;
  height: auto;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.title {
  text-align: center;
  margin-top: 50vh;
  color:#ff6633;
}

/* TYPO */
.fjalla-one-regular {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ACCUEIL */
@media (min-width: 1024px) {
  .container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .fond {
    height: 160vh;
  }

  .hamburger {
    display: none;
  }
  nav ul {
    display: flex; 
  }
}

/*FORMULAIRE*/
.form {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #ff6633;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  font-weight: bold;
}

.form button {  
  color: #ffffff;
  margin-top: 10px;
  background-color: #ff6633;
  padding: 7px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  transition: transform 0.3s ease;
}

.form button:hover {
  transform: scale(1.03);
  background-color: #ff9fc7;
}


/* RESPONSIVE */
@media (max-width: 576px) {
  nav ul {
    flex-direction: column;
    font-size: 18px;
  }

  .fond {
    height: 40vh;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  .container {
    grid-template-columns: 1fr;
    padding: 0 10px;
    margin: 10px;
  }

  h1 {
    font-size: 1.5rem;
    margin-top: 20px;
    color:#ff6633;
  }
}


/*PAGE LISTING*/
/* Style général du tableau */
table {
  width: 100%;
  top: 15vh;
  position: absolute;
  border-collapse: collapse;
  padding: 20vh;
  font-family: "Fjalla One", sans-serif;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Style pour l'en-tête du tableau */
thead {
  background-color: #63ceffd5;
  color: white;
}

/* Style pour les cellules de l'en-tête */
thead td {
  padding: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}

/* Style pour le corps du tableau */
tbody tr {
  border-bottom: 1px solid #ddd;
}

/* Style pour les cellules du corps */
tbody td {
  padding: 12px;
  text-align: center;
  font-size: 14px;
}

/* Ajout d'un effet au survol des lignes */
tbody tr:hover {
  background-color: #f1f1f1;
}

/* Style pour les images dans les cellules */
tbody td img {
  width: 100px;
  height: auto;
  border-radius: 5px;
}

/* Style pour les bordures de cellules */
td {
  border: 1px solid #ddd;
}

/* Style pour l'alignement des images */
td img {
  display: block;
  margin: 0 auto;
}

/*PAGE LISTING*/


/* Conteneur des boutons */
.button-container {
  display: flex;
  justify-content: center; 
  gap: 20px;              
  margin-top: 20px;       
}

/* Style pour les boutons */
.button-container button {
  padding: 10px 20px;      
  font-size: 16px;         
  font-weight: bold;    
  color: #fff;              
  background-color: #ff6633; 
  border: none;               
  border-radius: 5px;        
  cursor: pointer;          
  transition: background-color 0.3s, transform 0.3s ease; 
}

/* Effet au survol des boutons */
.button-container button:hover {
  background-color: #ff9
}

/* Style pour le lien */
a {
  display: inline-block;       /* Pour pouvoir ajouter des propriétés comme le padding */
  padding: 10px 20px;          /* Espacement interne (hauteur et largeur) */
  font-size: 16px;             /* Taille du texte */
  font-weight: bold;           /* Texte en gras */
  text-decoration: none;       /* Retirer le soulignement par défaut */
  color: white;                /* Couleur du texte */
  background-color: #ff6633;  
  border-radius: 5px;       
  transition: background-color 0.3s, transform 0.3s ease; 
}

/* Effet au survol du lien */
a:hover {
  background-color: #ffe1ed; 
  transform: scale(1.05);      
}

/* Effet au clic sur le lien */
a:active {
  transform: scale(1);        
}
