/* Corps de la page */
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4, #ffdde1);
    background-size: 400% 400%;
    animation: gradientBG 6s ease infinite;
    color: #333;
    text-align: center;
}

/* Animation du fond */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Conteneur du formulaire de mot de passe */
.password-container {
    background-color: rgba(255, 255, 255, 0.9); /* Fond semi-transparent */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-align: center;
}

/* Titre du formulaire */
.password-container h2 {
    font-size: 24px;
    font-weight: bold;
    color: #6C3483;
    margin-bottom: 20px;
}

/* Champ de saisie du mot de passe */
#password {
    padding: 10px;
    font-size: 18px;
    width: 250px;
    border: 2px solid #6C3483;
    border-radius: 5px;
    margin-right: 10px;
    outline: none;
}

/* Effet sur le champ de mot de passe au focus */
#password:focus {
    border-color: #4A235A;
}

/* Bouton de validation */
button {
    background-color: #6C3483;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 10px;
}

/* Effet au survol du bouton de validation */
button:hover {
    background-color: #4A235A;
}

/* Style de l'ampoule */
#lightbulb {
    cursor: pointer;
    font-size: 40px;
    color: yellow;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

/* Effet de zoom sur l'ampoule au survol */
#lightbulb:hover {
    transform: scale(1.2);
}

/* Texte d'information de l'ampoule */
#lightbulb-info {
    display: none;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

/* Affichage du texte quand on passe la souris sur l'ampoule */
#lightbulb:hover + #lightbulb-info {
    display: block;
}

/* Nouveau style pour le bouton "Clique ici" */
.styled-button {
    background: linear-gradient(135deg, #ff7eb3, #ff758c); /* Dégradé rose */
    color: white;
    padding: 15px 30px; /* Espacement autour du texte */
    font-size: 20px; /* Taille du texte */
    font-weight: bold;
    border: none;
    border-radius: 50px; /* Bordures arrondies */
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s; /* Effet au survol */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre douce */
    text-transform: uppercase; /* Met le texte en majuscules */
    font-family: 'Poppins', sans-serif; /* Police Poppins */
    margin-top: 20px;
}

/* Effet au survol du bouton "Clique ici" */
.styled-button:hover {
    background: linear-gradient(135deg, #ff758c, #ff7eb3); /* Inverse le dégradé au survol */
    transform: scale(1.1); /* Agrandit légèrement le bouton au survol */
}

/* Effet au focus (quand l'utilisateur clique sur le bouton) */
.styled-button:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.7); /* Ajoute une lueur rose au focus */
}


/* Style du cœur bleu avec animation de pulsation */
.heart-blue {
    font-size: 150px; /* Augmente la taille du cœur à 150px */
    color: #3498db; /* Couleur bleu clair */
    animation: pulse 1.5s ease-in-out infinite; /* Animation de pulsation */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Ombre douce autour du cœur */
    margin-top: 20px; /* Marge au-dessus du cœur */
}

/* Animation de pulsation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; } /* Taille normale avec opacité légèrement réduite */
    50% { transform: scale(1.2); opacity: 1; } /* Augmente la taille à 120% et opacité à 100% */
    100% { transform: scale(1); opacity: 0.8; } /* Retour à la taille normale */
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    /* Exemple de fond avec une image */
    background: url("votre-image.jpg") no-repeat center center;
    background-size: cover; /* L'image s'adapte à la taille de la fenêtre */
    color: #fff; /* Texte en blanc pour contraster avec l'image */
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h1 {
    font-family: 'Parisienne', cursive;
    font-size: 80px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}
@keyframes bounceIn {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

h1 {
    animation: bounceIn 1.2s ease;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
p {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s; /* Le paragraphe apparaît après le titre */
}
.my-button {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    color: white;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s;
    text-transform: uppercase;
    margin-top: 20px;
}

.my-button:hover {
    transform: scale(1.1);
}
/* =========================
   ANIMATION DU FOND
   ========================= */
@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   ANIMATION DU CONTENU (fade in)
   ========================= */
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================
   PAGE "NEXTPAGE"
   ========================= */
.nextpage {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Fond dégradé animé */
  background: linear-gradient(135deg, #8e44ad, #3498db, #e67e22, #f1c40f);
  background-size: 600% 600%;
  animation: gradientBG 10s ease infinite;
  
  /* Police plus classique */
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  color: #fff;
}

/* =========================
   CONTENEUR DU CONTENU
   ========================= */
.content-container {
  background-color: rgba(255, 255, 255, 0.15); /* effet glass */
  backdrop-filter: blur(8px); /* pour le flou derrière */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 90%;
  padding: 40px 20px;
  animation: fadeIn 1s ease forwards; /* Apparition en fondu */
}

/* =========================
   TITRE PRINCIPAL
   ========================= */
.big-title {
 font-family: Arial, sans-serif;
  font-size: 60px;
  margin: 0 0 10px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* =========================
   SOUS-TITRE
   ========================= */
.subtitle {
  font-size: 24px;
  margin: 0 0 20px;
  font-weight: 600;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* =========================
   MESSAGE
   ========================= */
.message {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}
h1 {
    font-family: 'Poppins', Arial, sans-serif; /* Police plus élégante et lisible */
    font-size: 5rem; /* Augmente encore la taille */
    font-weight: 900; /* Encore plus gras */
    color: white; /* Garde le texte en blanc */
    text-shadow: 6px 6px 12px rgba(0, 0, 0, 1); /* Ombre encore plus marquée */
    background-color: rgba(0, 0, 0, 0.5); /* Ajoute un fond semi-transparent */
    padding: 10px 20px; /* Ajoute de l’espace autour pour rendre plus lisible */
    border-radius: 10px; /* Arrondit légèrement le fond */
    display: inline-block; /* Permet d’avoir un fond ajusté au texte */
}

/* =========================
   ANIMATION DU CONTENU (fade in)
   ========================= */
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================
   PAGE "NEXTPAGE"
   ========================= */
.nextpage {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Feu d'artifice en fond (image fixe ou GIF) */
  background: url(4A5.gif) no-repeat center center;
  background-size: cover;

  /* Police (Lato) et couleurs */
  font-family: 'Lato', sans-serif;
  text-align: center;
  color: #fff;
}

/* =========================
   CONTENEUR DU CONTENU
   ========================= */
.content-container {
  background-color: rgba(0, 0, 0, 0.4); /* effet glass plus sombre pour contraster le feu d'artifice */
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 90%;
  padding: 40px 20px;

  /* Apparition en fondu */
  animation: fadeIn 1s ease forwards;
}

/* =========================
   TITRE PRINCIPAL
   ========================= */
.big-title {
  font-size: 56px;
  margin: 0 0 10px;
  font-weight: 700;
}

/* =========================
   SOUS-TITRE
   ========================= */
.subtitle {
  font-size: 24px;
  margin: 0 0 20px;
  font-weight: 600;
}

/* =========================
   MESSAGE
   ========================= */
.message {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}
body {
    background-image: url('/pour-emma/paul/paul.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}
