body {
	position: relative;
}

body::before {
	content: "";
	position: fixed; /* Pour que l'image de fond reste fixe */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../img/accueil.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
	opacity: 0.25;
	z-index: -1;
}
.container, .container-fluid {
	background-color: white;
}

#accueil {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1001;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 1s ease-in-out;
}

#accueil img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: white;
	padding: 10px 20px;
	z-index: 1000;
	border-bottom: 4px solid rgb(222, 219, 212);
}

nav .navbar-brand {
	margin-right: auto;
	margin-left: 2rem;
}

nav .navbar-nav {
	display: flex;
	align-items: center;
}

nav .nav-item {
	margin-right: 20px;
}

nav .nav-item:last-child {
	margin-left: auto;
	margin-right: 2rem;
}

.inactive-icon {
	opacity: 0.5; /* Réduit l'opacité pour un effet de grisage */
	filter: grayscale(100%); /* Applique un filtre de niveaux de gris */
}

.ruban {
	position: absolute;
	right: -5px;
	top: -5px;
	z-index: 1;
	overflow: hidden;
	width: 75px;
	height: 75px;
	text-align: center;
}

.ruban span {
	font-size: 9px;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
	line-height: 20px;
	transform: rotate(45deg);
	width: 100px;
	display: block;
	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
	position: absolute;
	top: 19px;
	right: -21px;

}

.ruban span::before {
	content: '';
	position: absolute;
	left: 0%;
	top: 100%;
	z-index: -1;
	border-right: 3px solid transparent;
	border-bottom: 3px solid transparent;
}

.ruban span::after {
	content: '';
	position: absolute;
	right: 0%;
	top: 100%;
	z-index: -1;
	border-left: 3px solid transparent;
	border-bottom: 3px solid transparent;
}

/* ORANGE */

.ruban-orange span, .ruban-leclerc2 span {
	background: #ff7800;
	background: linear-gradient(#ffaa5f 0%, #cc5900 100%);
}

.ruban-orange span::before, .ruban-leclerc2 span::before {
	border-left: 3px solid #ff7800;
	border-top: 3px solid #ff7800;
}

.ruban-orange span::after, .ruban-leclerc2 span::after{
	border-right: 3px solid #ff7800;
	border-top: 3px solid #ff7800;
}

/* JAUNE */

.ruban-warning span {
	background: rgba(255, 193, 7, 0.75);
	background: linear-gradient(#FFC107 0%, #9C7500 100%);
}

.ruban-warning span::before {
	border-left: 3px solid #FFC107;
	border-top: 3px solid #FFC107;
}

.ruban-warning span::after {
	border-right: 3px solid #FFC107;
	border-top: 3px solid #FFC107;
}

/* ROUGE */

.ruban-rouge span, .ruban-danger span {
	background: #cc0000;
	background: linear-gradient(#FF5E4D 0%, #cc0000 100%);
}

.ruban-rouge span::before, .ruban-danger span::before  {
	border-left: 3px solid #cc0000;
	border-top: 3px solid #cc0000;
}

.ruban-rouge span::after, .ruban-danger span::after {
	border-right: 3px solid #cc0000;
	border-top: 3px solid #cc0000;
}

/* VERT */

.ruban-vert span, .ruban-success span {
	background: #16B84E;
	background: linear-gradient(#87E990 0%, #16B84E 100%);
}

.ruban-vert span::before, .ruban-success span::before {
	border-left: 3px solid #16B84E;
	border-top: 3px solid #16B84E;
}

.ruban-vert span::after, .ruban-success span::after {
	border-right: 3px solid #16B84E;
	border-top: 3px solid #16B84E;
}

/* BLEU */

.ruban-bleu span, .ruban-leclerc span, .ruban-primary span {
	background: #22427C;
	background: linear-gradient(#318CE7 0%, #22427C 100%);
}

.ruban-bleu span::before, .ruban-leclerc span::before, .ruban-primary span::before {
	border-left: 3px solid #22427C;
	border-top: 3px solid #22427C;
}

.ruban-bleu span::after, .ruban-leclerc span::after, .ruban-primary span::after {
	border-right: 3px solid #22427C;
	border-top: 3px solid #22427C;
}

/* VIOLET */

.ruban-violet span {
	background: #660099;
	background: linear-gradient(#A10684 0%, #660099 100%);
}

.ruban-violet span::before {
	border-left: 3px solid #660099;
	border-top: 3px solid #660099;
}

.ruban-violet span::after {
	border-right: 3px solid #660099;
	border-top: 3px solid #660099;
}

/* DARK */

.ruban-dark span {
	background: #000000;
	background: linear-gradient( #131313 0%, #2C2C2C 100%);
}

.ruban-dark span::before {
	border-left: 3px solid #000000;
	border-top: 3px solid #000000;
}

.ruban-dark span::after {
	border-right: 3px solid #000000;
	border-top: 3px solid #000000;
}

@media (max-width: 991px) { /* Modifié de 767px à 991px pour correspondre à Bootstrap */
	nav .navbar-brand {
		margin-right: 0; /* Supprime la marge à droite du logo */
	}

	nav .navbar-nav {
		display: none; /* Cache le menu horizontal par défaut en mobile */
	}

	.navbar-toggler {
		display: block !important; /* Affiche l'icône "bars" */
	}

	.collapse.navbar-collapse {
		display: none !important; /* Cache le menu repliable initialement */
		position: absolute;
		top: 60px; /* Position sous la barre de navigation */
		left: 0;
		width: 100%;
		background-color: white; /* Fond blanc */
		z-index: 1001; /* Au-dessus des autres éléments */
	}

	.collapse.navbar-collapse.show {
		display: block !important; /* Affiche le menu repliable */
	}

	nav .navbar-nav {
		display: flex;
		flex-direction: column; /* Menu vertical */
		align-items: flex-start; /* Aligne les éléments à gauche */
	}

	nav .nav-item {
		margin: 0; /* Supprime les marges */
		padding: 10px; /* Ajoute un espacement */
		width: 100%; /* Occupe toute la largeur */
		border-bottom: 1px solid #ddd; /* Séparation des éléments */
	}
}