/* Reset total (à inclure ici directement pour être sûr) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* overflow-x: hidden; */
}

/* Permet le scroll */
html, body {
  height: 100%;
  background: #ff0000;
  font-family: sans-serif;
  /* position: relative; */
}

body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="10" fill="black"/></svg>'), auto;
}

/* Conteneur pour la page rouge */
.page-red-container {
  height: 100vh; /* Réserve l'espace pour la page rouge */
  position: relative; /* Permet à la page blanche de s'afficher après */
  z-index: 0;
}

.page-red {
  background-color: #ff0000;
  height: 100vh; /* Prend toute la hauteur de la fenêtre */
  position: fixed; /* Fixe la page rouge pour qu'elle ne bouge pas */
  width: 100%; /* Assure qu'elle prend toute la largeur */
  top: 0;
  left: 0;
  z-index: 1; /* Assure qu'elle est au-dessus */
}

/* Chaque image doit être positionnée librement */
.image {
  position: absolute;
  mix-blend-mode:hard-light
}

/* Style des images */
.image img {
  width: 100%; /* Les images prennent toute la largeur de leur conteneur */
  min-width: 200px; /* Les images prennent toute la largeur de leur conteneur */
  max-width: 300px; /* Limite la taille maximale des images */
  height: auto; /* Conserve les proportions des images */
  display: block;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
  margin: 10px auto; /* Centre les images horizontalement */
  transform: translate(-50%, -50%); /* Centre les images */
}

/* Hover pour l'effet "pop" */
.image img:hover {
  /* transform: scale(1.1); */
  z-index: 10;
}

/* Positionnement pseudo-aléatoire */
.image1 {top: 15%;left: 12%; transform: rotate(-8deg);z-index: 2;}
.image2 {top: 40%;left: 22%;transform: rotate(6deg);z-index: 3;}
.image3 {top: 30%;left: 60%;transform: rotate(-5deg); z-index: 1; }
.image4 {top: 80%;left: 13%; transform: rotate(3deg); z-index: 2;}
.image5 {top: 70%; left: 80%; transform: rotate(-10deg); z-index: 5;}
.image6 {top: 65%;left: 35%; transform: rotate(12deg); z-index: 4;}
.image7 {top: 18%; left: 75%; transform: rotate(3deg); z-index: 2; }
.image8 {top: 12%; left: 40%; transform: rotate(3deg); z-index: 2;}
.image9 {top: 49%;left: 82%; transform: rotate(3deg); z-index: 2;}
.image10 {top: 87%; left: 51%;transform: rotate(3deg); z-index: 2;}



/* Rendre le h1 adaptatif */
h1 {
  font-family: 'Averia Serif Libre', serif; /* Applique la police Averia Serif Libre */
  font-weight: 700; /* Gras */  
  font-size: 8vw; /* Taille adaptative */
  color: black;
  text-shadow: 2px 0 #000000, -2px 0 #000000, 0 2px #000000, 0 -2px #000000,
               1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;
  text-align: center;
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin: 20px;
  text-shadow: 2px 0 #ffff00, -2px 0 #ffff00, 0 2px #ffff00, 0 -2px #ffff00,
               1px 1px #ffff00, -1px -1px #ffff00, 1px -1px #ffff00, -1px 1px #ffff00;
}

h1:hover {
  color: #ffff00;
  transition: color 0.2s;
}

/* Page blanche */
.page-white {
  background-color: #ff0000;
  min-height: 100vh; /* Prend au moins toute la hauteur de la fenêtre */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Aligne le contenu en haut */
  padding: 20px 0; /* Ajoute un espacement autour du contenu */
  z-index: 2;
  position: relative;
  margin-top: 100vh; /* Garde la transition avec la page rouge */
  box-sizing: border-box; /* Inclut le padding dans les dimensions */
}

.container{
    overflow: hidden;
    /* height: 400vh;/ */
    width: 100%;
    background-color: #ff0000;

}

.fullsize{
    font-size: 100vh;
    overflow: hidden !important;
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Averia Serif Libre', serif
}

.page-white h4, .page-white p {
  word-wrap: break-word; /* Permet de couper les mots longs pour éviter le débordement */
}

.page-white h4 {
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 48px;
  text-align: justify;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Style par défaut pour le texte (smartphone : une seule colonne) */
.page-white p {
  column-count: 1; /* Une seule colonne par défaut */
  column-gap: 20px; /* Espacement entre les colonnes (au cas où il y en a) */
  text-align: justify; /* Justifie le texte pour un rendu propre */
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 30px;
  text-align: justify;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 20px;
}

.page-white img {
  filter: url(#melt);
  transition: transform 2.5s cubic-bezier(.4,0,.2,1);
  will-change: filter, transform;
  cursor: pointer;
}

@media (max-width: 768px) {
  .page-white {
    padding: 10px; /* Réduit le padding pour les petits écrans */
  }

  .page-white h3 {
    font-size: 36px; /* Réduit la taille du texte pour les titres */
  }

  .page-white p {
    font-size: 24px; /* Réduit la taille du texte pour les paragraphes */
  }

  h1 {
    font-size: 12vw; /* Augmente la taille du texte pour les petits écrans */
  }

  .image img {
    max-width: 200px; /* Réduit la taille maximale des images */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 10vw; /* Ajuste encore plus la taille pour les très petits écrans */
  }

  .image img {
    max-width: 150px; /* Réduit davantage la taille maximale des images */
  }
}

/* Style pour les écrans larges (deux colonnes) */
@media (min-width: 768px) {
  .page-white p {
    column-count: 2; /* Deux colonnes pour les écrans larges */
    column-gap: 40px; /* Espacement entre les colonnes */
  }
}

.container h2 {
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin: 40px 40px 10px 40px;
  text-align: right;
  line-height: 1.1;
  transform: scaleY(1.3);
  transition: 
    transform 0.15s cubic-bezier(.4,2,.6,1),
    text-shadow 2s cubic-bezier(.4,2,.6,1);
  color: rgb(255, 225, 0);
}


.img-h2 {
  display: none;
  width: 100%;
  max-width: 80vw;   /* S'adapte à la largeur de l'écran */
  height: auto;
  margin: 20px auto;
  mix-blend-mode:normal;
    mix-blend-mode:hard-light;
}

.img-h2.visible {
  display: block;
}
  
.mayo-img {
  display: none;
}
.mayo-img.visible {
  display: block;
}


.container h2:hover {
  transform: scaleY(1.3) scale(1.08);
  /* On garde scaleY(1.3) pour l'allongement + scale pour le pop */
  z-index: 2;
    text-shadow: 2px 0 #d30000, 8px 0 #d30000, 0 5px #d30000, 0 -2px #d30000,
               1px 9px #d30000, -12px -1px #d30000, -10px -5px #d30000, -7px 12px #d30000;
}

.img-cereales {
  display: block;
  margin: 0 auto -20px auto; /* centre et rapproche du titre */
  width: 300px;               /* taille pas très grande */
  max-width: 80vw;
  height: auto;
  position: relative;
  z-index: 3;
  mix-blend-mode: multiply; /* Pour un effet de mélange */
}

.cereales-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px; /* espace sous le bloc */
  margin-top: 40px; /* espace au-dessus du bloc */
}

.cereales-block .img-cereales {
  position: absolute;
  top: 65%;
  left: 50%;
  width: 500px;
  max-width: 40vw;
  height: auto;
  transform: translate(-50%, -60%);
  z-index: 1;           /* ← image derrière */
  pointer-events: none;
  mix-blend-mode:hard-light;
}

.cereales-block h2 {
  position: relative;
  z-index: 2;           /* ← texte devant */
}

#ketchup-title {
  text-align: left;
  align-items:left;
  margin-left: 40px;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#frite-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#frite-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#biere-title {
  text-align: center;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#biere-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#raviolis-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#raviolis-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#nouilles-title {
  text-align: right;
  margin-left: 0;
  margin-right: 40px;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#clope-title {
  text-align: right;
  margin: 0 40px 0 0;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title,
#frite-title,
#biere-title,
#raviolis-title {
  margin-left: 40px;
  margin-right: 40px;
}

h1 {
  font-family: 'Averia Serif Libre', serif; /* Applique la police Averia Serif Libre */
  font-weight: 700; /* Gras */  
  font-size: 8vw; /* Taille adaptative */
  color: black;
  text-shadow: 2px 0 #000000, -2px 0 #000000, 0 2px #000000, 0 -2px #000000,
               1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;
  text-align: center;
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin: 20px;
  text-shadow: 2px 0 #ffff00, -2px 0 #ffff00, 0 2px #ffff00, 0 -2px #ffff00,
               1px 1px #ffff00, -1px -1px #ffff00, 1px -1px #ffff00, -1px 1px #ffff00;
}

h1:hover {
  color: #ffff00;
  transition: color 0.2s;
}

/* Page blanche */
.page-white {
  background-color: #ff0000;
  min-height: 100vh; /* Prend au moins toute la hauteur de la fenêtre */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Aligne le contenu en haut */
  padding: 20px 0; /* Ajoute un espacement autour du contenu */
  z-index: 2;
  position: relative;
  margin-top: 100vh; /* Garde la transition avec la page rouge */
  box-sizing: border-box; /* Inclut le padding dans les dimensions */
}

.container{
    overflow: hidden;
    /* height: 400vh;/ */
    width: 100%;
    background-color: #ff0000;

}

.fullsize{
    font-size: 100vh;
    overflow: hidden !important;
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Averia Serif Libre', serif
}

.page-white h4, .page-white p {
  word-wrap: break-word; /* Permet de couper les mots longs pour éviter le débordement */
}

.page-white h4 {
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 48px;
  text-align: justify;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Style par défaut pour le texte (smartphone : une seule colonne) */
.page-white p {
  column-count: 1; /* Une seule colonne par défaut */
  column-gap: 20px; /* Espacement entre les colonnes (au cas où il y en a) */
  text-align: justify; /* Justifie le texte pour un rendu propre */
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 30px;
  text-align: justify;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 20px;
}

.page-white img {
  filter: url(#melt);
  transition: transform 2.5s cubic-bezier(.4,0,.2,1);
  will-change: filter, transform;
  cursor: pointer;
}

@media (max-width: 768px) {
  .page-white {
    padding: 10px; /* Réduit le padding pour les petits écrans */
  }

  .page-white h3 {
    font-size: 36px; /* Réduit la taille du texte pour les titres */
  }

  .page-white p {
    font-size: 24px; /* Réduit la taille du texte pour les paragraphes */
  }

  h1 {
    font-size: 12vw; /* Augmente la taille du texte pour les petits écrans */
  }

  .image img {
    max-width: 200px; /* Réduit la taille maximale des images */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 10vw; /* Ajuste encore plus la taille pour les très petits écrans */
  }

  .image img {
    max-width: 150px; /* Réduit davantage la taille maximale des images */
  }
}

/* Style pour les écrans larges (deux colonnes) */
@media (min-width: 768px) {
  .page-white p {
    column-count: 2; /* Deux colonnes pour les écrans larges */
    column-gap: 40px; /* Espacement entre les colonnes */
  }
}

.container h2 {
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin: 40px 40px 10px 40px;
  text-align: right;
  line-height: 1.1;
  transform: scaleY(1.3);
  transition: 
    transform 0.15s cubic-bezier(.4,2,.6,1),
    text-shadow 2s cubic-bezier(.4,2,.6,1);
  color: rgb(255, 225, 0);
}


.img-h2 {
  display: none;
  width: 100%;
  max-width: 80vw;   /* S'adapte à la largeur de l'écran */
  height: auto;
  margin: 20px auto;
  mix-blend-mode:normal;
    mix-blend-mode:hard-light;
}

.img-h2.visible {
  display: block;
}
  
.mayo-img {
  display: none;
}
.mayo-img.visible {
  display: block;
}


.container h2:hover {
  transform: scaleY(1.3) scale(1.08);
  /* On garde scaleY(1.3) pour l'allongement + scale pour le pop */
  z-index: 2;
    text-shadow: 2px 0 #d30000, 8px 0 #d30000, 0 5px #d30000, 0 -2px #d30000,
               1px 9px #d30000, -12px -1px #d30000, -10px -5px #d30000, -7px 12px #d30000;
}

.img-cereales {
  display: block;
  margin: 0 auto -20px auto; /* centre et rapproche du titre */
  width: 300px;               /* taille pas très grande */
  max-width: 80vw;
  height: auto;
  position: relative;
  z-index: 3;
  mix-blend-mode: multiply; /* Pour un effet de mélange */
}

.cereales-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px; /* espace sous le bloc */
  margin-top: 40px; /* espace au-dessus du bloc */
}

.cereales-block .img-cereales {
  position: absolute;
  top: 65%;
  left: 50%;
  width: 500px;
  max-width: 40vw;
  height: auto;
  transform: translate(-50%, -60%);
  z-index: 1;           /* ← image derrière */
  pointer-events: none;
  mix-blend-mode:hard-light;
}

.cereales-block h2 {
  position: relative;
  z-index: 2;           /* ← texte devant */
}

#ketchup-title {
  text-align: left;
  align-items:left;
  margin-left: 40px;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#frite-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#frite-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#biere-title {
  text-align: center;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#biere-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#raviolis-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#raviolis-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#nouilles-title {
  text-align: right;
  margin-left: 0;
  margin-right: 40px;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#clope-title {
  text-align: right;
  margin: 0 40px 0 0;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title,
#frite-title,
#biere-title,
#raviolis-title {
  margin-left: 40px;
  margin-right: 40px;
}

h1 {
  font-family: 'Averia Serif Libre', serif; /* Applique la police Averia Serif Libre */
  font-weight: 700; /* Gras */  
  font-size: 8vw; /* Taille adaptative */
  color: black;
  text-shadow: 2px 0 #000000, -2px 0 #000000, 0 2px #000000, 0 -2px #000000,
               1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;
  text-align: center;
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin: 20px;
  text-shadow: 2px 0 #ffff00, -2px 0 #ffff00, 0 2px #ffff00, 0 -2px #ffff00,
               1px 1px #ffff00, -1px -1px #ffff00, 1px -1px #ffff00, -1px 1px #ffff00;
}

h1:hover {
  color: #ffff00;
  transition: color 0.2s;
}

/* Page blanche */
.page-white {
  background-color: #ff0000;
  min-height: 100vh; /* Prend au moins toute la hauteur de la fenêtre */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Aligne le contenu en haut */
  padding: 20px 0; /* Ajoute un espacement autour du contenu */
  z-index: 2;
  position: relative;
  margin-top: 100vh; /* Garde la transition avec la page rouge */
  box-sizing: border-box; /* Inclut le padding dans les dimensions */
}

.container{
    overflow: hidden;
    /* height: 400vh;/ */
    width: 100%;
    background-color: #ff0000;

}

.fullsize{
    font-size: 100vh;
    overflow: hidden !important;
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Averia Serif Libre', serif
}

.page-white h4, .page-white p {
  word-wrap: break-word; /* Permet de couper les mots longs pour éviter le débordement */
}

.page-white h4 {
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 48px;
  text-align: justify;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Style par défaut pour le texte (smartphone : une seule colonne) */
.page-white p {
  column-count: 1; /* Une seule colonne par défaut */
  column-gap: 20px; /* Espacement entre les colonnes (au cas où il y en a) */
  text-align: justify; /* Justifie le texte pour un rendu propre */
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 30px;
  text-align: justify;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 20px;
}

.page-white img {
  filter: url(#melt);
  transition: transform 2.5s cubic-bezier(.4,0,.2,1);
  will-change: filter, transform;
  cursor: pointer;
}

@media (max-width: 768px) {
  .page-white {
    padding: 10px; /* Réduit le padding pour les petits écrans */
  }

  .page-white h3 {
    font-size: 36px; /* Réduit la taille du texte pour les titres */
  }

  .page-white p {
    font-size: 24px; /* Réduit la taille du texte pour les paragraphes */
  }

  h1 {
    font-size: 12vw; /* Augmente la taille du texte pour les petits écrans */
  }

  .image img {
    max-width: 200px; /* Réduit la taille maximale des images */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 10vw; /* Ajuste encore plus la taille pour les très petits écrans */
  }

  .image img {
    max-width: 150px; /* Réduit davantage la taille maximale des images */
  }
}

/* Style pour les écrans larges (deux colonnes) */
@media (min-width: 768px) {
  .page-white p {
    column-count: 2; /* Deux colonnes pour les écrans larges */
    column-gap: 40px; /* Espacement entre les colonnes */
  }
}

.container h2 {
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin: 40px 40px 10px 40px;
  text-align: right;
  line-height: 1.1;
  transform: scaleY(1.3);
  transition: 
    transform 0.15s cubic-bezier(.4,2,.6,1),
    text-shadow 2s cubic-bezier(.4,2,.6,1);
  color: rgb(255, 225, 0);
}


.img-h2 {
  display: none;
  width: 100%;
  max-width: 80vw;   /* S'adapte à la largeur de l'écran */
  height: auto;
  margin: 20px auto;
  mix-blend-mode:normal;
    mix-blend-mode:hard-light;
}

.img-h2.visible {
  display: block;
}
  
.mayo-img {
  display: none;
}
.mayo-img.visible {
  display: block;
}


.container h2:hover {
  transform: scaleY(1.3) scale(1.08);
  /* On garde scaleY(1.3) pour l'allongement + scale pour le pop */
  z-index: 2;
    text-shadow: 2px 0 #d30000, 8px 0 #d30000, 0 5px #d30000, 0 -2px #d30000,
               1px 9px #d30000, -12px -1px #d30000, -10px -5px #d30000, -7px 12px #d30000;
}

.img-cereales {
  display: block;
  margin: 0 auto -20px auto; /* centre et rapproche du titre */
  width: 300px;               /* taille pas très grande */
  max-width: 80vw;
  height: auto;
  position: relative;
  z-index: 3;
  mix-blend-mode: multiply; /* Pour un effet de mélange */
}

.cereales-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px; /* espace sous le bloc */
  margin-top: 40px; /* espace au-dessus du bloc */
}

.cereales-block .img-cereales {
  position: absolute;
  top: 65%;
  left: 50%;
  width: 500px;
  max-width: 40vw;
  height: auto;
  transform: translate(-50%, -60%);
  z-index: 1;           /* ← image derrière */
  pointer-events: none;
  mix-blend-mode:hard-light;
}

.cereales-block h2 {
  position: relative;
  z-index: 2;           /* ← texte devant */
}

#ketchup-title {
  text-align: left;
  align-items:left;
  margin-left: 40px;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#frite-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#frite-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#biere-title {
  text-align: center;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#biere-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#raviolis-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#raviolis-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#nouilles-title {
  text-align: right;
  margin-left: 0;
  margin-right: 40px;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#clope-title {
  text-align: right;
  margin: 0 40px 0 0;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title,
#frite-title,
#biere-title,
#raviolis-title {
  margin-left: 40px;
  margin-right: 40px;
}

h1 {
  font-family: 'Averia Serif Libre', serif; /* Applique la police Averia Serif Libre */
  font-weight: 700; /* Gras */  
  font-size: 8vw; /* Taille adaptative */
  color: black;
  text-shadow: 2px 0 #000000, -2px 0 #000000, 0 2px #000000, 0 -2px #000000,
               1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;
  text-align: center;
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin: 20px;
  text-shadow: 2px 0 #ffff00, -2px 0 #ffff00, 0 2px #ffff00, 0 -2px #ffff00,
               1px 1px #ffff00, -1px -1px #ffff00, 1px -1px #ffff00, -1px 1px #ffff00;
}

h1:hover {
  color: #ffff00;
  transition: color 0.2s;
}

/* Page blanche */
.page-white {
  background-color: #ff0000;
  min-height: 100vh; /* Prend au moins toute la hauteur de la fenêtre */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Aligne le contenu en haut */
  padding: 20px 0; /* Ajoute un espacement autour du contenu */
  z-index: 2;
  position: relative;
  margin-top: 100vh; /* Garde la transition avec la page rouge */
  box-sizing: border-box; /* Inclut le padding dans les dimensions */
}

.container{
    overflow: hidden;
    /* height: 400vh;/ */
    width: 100%;
    background-color: #ff0000;

}

.fullsize{
    font-size: 100vh;
    overflow: hidden !important;
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Averia Serif Libre', serif
}

.page-white h4, .page-white p {
  word-wrap: break-word; /* Permet de couper les mots longs pour éviter le débordement */
}

.page-white h4 {
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 48px;
  text-align: justify;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Style par défaut pour le texte (smartphone : une seule colonne) */
.page-white p {
  column-count: 1; /* Une seule colonne par défaut */
  column-gap: 20px; /* Espacement entre les colonnes (au cas où il y en a) */
  text-align: justify; /* Justifie le texte pour un rendu propre */
  color: rgb(0, 0, 0);
  font-family: helvetica;
  font-size: 30px;
  text-align: justify;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 20px;
}

.page-white img {
  filter: url(#melt);
  transition: transform 2.5s cubic-bezier(.4,0,.2,1);
  will-change: filter, transform;
  cursor: pointer;
}

@media (max-width: 768px) {
  .page-white {
    padding: 10px; /* Réduit le padding pour les petits écrans */
  }

  .page-white h3 {
    font-size: 36px; /* Réduit la taille du texte pour les titres */
  }

  .page-white p {
    font-size: 24px; /* Réduit la taille du texte pour les paragraphes */
  }

  h1 {
    font-size: 12vw; /* Augmente la taille du texte pour les petits écrans */
  }

  .image img {
    max-width: 200px; /* Réduit la taille maximale des images */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 10vw; /* Ajuste encore plus la taille pour les très petits écrans */
  }

  .image img {
    max-width: 150px; /* Réduit davantage la taille maximale des images */
  }
}

/* Style pour les écrans larges (deux colonnes) */
@media (min-width: 768px) {
  .page-white p {
    column-count: 2; /* Deux colonnes pour les écrans larges */
    column-gap: 40px; /* Espacement entre les colonnes */
  }
}

.container h2 {
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin: 40px 40px 10px 40px;
  text-align: right;
  line-height: 1.1;
  transform: scaleY(1.3);
  transition: 
    transform 0.15s cubic-bezier(.4,2,.6,1),
    text-shadow 2s cubic-bezier(.4,2,.6,1);
  color: rgb(255, 225, 0);
}


.img-h2 {
  display: none;
  width: 100%;
  max-width: 80vw;   /* S'adapte à la largeur de l'écran */
  height: auto;
  margin: 20px auto;
  mix-blend-mode:normal;
    mix-blend-mode:hard-light;
}

.img-h2.visible {
  display: block;
}
  
.mayo-img {
  display: none;
}
.mayo-img.visible {
  display: block;
}


.container h2:hover {
  transform: scaleY(1.3) scale(1.08);
  /* On garde scaleY(1.3) pour l'allongement + scale pour le pop */
  z-index: 2;
    text-shadow: 2px 0 #d30000, 8px 0 #d30000, 0 5px #d30000, 0 -2px #d30000,
               1px 9px #d30000, -12px -1px #d30000, -10px -5px #d30000, -7px 12px #d30000;
}

.img-cereales {
  display: block;
  margin: 0 auto -20px auto; /* centre et rapproche du titre */
  width: 300px;               /* taille pas très grande */
  max-width: 80vw;
  height: auto;
  position: relative;
  z-index: 3;
  mix-blend-mode: multiply; /* Pour un effet de mélange */
}

.cereales-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px; /* espace sous le bloc */
  margin-top: 40px; /* espace au-dessus du bloc */
}

.cereales-block .img-cereales {
  position: absolute;
  top: 65%;
  left: 50%;
  width: 500px;
  max-width: 40vw;
  height: auto;
  transform: translate(-50%, -60%);
  z-index: 1;           /* ← image derrière */
  pointer-events: none;
  mix-blend-mode:hard-light;
}

.cereales-block h2 {
  position: relative;
  z-index: 2;           /* ← texte devant */
}

#ketchup-title {
  text-align: left;
  align-items:left;
  margin-left: 40px;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#frite-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#frite-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#biere-title {
  text-align: center;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#biere-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#raviolis-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#raviolis-title:hover {
  transform: scaleY(1.3) scale(1.08); /* Ajoute un effet de pop */
  z-index: 2; /* Assure que le titre est au-dessus des autres éléments */
}

#nouilles-title {
  text-align: right;
  margin-left: 0;
  margin-right: 40px;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#clope-title {
  text-align: right;
  margin: 0 40px 0 0;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

#ketchup-title,
#frite-title,
#biere-title,
#raviolis-title {
  margin-left: 40px;
  margin-right: 40px;
}

h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-size: 3vw; /* Taille adaptative pour les sous-titres */
  margin: 20px 2px; /* Ajoute de l'espace autour des sous-titres */
  text-align: gauche;
  color: yellow;
} 
.recette {
  background: #ff0000;
  margin-top: 10px;
  margin-left: 20px;
  font-size: 1.1em;
  color: yellow;
}

#raviolis-recette ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  color: yellow;
}

.img-clope-static {
  width: 500px;
  max-width: 29vw;
  height: auto;
  margin-right: 50px;
  margin-left: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  mix-blend-mode:hard-light;

}
#clope-title {
  text-align: right;
  margin: 0 40px 0 0;
  font-size: 10vw;
  font-family: 'Averia Serif Libre', serif;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.1;
  transform: scaleY(1.3);
}

.ketchup-row {
  display: flex;
  align-items: right;

  margin-left: 40px;
  margin-right: 40px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.img-ketchup {
  width: 400px;
  max-width: 29vw;
  height: auto;
  margin-left: 24px;
  display: block;
  mix-blend-mode:hard-light;
  align-items: right;
}

#frite-recette ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  color: yellow;
}

#ketchup-recette ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  color: yellow;
}

#nouilles-recette {
  text-align: right;
  margin-right: 30px;
}

#nouilles-recette ul {
  list-style: none;
  padding-right: 0;
  margin-right: 30px;
}

#nouilles-recette li {
  text-align: right;
}

#sandwich-recette {
  text-align: right;
  margin-right: 30px;
}
#sandwich-recette ul {
  list-style: none;
  padding-right: 0;
  margin-right: 30px;
}
#sandwich-recette li {
  text-align: right;
}

.trace-clic {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.img-nouilles-h2 {
  width: 300px;
  max-width: 35vw;
  width: auto;
  margin-right: 24px;
  margin-left: 30px;
  mix-blend-mode:hard-light;
}

.ravioli-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.ravioli-img {
  width: 420px;
  max-width: 30vw;
  height: auto;
  margin-left: 24px;
  display: block;
  mix-blend-mode: hard-light;
}

#cereales-recette {
  text-align: right;
  margin-right: 30px;
  margin-left: 0;
}
#cereales-recette ul {
  list-style: none;
  padding-right: 0;
  margin-right: 30px;
  margin-left: 0;
}
#cereales-recette li {
  text-align: right;
}

#clope-recette {
  text-align: right;
  margin-right: 30px;
}
#clope-recette ul {
  list-style: none;
  padding-right: 0;
  margin-right: 30px;
}
#clope-recette li {
  text-align: right;
}

.recette,
.recette * {
  font-family: 'JetBrains Mono', monospace !important;
}

#riz-recette ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  text-align: right;
  margin-right: 30px;
}

#riz-recette li {
  text-align: right;
}

#riz-recette h3 {
  text-align: right;
  margin-right: 30px;
}

.riz-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 10px 0;
}

.img-riz {
  width: 400px;
  max-width: 30vw;
  height: auto;
  margin-right: 24px;
  display: block;
  mix-blend-mode: hard-light;
}

#saucisse-recette ul {
  list-style: none;
  padding-left: 0;
}

.explication-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.explication-content {
  background: #ff0000;
  color: yellow;
  padding: 40px 30px 30px 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  font-size: 2vw;
  max-width: 90vw;
  text-align: center;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
}

.close-explication {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  color: yellow;
  border: none;
  font-size: 2.5vw;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  z-index: 1;
  transition: color 0.2s;
  line-height: 1;
}
.close-explication:hover {
  color: #fff;
}