:root {
  /* Base fluide du <html> (taille de 1rem) */
  --fs-min: 14px;          /* plancher sur petits écrans */
  --fs-max: 18px;          /* plafond sur grands écrans */
  --fs-viewport: 1.2vmin;  /* contribution viewport (douce) */

  /* Hauteurs de ligne (lisibilité) */
  --lh-body: 1.6;
  --lh-heading: 1.15;

  /* Échelle modulaire (ratios entre titres) */
  --ratio: 1.25; /* 1.2–1.333 conseillé */

  /* Couleurs (optionnel) */
  --c-text: #000000;
  --c-dim: #a9adb7;
}

@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@100;200;300;400;500;600;700;900&family=Nunito+Sans:wght@200;300;400;600;700;800;900&display=swap');
   
html 
{
      /* 1rem = taille fluide bornée par clamp() */
  font-size: clamp(var(--fs-min), var(--fs-viewport) + 0.5rem, var(--fs-max));
}

html, body 
{ 
    height: 100%; 
    margin: 0; 
}
a {
  text-decoration: none;
}
body 
{ 
    font-family: Livvic, sans-serif;
    line-height: var(--lh-body);
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    background: rgba(255, 23, 23, 5.6);
    background: linear-gradient(135deg, rgba(255, 23, 23, 0.56) 0%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 75%, rgba(255, 23, 23, 0.61) 100%) no-repeat center center fixed;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

#bg 
{ 
    position: fixed; 
    inset: 0; 
    width:100%; 
    height:100%; 
    z-index:-1; 
    display:block; 
}

section 
{
    margin: auto;
    text-align: center;
    padding-top: 2%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    border-radius: 2%;
    /*margin: 2%;*/
}
#intro {
    background: #000000;
}
#menu, #menu_footer {
    width: 90%;
    margin: auto;
    background: white;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    border-radius: 999px;
    padding: 0.5rem 1rem;
}
#menu {
    border-right: 5px solid #ff1717;
    border-bottom: 5px solid #ff1717;
}
#menu_footer {
    border-right: 5px solid black;
    border-bottom: 5px solid black;
}
#menu_footer {
  background: #ff1717;
}
#menu img, #menu_footer img {
    height: 86px;
}
.menu_container {
    width: 100%;
}
#intro video, #buy video
{
    max-width: 1080px;
}
#intro h2 {
    color: white;
    margin: 15px;
}
.red {
  color: #ff1717;
}
.font {
  font-family: Livvic, sans-serif;
}
h3>.font { font-size: clamp(1.3rem, 0.7rem + 1.6vmin, 1.8rem); }
#copy {
  height: 64px;
  margin: 2%;
}
.hidden {
    display: none;
  }
.underline {
  text-decoration: underline;
}
 .no_margin {
  margin: 0;
 } 

 .copy-btn {
  display: inline-block;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.copy-btn:active {
  transform: scale(0.9);
  filter: brightness(1.2);
}

a:hover, .copy-btn:hover {
  transform: scale(1.1);
}
a:active {
    transform: scale(0.9);
  filter: brightness(1.2);
}
/* base + animation douce */
#meme h1 a {
  display: inline-block;                /* clé ! */
  transition: transform .15s ease, filter .15s ease;
  transform-origin: center bottom;      /* optionnel, plus naturel */
  text-decoration: underline;
}

/* états */
#meme h1 a:hover {
  transform: scale(1.1);
}

#meme h1 a:active {
  transform: scale(0.9);
  filter: brightness(1.2);
}
  /* Carrousel */

  #carousel {
    transition: opacity 0.5s ease;
    border-radius: 25px;
    max-width: 75%;
  }
  
  #carousel.fade-out {
    opacity: 0;
  }


    /* ### Multiple container ### */
.multiple_container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.multiple_text {
  max-width: 512px;
  margin-right: 25px;
  margin-left: 25px;
}
.multiple_img img{
  max-width: 75%;
  border-radius: 25px;
}
.futuristic {
  display: inline-block;       /* nécessaire pour pouvoir fixer une largeur */
  text-align: center;          /* ou left/right selon ton besoin */
  white-space: nowrap;         /* empêche le texte de se casser */
}

/* --------- Paragraphes & petits textes --------- */
p { font-size: 1rem; margin: 0 0 0.9em; }
.small, small { font-size: 0.875rem; color: var(--c-dim); }
.lead { font-size: clamp(1.05rem, 0.6rem + 0.8vmin, 1.25rem); }

/* --------- Titres fluides (ratio modulaire) ---------
   h1 le plus grand, h6 le plus petit.
   On part d'une base (1rem) et on multiplie par le ratio. */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-heading);
  font-weight: 700;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

/* Tu peux ajuster la “vitesse” de croissance via les clamp */
h1 { font-size: clamp(2.2rem, 1.2rem + 3.2vmin, 3.2rem); }
h2 { font-size: clamp(1.8rem, 1.0rem + 2.4vmin, 2.6rem); }
h3 { font-size: clamp(1.5rem, 0.9rem + 1.8vmin, 2.0rem); }
h4 { font-size: clamp(1.25rem, 0.8rem + 1.2vmin, 1.6rem); }
h5 { font-size: clamp(1.125rem, 0.7rem + 0.9vmin, 1.35rem); }
h6 { font-size: clamp(1.0rem, 0.65rem + 0.6vmin, 1.15rem); }

/* --------- Listes & citations --------- */
ul, ol { padding-left: 1.2em; margin: 0.6em 0 1em; }
li { margin: 0.25em 0; }
blockquote {
  margin: 1em 0; padding: 0.5em 1em;
  border-left: 3px solid var(--c-dim);
  color: var(--c-dim);
}

/* --------- Code & monospace --------- */
code, pre, kbd, samp {
  font-family: Livvic, sans-serif;
}
code { font-size: 0.95rem; background: rgba(255,255,255,.05); padding: .15em .35em; border-radius: 4px; }
pre  { font-size: 0.95rem; line-height: 1.5; background: rgba(255,255,255,.05); padding: 1em; border-radius: 8px; overflow:auto; }

/* --------- Liens --------- */
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }

/* --------- Conteneurs (optionnel) --------- */
.container {
  width: min(92vw, 72ch);  /* largeur fluide bornée */
  margin-inline: auto;
}

/* --------- Ajustements extrêmes (facultatifs) ---------
   Très petits écrans : garde la lisibilité
*/
@media (max-width: 360px) {
  :root { --fs-min: 13px; }
}

/* Très grands écrans : évite les titres disproportionnés */
@media (min-width: 1600px) {
  :root { --fs-max: 19px; }
}

/* Accessibilité : si l’utilisateur réduit les animations/zoom,
   tu peux relever le plancher */
@media (prefers-reduced-motion: reduce) {
  :root { --fs-min: 15px; }
}