* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	background-color: #fff4e4;
}

/* Optionnel: Utilisation de la police 'Press Start 2P' pour l'effet LCD */
@font-face {
  font-family: 'Frenchy';
  src: url('fonts/Frenchy-Regular.otf') format('opentype'),
       url('fonts/Frenchy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Optionnel: Utilisation de la police 'Press Start 2P' pour l'effet LCD */
@font-face {
  font-family: 'Chapaza';
  src: url('fonts/Chapaza.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Optionnel: Utilisation de la police 'Press Start 2P' pour l'effet LCD */
@font-face {
  font-family: 'Chapaza-Italic';
  src: url('fonts/Chapaza-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}



/* =========== HEADER =========== */
header {
  background-color: #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

/* Appliquer la police au menu de navigation et aux titres des sections */
header nav a,
section h2 {
  font-family: 'Chapaza', sans-serif;
}

header .logo img {
  height: 6.5vh; /* ajustez la taille de votre logo */
	min-height:40px;
}

header nav ul {
  list-style-type: none;
  display: flex;
  margin: 0;
}

header nav ul li {
  margin: 0 25px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: clamp(20px, 1.9vw, 35px);
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #f7aaa3;
}

header nav ul li a.active {
  color: #d07b74;
}

/* Dropdown styles */
header .dropdown {
  position: relative;
  display: inline-block;
}

header .dropbtn {
  background-color: #333;
  color: #f7aaa3;
  padding: 12px 20px;
  font-size: clamp(20px, 1.6vw, 30px);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Chapaza-Italic";
}

header .dropbtn:hover {
  background-color: #f7aaa3;
  color:white;
}

header .dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

header .dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: clamp(15px, 1.3vw, 22px);
}

header .dropdown-content a:hover {
  background-color: #f7aaa3;
}

/* Show the dropdown menu when hovered */
header .dropdown:hover .dropdown-content {
  display: block;
}

	/* Affichage du menu burger (caché par défaut sur grand écran) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 10px;
}



/* =========== SMALL WINDOW SETTINGS =========== */


/* Adaptation du header pour les petits écrans */
@media screen and (max-width: 1000px) {
  header {
	width: 100%; /* Utilise toute la largeur */
  display: flex;
  flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si besoin */
/*justify-content: space-between;*/
  padding: 0;
  }

  .logo {
	display: flex;
  gap: 15px; /* Espacement entre les éléments de gauche */
  margin-left:10px;

  }
  
  .menu-toggle {
    display: flex;
  margin-left:10px;
  }

	.dropdown{
	  margin-left: auto; /* Pousse l'élément 3 à droite */
		min-width:150px;:
	}

  header nav {
    /*flex-wrap: wrap;  Permet aux éléments de passer à la ligne si besoin */
 /*justify-content: space-evenly;*/
 display: flex;
  justify-content: space-between;
  align-items: center;
	padding:0px;
	width:100%;
  }

  header nav ul {
    display: none; /* Caché par défaut */
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  header nav ul li {
    margin: 10px 0;
  }

  header nav ul li a {
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }

  /* Afficher le menu lorsque la classe "active" est ajoutée */
  header nav ul.active {
    display: flex;
  }
  
  }