/* Global Styles */
body, html {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
}

header {
	text-align: center;
	padding: 20px;
	background-color: #f4f4f4;
	background: 
	linear-gradient(
		to bottom,
		rgba(244, 244, 244, 0.9), 
		rgba(244, 244, 244, 0.9)
	),
	url('../pics/design/logo.png');
	background-position: center;
	background-repeat: repeat;
	background-size: 5%;
}

header img {
	max-width: 100%;
	height: 150px;
}

.navbar {
	background-color: #333;
}

.menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	position: relative;
}

.menu > li {
	position: relative;
}

.menu > li > a {
	display: block;
	padding: 15px 20px;
	color: white;
	text-decoration: none;
	background-color: #333;
}

.menu > li:hover > a {
	background-color: #444;
}

.submenu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	padding: 0;
	margin: 0;
	background-color: #333;
	display: none;
	z-index: 10; /* S'assurer que les sous-menus sont devant */
}

.submenu > li > a {
	padding: 10px 15px;
	color: white;
	text-decoration: none;
	display: block;
	white-space: nowrap;
}

.submenu > li > a:hover {
	background-color: #444;
}

.menu > li:hover .submenu {
	display: block;
}

/* Contenu Principal */
.content {
	padding: 0px;
	min-height: 400px;
	background-color: #f9f9f9;
	z-index: 1;
	position: relative; /* Pour s'assurer que les sous-menus passent par-dessus */
}

.main_container {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* Limite à 2 sections par ligne */
	justify-content: center;
	gap: 20px;
	padding: 10px;
	width: 100%;
}

/* Style des sections */
.section {
	background-color: transparent;
	border: 2px solid #9147ff;
	border-radius: 8px;
	padding: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.section_titre {
	background-color: transparent;
	padding: 10px;
	text-align: center;
	grid-column: span 2;
}

/* Contenu de chaque section (image + texte) */
.section .content {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 20px; /* Espace entre l'image et le texte */
}

/* Images des sections */
.section img {
	max-height: 150px; /* Limite la hauteur de l'image pour qu'elle ne dépasse pas le texte */
	width: auto; /* Maintient le ratio d'aspect de l'image */
	border-radius: 8px;
}

/* Titres des sections */
.section_titre h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #6441a5;
	line-height: 1.6;
	margin: 10px 10px 0 10px;
	padding: 10px;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

/* Sous-Titres des sections */
.section_titre h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #ff0000;
	line-height: 1.6;
	margin: 0 0 0 10px;
	padding: 10px;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

/* Textes des sections */
.section p {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #333;
	line-height: 1.6;
	text-align: justify;
	margin: 20px;
	padding: 10px;
	text-transform: none;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

/* Footer */
footer {
	padding: 20px 10px;
	background-color: #333;
	color: white;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
}
			
.footer-left, .footer-center, .footer-right {
	display: flex;
	align-items: center;
}
			
/* Styles pour les icônes des réseaux sociaux */
.footer-left a {
	color: #fff;
	margin-right: 15px;
	font-size: 20px;
	text-decoration: none;
}

.footer-left a:hover {
	color: #ff6f61;
}

/* Styles pour les Google Ads */
.footer-center {
	flex: 1; /* Prend tout l'espace au centre */
	text-align: center;
}

.google-ads {
	background-color: #eee;
	color: #333;
	padding: 10px;
	border-radius: 5px;
}

/* Styles pour les drapeaux de langues */
.footer-right a {
	margin-left: 15px;
}

.footer-right img {
	width: 30px; /* Taille des drapeaux */
	height: auto;
}

/* Media Queries pour mobiles */
.menu-toggle {
	display: none;
	padding: 14px 20px;
	color: white;
	background-color: #333;
	text-align: center;
	cursor: pointer;
}

/* LogIn */
.login-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 20px;
	align-items: center;
}

.login_section {
	background-color: #ffffff;
	width: 100%;
	max-width: 450px;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	display: grid;
	gap: 20px; /* Espace entre les éléments */
}

.login_section h1 {
	margin-bottom: 20px;
	font-size: 24px;
	color: #333;
}

.login_section h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #6441a5;
	line-height: 1.6;
	margin: 5px 5px 0 5px;
	padding: 10px;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

.login_section h3 {
	font-family: 'Roboto', sans-serif;
	margin-bottom: 5px;
	font-size: 12px;
	color: #ff0000;
}

.login_section input {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}

.login_section input:focus {
	border-color: #9147ff; /* Couleur d'accent Twitch */
	outline: none;
	box-shadow: 0 0 5px rgba(145, 71, 255, 0.3);
}

.login_section button {
	width: 100%;
	padding: 10px;
	font-size: 16px;
	background-color: #9147ff; /* Couleur principale Twitch */
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.login_section button:hover {
	background-color: #732cc2;
}

.login_section a {
	display: block;
	margin-top: 15px;
	font-size: 14px;
	color: #9147ff;
	text-decoration: none;
}

.login_section a:hover {
	text-decoration: underline;
}

/* Replay */
.replay_container {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Limite à 2 sections par ligne */
	justify-content: center;
	gap: 20px;
	padding: 20px;
}

.replay_section {
	background-color: transparent;
	border: 2px solid #9147ff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.replay_section h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #6441a5;
	line-height: 1.6;
	margin: 20px 20px 0 20px;
	padding: 10px;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

.replay_section_centre {
	background-color: transparent;
	padding: 20px;
	text-align: center;
}

.replay_section_centre_3 h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #6441a5;
	line-height: 1.6;
	margin: 20px 20px 0 20px;
	padding: 10px;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

.replay_section_centre_3 {
	background-color: transparent;
	padding: 20px;
	text-align: center;
	grid-column: span 3;
}

.replay_section input {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	background-repeat: no-repeat;
    background-position: right center; /* Positionner l'image */
    background-size: 30px 30px; /* Ajuster la taille de l'image */
}

.replay_section select {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}

.replay_button {
	padding: 10px;
	font-size: 16px;
	background-color: #9147ff; /* Couleur principale Twitch */
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.replay_section label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.replay_section input[type="checkbox"] {
	margin-top: 0px;
    margin-right: 8px;
	width: auto !important; /* Force la largeur auto pour les checkboxes */
}

/* Profil */
.profile-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Limite à 3 sections par ligne */
	justify-content: center;
	gap: 20px;
	padding: 20px;
}

.profile_section {
	background-color: transparent;
	border: 2px solid #9147ff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.profile_section_centre {
	background-color: transparent;
	padding: 20px;
	text-align: center;
	grid-column: span 3;
}

.profile_section h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #6441a5;
	line-height: 1.6;
	margin: 20px 20px 0 20px;
	padding: 10px;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

.profile_button {
	padding: 10px;
	font-size: 16px;
	background-color: #9147ff; /* Couleur principale Twitch */
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.profile_section input {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	background-repeat: no-repeat;
    background-position: right center; /* Positionner l'image */
    background-size: 30px 30px; /* Ajuster la taille de l'image */
}

.profile_section select {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}

/* Statistiques Jeux */
.jeuxstat_container {
	display: grid;
	grid-template-columns: repeat(1, 1fr); /* Limite à 1 sections par ligne */
	justify-content: center;
	gap: 20px;
	padding: 20px;
}

.jeuxstat_section {
	background-color: transparent;
	border: 2px solid #9147ff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.jeuxstat_section h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #6441a5;
	line-height: 1.6;
	margin: 20px 20px 0 20px;
	padding: 10px;
	text-transform: capitalize;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border-radius: 8px;
}

.jeuxstat_section input {
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	background-repeat: no-repeat;
    background-position: right center; /* Positionner l'image */
    background-size: 30px 30px; /* Ajuster la taille de l'image */
}

/* Présentation des streamers */
/* Structure générale du livre */
.book {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 50px auto;
	perspective: 1000px;
	width: 80%;
	max-width: 900px;
}

/* Style pour les pages gauche et droite */
.page {
	background-color: #fff;
	border: 2px solid #d1b78c;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	padding: 20px;
	width: 60%;
	height: 540px;
	position: relative;
	transform: rotateY(0);
}

.left {
	border-right: none;
	transform-origin: left center;
}

.right {
	border-left: none;
	transform-origin: right center;
}

/* Styles pour l'avatar */
.avatar img {
	width: 400px; /* Largeur fixe */
	height: 500px; /* Hauteur fixe */
	border-radius: 10px;
	object-fit: scale-down; /* Permet de redimensionner tout en gardant les proportions */
	object-position: center; /* Centre l'image à l'intérieur du cadre */
	border: 2px solid #d1b78c; /* Optionnel : ajoute une bordure pour uniformiser le style */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optionnel : ajoute un léger effet d'ombre */
}

/* Styles pour la description */
.description h2 {
	margin-top: 0;
	font-size: 24px;
	color: #333;
}

.description p {
	font-size: 16px;
	line-height: 1.5;
	color: #666;
}

/* Styles pour les liens des réseaux sociaux */
.socials img {
	width: 40px; /* Largeur fixe */
	height: 40px; /* Hauteur fixe */
	object-fit: scale-down; /* Permet de redimensionner tout en gardant les proportions */
	object-position: center; /* Centre l'image à l'intérieur du cadre */
}

/* Navigation boutons (positionnés en bas) */
.navigation-buttons {
	display: flex;
	justify-content: space-between;
	padding: 0px;
	width: 100%;
	background-color: #f8f8f8;
	position: sticky;
	bottom: 0; /* Les boutons restent en bas de la page */
}

/* Style des boutons */
.navigation-buttons button {
	padding: 10px 20px;
	background-color: #d1b78c;
	color: white;
	font-size: 16px;
	border: none;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.navigation-buttons button:hover {
	background-color: #b6976b;
}

.navigation-buttons .prev-button {
	margin-left: 0px; /* Espace à gauche */
}

.navigation-buttons .next-button {
	margin-right: 0px; /* Espace à droite */
}

.couleur_rouge {
	color: #ff0000;
}

@media (max-width: 768px) {
	.menu {
		display: none;
		flex-direction: column;
		align-items: flex-start;
	}

	.menu-active {
		display: flex;
	}

	.menu-toggle {
		display: block;
	}

	.menu > li {
		width: 100%;
	}

	.menu > li > a {
		width: 100%;
		padding: 15px;
	}

	.submenu {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
	}

	.menu-active .submenu {
		display: block;
		padding-left: 20px;
	}

	.footer-container {
		flex-direction: column;
		text-align: center;
	}

	.footer-left, .footer-center, .footer-right {
		margin: 10px 0;
	}

	.container {
		grid-template-columns: 1fr; /* Passe à 1 colonne sur les petits écrans */
	}

	.section {
		max-width: 45%;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	/* Pour l'affichage sur petits écrans, on met l'image au-dessus du texte */
	.section .content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}