body {
    font-family: 'Roboto', sans-serif;
}

/* Flouter le fond lorsqu'on ajoute la classe .blurred au #page-container */
#page-container.blurred {
    filter: blur(15px);
    overflow: hidden; /* Empêche le scroll en arrière-plan */
}

/* Style pour l'overlay du popup */
.popup-overlay {
    position: fixed;
    top: 5px; /* Ajustez selon vos besoins */
    left: 5%; /* Ajustez selon vos besoins */
    width: 90%; /* Ajustez selon vos besoins */
    height: 98%; /* Ajustez selon vos besoins */
    background: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    z-index: 11000; /* Assurez-vous que cette valeur est supérieure à tous les autres z-index */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none; /* Empêche le flou sur le popup */
	border-radius: 15px;
}

/* Styles pour le contenu du popup */
.popup-content-flog {
    background-color: #171515;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
	border-radius: 15px;
}

/* Style pour la croix de fermeture */
.close-popup-f {
    position: absolute;
    top: 0px;
    right: 15px;
    background: none;
    border: none;
    font-size: 45px;
    color: white;
    cursor: pointer;
    z-index: 12000; /* Assurez-vous que le bouton est toujours au-dessus du reste du contenu */
    transition: color 0.3s ease;
	width: auto !important;
}

.close-popup-f:hover {
    color: #DF1366; /* Change la couleur au survol */
}

/* Style pour la partie supérieure avec l'image de fond */
.popup-header {
    position: relative; /* Crée un nouveau contexte de positionnement */
    background-image: url('/images/first_popup_h.webp'); /* Remplacez par votre image */
    background-size: cover;
    background-position: center;
    height: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Pseudo-élément pour la superposition semi-transparente */
.popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Noir transparent */
    z-index: 1; /* Au-dessus de l'image de fond, mais en-dessous du contenu */
}


.popup-header .header-content {
    position: relative;
    z-index: 2; /* Au-dessus de la superposition */
    text-align: center;
    color: white;
}

.popup-header h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.picnosia-logo {
    width: 75px;
    margin-bottom: 0.5em;
	margin-top: -25px;
	margin-right: 10px;
}

.popup-header-titre {
    font-size: 4.4em;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
}

.popup-header .subtitle {
    font-size: 1.2em;
    margin-top: 0;
}

/* Style pour le corps du popup */
.popup-body {
    padding: 20px;
    color: white;
	margin-top: 11px;
}

.rule {
    margin-bottom: 20px;
}

.rule-icon {
    width: 16px; /* Ajustez la taille selon vos besoins */
    height: 16px; /* Ajustez la taille selon vos besoins */
    margin-right: 10px; /* Ajoutez un peu d'espace entre l'image et le texte */
    vertical-align: middle; /* Aligne l'image avec le texte */
	margin-top: -2px;
}


.popup-header-soustitre {
    font-size: 1.2em;
	color: #DF1366;
}

.rule p {
    margin-top: 0.5em;
	font-size: 1em;
}

/* Styles pour la liste des règles */
.rule-list {
    list-style-type: disc; /* Utilise des puces */
    margin-left: 20px; /* Indente un peu la liste */
    margin-top: 10px;
    color: white;
}

.rule-list li {
    margin-bottom: 10px; /* Ajoute de l'espace entre les éléments de la liste */
    font-size: 1em;
    line-height: 1em; /* Espace entre les lignes */
}

.rule-list li strong {
    color: white; /* Met en évidence les sous-titres (Format, Styling, etc.) */
}


/* Style pour le bouton de fermeture */
.popup-footer {
    text-align: center;
    margin-bottom: 20px;
}

.back-home-button {
    width: 50%;
    padding: 10px;
    background-image: linear-gradient(to right, #E50A62, #5F84C2) !important;
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 1px;
    font-family: 'Roboto', sans-serif;
}

.back-home-button:hover {
    background-image: linear-gradient(to right, #ff3399, #9933ff) !important;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6) !important;
}

/* Conteneur pour aligner le lien sous le bouton */
.dont-show-again-container {
    margin-top: 10px;
    text-align: center;
}

/* Style du lien "Don't show again" */
.dont-show-again-link {
    color: white; /* Couleur par défaut blanche */
    text-decoration: none; /* Supprimer le soulignement par défaut */
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s ease; /* Transition pour le survol */
}

/* Couleur rose au survol */
.dont-show-again-link:hover {
    color: #DF1366; /* Change la couleur au survol */
}

@media (max-width: 810px) {
	
	.popup-header-titre {
		font-size: 3em;
	}
	
    .popup-header h1 {
        font-size: 2em;
    }
    .picnosia-logo {
        width: 60px;
    }
    .popup-header .subtitle {
        font-size: 1em;
    }
}