/*************** NAV*************/
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	width: 100%;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 2rem;
}

nav ul li a {
	text-decoration: none;
	color: #808080;
	font-size: 2rem;
	transition: color 0.3s ease;
}

nav ul li a:hover {
	color: #9e2d66;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	width: 15rem;
	height: 8rem;
	margin-right: 1rem;
}

/******* TITRE GRADIENT CYBERCHALL ********/
.gradient-title {
	font-size: 5rem;
	font-weight: bold;
	background: linear-gradient(90deg, #d1b3ff, #ff6b6b, #4ff1f1, #fff58c);
	background-size: 200% auto;
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: shineGradient 6s linear infinite;
}

@keyframes shineGradient { 0% {
	background-position: 0% center;
}
100%
{
background-position: 200% center;
}
}

/* --- Menu burger --- */
.burger {
	display: none;
	flex-direction: column;
	gap: 0.3125rem;
	cursor: pointer;
}

.burger span {
	height: 0.1875rem;
	width: 1.5625rem;
	background-color: white;
	border-radius: 2px;
}

/* --- Responsive --- */
@media ( max-width : 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 5rem;
		right: 0;
		background-color: #212529; 
		width: 100%;
		padding: 1rem;
	}
	.nav-links.active {
		display: flex;
	}
	.burger {
		display: flex;
	}
	.nav-links li {
		margin: 1rem 0;
		text-align: center;
	}
	.nav-links li a {
		font-size: 1.5rem;
	}
	.dropdown-menu {
		position: static;
		background-color: transparent;
		display: none;
		padding-left: 0;
	}
	.nav-item.dropdown:hover .dropdown-menu {
		display: block;
	}
	
	.logo img {
		width: 8rem;
		height: auto;
	}
	
	.app-title {
		font-size: 1.5rem;
		margin-left: 0.5rem;
	}
	
	.nav-container {
		flex-wrap: wrap;
	}
	
	.logo, .app-title {
		flex: 1 1 100%;
		text-align: center;
	}
	
	#deco {
    font-size: 1rem;  
    padding: 0.4em 0.8em;
    border-radius: 6px;
  }
  
  .floating-tags-container {
    display: none;
  }
}

/*************** DROPDOWN (Commun Desktop + Mobile) *************/
.nav-item {
	position: relative;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1000;
	min-width: 11.25rem;
	list-style: none;
	background-color: #982760;
	padding: 0;
	margin: 0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-item:hover .dropdown-menu,
.dropdown-menu.show {
	display: block;
}

.dropdown-item {
	padding: 0.5rem 1rem;
	font-weight: 400;
	opacity: 0.9;
	white-space: nowrap;
	color: white;
	text-decoration: none;
	display: block;
}

.dropdown-item:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/********** ACCESSIBILITÉ  ********/
.nav-links li:last-child {
	position: relative;
}

.accessibility-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 0.3rem 0;
	z-index: 1000;
	min-width: 11.25rem;
	list-style: none;
}

.accessibility-menu.show {
	display: block;
}

.roue {
	position: relative;
	z-index: 1100;
	cursor: pointer;
	user-select: none;
	display: inline-block;
	padding: 0.3rem;
}

#accessibilityMenu li {
	background-color: #9e2d66;
	border-bottom: 1px solid #222;
	width: max-content;
	min-height: 4rem;
}

#accessibilityMenu li a {
	color: white;
	text-align: right;
	padding: 1.8rem;
}


#typed-title::after, #typed-text::after {
	content: '|';
	animation: blink 1s infinite;
	color: #982760;
}

/*************** NAV-MINIMAL*************/

/*******bouton déconnexion ************/
#deco {
	background-color: #9e2d66;
	color: white;
	padding: 0.7em 1.4em;
	font-size: 1.8rem;
  	letter-spacing: 0.0625rem;
  	cursor: pointer;
}

#roue {
	font-size: 2.5rem;
}

.nav-header {
	position: relative;
	height: 5rem;
	display: flex;
	align-items: center;
	z-index: 1000;
}

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

.nav-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.nav-link {
	text-decoration: none;
	font-weight: 500;
}

.burger-icon {
	font-size: 4rem;
	cursor: pointer;
	user-select: none;
}

.full-menu {
	position: absolute;
	top: 7rem;
	right: 1.25rem;
	background-color: #982760;
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	width: 15.75rem;
}

.full-menu.open {
	max-height: 35rem;
  	min-width: 17rem;
}

.full-menu li {
	border-bottom: 1px solid #222;
}

.full-menu li a {
	display: block;
	width: auto;
	padding: 1rem;
	color: white;
	text-decoration: none;
	text-align: right;
}

.full-menu li a:hover {
	background-color: #FF6856;
}

/* Responsive */
@media ( max-width : 768px) {
	.nav-title {
		font-size: 1.125rem;
	}
	.nav-link {
		font-size: 0.875rem;
	}
	.burger-icon {
		font-size: 1.75rem;
	}
}

.accessibility-menu {
	position: absolute;
	top: 5rem;
	right: 1.25rem;
	background-color: #982760;
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	width: 13.75rem;
	border-radius: 6px;
	z-index: 1000;
}

.accessibility-menu.open {
	max-height: 18.75rem;
}

.accessibility-menu li {
	border-bottom: 1px solid #222;
}

.accessibility-menu li a {
	display: block;
	padding: 0.75rem 1rem;
	color: white;
	text-decoration: none;
	text-align: right;
}

.accessibility-menu li a:hover {
	background-color: #FF6856;
}


/********** NAV TEMPORAIRE *********/
#nav-temporaire .nav-container{
	justify-content: end;
	margin: 1rem;
}

#nav-temporaire .app-title {
	margin-right: 32rem;
}

#nav-temporaire .logo {
	margin-right: 27rem;
}