@import url("https://use.typekit.net/dcn8gfz.css");
@font-face {
    font-family: 'Space';
    src: url('fonts/SplineSansMono-Vrbl.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
  }
  .menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    background-color: transparent;
    border: none;
    padding: 0;
  }
  
  .burger {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease;
  }
  
  .menu-toggle.active .burger {
    background-color: white; 
  }
  
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    transform: scale(0);
    transform-origin: top right;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 2;
  }
  
  .nav.active {
    transform: scale(1);
    opacity: 1;
  }
  
  .nav__list {
    list-style: none;
    padding: 0;
    margin: 0px;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 100%;
  }
  
  .nav__item {
    padding: 2rem;
  }
  
  .nav__link {
    color: #F5F5F5;
    text-decoration: none;
    font-size: clamp(24px, 5vw, 60px);
  }
  
  .nav__link--home {
    color: #f4b915;
    text-decoration: none;
    font-size: clamp(24px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: 5px;
  }
  
body{
    font-family: "Spline Sans Mono", monospace;
    font-size: 25px;
    background-image: url(Gradient.png);
}
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
  }
  
  /* Styles supplémentaires pour aligner le texte à gauche dans chaque paragraphe */
.title{
    grid-column: 1/12;
    margin-left: 2em;
}
.paragraph{
    grid-column: 6/9;
}
.ligne--1, .ligne--2, .ligne--6, .ligne--9, .ligne--12 {
    font-family: "ltr-ncnd-variable", sans-serif;
    animation: animationPoids 3s infinite; /* Applique l'animation */
  }

  
  .violence {
    font-family: "cc-thismanthismonster-var", sans-serif;
    animation: animationChewBite 3s infinite; /* Applique l'animation */
  }
  .ligne--3{
    font-family: "ohno-softie-variable",sans-serif;
    animation: animationPoids 3s infinite;
  }
  .ligne--14{
    font-size: 30px;
    font-family: "tourney-variable",sans-serif;
    font-variation-settings: 'wght' 100, 'wdth' 100;
  }
  .ligne--15 {
    font-family: "beachwood-variable", sans-serif;
    animation: animationMultiple 2s infinite; /* Applique l'animation */
  }

  .ligne--16{
    font-family: "tilden-sans-variable",sans-serif;
    animation: magie 2s infinite;
  }
  .ligne--18{
    font-family: "bd-caramel-variable", sans-serif;
    animation: célébrer 2s infinite;
  }
  .ligne--19{
    font-family: "bd-caramel-variable", sans-serif;
    animation: célébrer 2s infinite;
  }


/*keyframes*/
@keyframes animationChewBite {
    0%, 100% {
      font-variation-settings: 'CHEW' 0, 'BITE' 0;
    }
    50% {
      font-variation-settings: 'CHEW' 5, 'BITE' 5; /* Augmente les valeurs de CHEW et BITE à 5 */
    }
  }
@keyframes animationPoids {
    0% {
      font-variation-settings: 'wght' 250;
    }
    50% {
      font-variation-settings: 'wght' 500; /* Augmente le poids */
    }
    100% {
      font-variation-settings: 'wght' 250; /* Retourne au poids initial */
    }
  }
  

  

@keyframes célébrer {
    0% {
      font-variation-settings: 'BUBL' 100;
    }
    50% {
      font-variation-settings: 'BUBL' 500; /* Retourne au poids initial */
    }
    100% {
        font-variation-settings: 'BUBL' 100;
      }
  }
@keyframes magie {
    0% {
        font-variation-settings: 'wght' 300;
      }
      50% {
        font-variation-settings: 'wght' 600; /* Retourne au poids initial */
      }
      100% {
          font-variation-settings: 'wght' 300;
        }
  }

  @keyframes animationMultiple {
    0% {
      font-variation-settings: 'wdth' 130, 'wght' 900, 'slnt' 10;
    }

    50% {
      font-variation-settings: 'wdth' 80, 'wght' 500, 'slnt' 0; /* Diminue davantage */
    }

    100% {
      font-variation-settings: 'wdth' 130, 'wght' 900, 'slnt' 10; /* Retourne aux valeurs initiales */
    }
  }