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

.header-menu {
	position: fixed;
	top: 3vw;
	z-index: 10;
	width: 100vw;
	background-color: rgba(63, 60, 53, 0.9);
	padding: 0;
	color: white;
	text-align: center;
	height: 5vw;
	transition: transform 0.3s ease;
}

.header-menu.header-hidden {
	transform: translateY(-8vw);
}

.menu-container {
	display: flex;
	justify-content: space-between;
	align-items: center; /* Assure que tout est centré verticalement */
	height: 100%; /* Uniformiser la hauteur */
	padding-right: 1vw;
	padding-left: 1vw;
}

.menu-links {
	display: flex;
	justify-content: flex-end;
	gap: 2vw;
	padding-top: 0.3em;
	padding-right: 2vw;
	line-height: 1em;
	align-items: center; /* Ajouté pour centrer verticalement les liens */
}

.menu-links a {
	color: white;
	text-decoration: none;
	font-family: 'Poppins', sans-serif;
	font-size: 1.2vw;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
}

.menu-links a.special-link {
	background-color: rgb(93, 91, 82); /* Couleur de fond */
	padding: 0.8vw 1.5vw 0.8vw 1.5vw; /* Espace à l'intérieur du rectangle */
	border-radius: 30px; /* Bord arrondi */
	position: relative;
	/*top: -0.2em;*/
}

.menu-links a:hover {
	text-decoration: underline;
}

.logo {
	display: flex;
	align-items: center; /* Centrer verticalement le logo */
	align-self: center; /* Assurez-vous que le logo est bien aligné par rapport aux autres éléments */
}

.logo span {
	font-size: 1.3em;
	font-weight: bold;
	font-family: 'FinalSix', sans-serif;
	line-height: 1; /* Alignement vertical plus précis */
	display: flex;
	align-items: center;
	/*padding-left: 2em;*/
}

.logo span img {
	position: relative;
	/*top: -0.1vw;*/
	left: 1vw;
	width: 16vw;
}

.header-top {
	position: fixed;
	top: 0;
	z-index: 9;
	width: 100vw;
	background-color: rgba(165, 160, 150, 0.9);
	margin-top: 0;
	display: flex;
	justify-content: right;
	gap: 2vw;
	transition: transform 0.3s ease;
}

.header-top.header-hidden {
	transform: translateY(-100%);
}

.header-top a {
	position: relative;
	top: 0.2vw;
	font-size: 1.2vw;
	text-decoration: none;
	color: white;
	font-family: 'Poppins', sans-serif;
	padding-right: 2vw;
	line-height: clamp(2.6em, 1.5vw, 3em);
}

.header-top a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .menu-links a[href="filiere-chanvre"]::after {
	content: "DÉVELOPPER";
  }
  
  .menu-links a[href="paiements-services-environnementaux"]::after {
	content: "PSE";
  }
  
  .menu-links a[href="filiere-chanvre"],
  .menu-links a[href="paiements-services-environnementaux"] {
	font-size: 0;
  }
  
  .menu-links a[href="filiere-chanvre"]::after,
  .menu-links a[href="paiements-services-environnementaux"]::after {
	font-size: 1.2vw; /* Ajustez selon vos besoins */
  }
  .menu-links a.special-link {
    padding: 0; /* Espace à l'intérieur du rectangle */
	border-radius: 5px; /* Bord arrondi */
  }

}

.lang-switch {
	display: flex;
	align-items: center;
	padding: 0.5vw;
}

.lang-switch svg {
	width: 24px;
	height: 16px;
}

.lang-switch:hover {
	opacity: 0.8;
	text-decoration: none !important;
}

.flag-icon {
	position: relative;
	top: -0.2vw;
}

/* Animation vague multicolore pour le lien All Hemp */
.all-hemp-wave {
	position: relative;
	color: white !important;
	font-weight: bold;
	padding: 0.3vw 0.8vw;
	border-radius: 5px;
	animation: rainbow-shadow 2s ease-in-out infinite;
	display: inline-block;
	top: -0.4vw;
}

.all-hemp-wave:hover {
	text-decoration: none !important;
	animation-duration: 1s;
}

/*@keyframes rainbow-shadow {
	0% {
		text-shadow:
			0 0 10px #ff0080,
			0 0 20px #ff0080,
			0 0 30px #ff0080,
			2px 2px 5px rgba(255, 0, 128, 0.5);
	}
	16.66% {
		text-shadow:
			0 0 10px #ff8c00,
			0 0 20px #ff8c00,
			0 0 30px #ff8c00,
			2px 2px 5px rgba(255, 140, 0, 0.5);
	}
	33.33% {
		text-shadow:
			0 0 10px #ffff00,
			0 0 20px #ffff00,
			0 0 30px #ffff00,
			2px 2px 5px rgba(255, 255, 0, 0.5);
	}
	50% {
		text-shadow:
			0 0 10px #00ff00,
			0 0 20px #00ff00,
			0 0 30px #00ff00,
			2px 2px 5px rgba(0, 255, 0, 0.5);
	}
	66.66% {
		text-shadow:
			0 0 10px #00ffff,
			0 0 20px #00ffff,
			0 0 30px #00ffff,
			2px 2px 5px rgba(0, 255, 255, 0.5);
	}
	83.33% {
		text-shadow:
			0 0 10px #8000ff,
			0 0 20px #8000ff,
			0 0 30px #8000ff,
			2px 2px 5px rgba(128, 0, 255, 0.5);
	}
	100% {
		text-shadow:
			0 0 10px #ff0080,
			0 0 20px #ff0080,
			0 0 30px #ff0080,
			2px 2px 5px rgba(255, 0, 128, 0.5);
	}
}*/

@keyframes rainbow-shadow {
	0% {
		text-shadow:
			0 0 10px rgb(228, 118, 0),
			0 0 20px rgb(228, 118, 0),
			0 0 30px rgb(228, 118, 0),
			2px 2px 5px rgb(228, 118, 0);
	}
	40% {
		text-shadow:
			0 0 10px rgb(228, 118, 0),
			0 0 20px rgb(228, 118, 0),
			0 0 30px rgb(228, 118, 0),
			2px 2px 5px rgb(228, 118, 0);
	}
	60% {
		text-shadow:
			0 0 10px rgb(183,194,103),
			0 0 20px rgb(183,194,103),
			0 0 30px rgb(183,194,103),
			2px 2px 5px rgba(0, 255, 0, 0.5);
	}
	100% {
		text-shadow:
			0 0 10px rgba(146, 221, 58, 1),
			0 0 20px rgba(146, 221, 58, 1),
			0 0 30px rgba(146, 221, 58, 1),
			2px 2px 5px rgba(146, 221, 58, 1);
	}
}