* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

@font-face {
  font-family: font;
  src: url('../fonts/batfont.ttf') format('truetype');
}

.custom-navbar {
    background-color: #242424 ;
}

#logo_nav {
    width: 8vw;
}

.links-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.links-nav a{
    font-size: 2em;
    font-weight:500;
    text-decoration: none;
    color: white;
    margin-right: 20px;
}

.nav-item p  {
  color: white;
  font-family: font;
  font-size: 50px;
  margin-left: 20px;
}

.links-nav a:last-child {
    background-color: #242424 ;
    border: 1px solid red;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
}
.links-nav a:last-child:hover {
    background-color: red ;
}


/* message defilant */

.messagedefilant {
    display: block;
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 75px;
    background-color: white;
  }
   
  .messagedefilant div {
    position: absolute;
    min-width: 100%; /* au minimum la largeur du conteneur */
  }
   
  .messagedefilant div span, 
  .messagedefilant div:after {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    white-space: nowrap;
    top:0;
  }
   
  .messagedefilant div span {
    animation: defilement 8s infinite linear;
    background-color: red ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3em;
    font-weight: 700;
    word-spacing: 10px;
  }
   
  .messagedefilant div:after {
    position: absolute;
    top:0; left:0;
    content:attr(data-text);
    animation: defilement2 8s infinite linear;
    background-color: red ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3em;
    font-weight: 700;
    word-spacing: 10px;
  }
   
  @keyframes defilement {
    0% { margin-left: 0; }
    100% { margin-left: -100%; }
  }
   
  @keyframes defilement2 {
    0% { margin-left: 100%; }
    100% { margin-left: 30px; }
  }


  /* Section infos */

  .infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 50px 0;
    background-color: #242424;
  }
    
  .first {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }
  
  .first img {
    width: 25vw;
  }

  
  .text_infos {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  h1 {
    font-size: 4em;
    font-weight: 600;
    color: red;
  }

  .text_infos p, h2{
    color: white;
    font-size: 1.8em;
    font-weight: 600;
    text-align: center;
  }

  .socials_button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }

  #button-info {
    background-color: #242424 ;
    border: 1px solid red;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
  }

  #button-info:hover {
    background-color: red ;
  }

  .socials_button a {
    font-size: 1.8em;
    font-weight: 600;
    text-align: center;
    color: white;
    text-decoration: none;
    background-color: red ;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
  }

  #button-chart {
    background-color: transparent;
    box-shadow: none;
  }

  .socials_button a:hover {
    background-color: #242424;
  }

  /* Section tokenomic */

  .tokenomic {
    background-color: red;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 50px 0;
  }
  
  .tokenomic img {
    width: 25vw;
    animation: float 6s ease-in-out infinite;
  }
  
  .tokenomics {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .tokenomics h1 {
    color: white;
  }
  .tokenomics p {
    color: white;
    font-size: 1.8em;
    font-weight: 600;
    text-align: center;
  }

  .tokenomics h2 {
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    background: -webkit-linear-gradient(45deg, #D021F6, #27D0B5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px black;
  }
  
  .tokenomic_button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 200px;
  }

  .tokenomic_button a {
    font-size: 1.8em;
    font-weight: 600;
    text-align: center;
    color: white;
    text-decoration: none;
    background-color: red ;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
  }

  .tokenomic_button a:hover {
    background-color: #242424;
  }


  /* SLIDER */

  .mememaker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }

  #wizard-maker-button {
    
    font-size: 1.8em;
    font-weight: 600;
    text-align: center;
    color: white;
    text-decoration: none;
    background-color: #27D0B5;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
  }

  #wizard-maker-button:hover {
    background-color: #B26EFF;
  }
  
  .meme img {
    width: 20vw;
  }

  .meme {  
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: row;
    align-items: center;
    justify-content: center;
    width: 70%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 100px;
    grid-template-areas:
      "meme1 meme2 meme3"
      "meme4 meme5 meme6"
      "meme7 meme8 meme9";
  }
  
  .meme1 { grid-area: meme1; }
  
  .meme2 { grid-area: meme2; }
  
  .meme3 { grid-area: meme3; }
  
  .meme4 { grid-area: meme4; }
  
  .meme5 { grid-area: meme5; }
  
  .meme6 { grid-area: meme6; }
  
  .meme7 { grid-area: meme7; }
  
  .meme8 { grid-area: meme8; }
  
  .meme9 { grid-area: meme9; }
  

  .dexscreener {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding-top: 50px;
    background-color: #242424;
  }
  
  .dexscreener img {
    width: 30vw;
  }
  
  .dex {
    width: 60%;
    margin: auto;
    padding-bottom: 50px;
  }
  
@media only screen and (max-width: 992px) {

  
  .nav-item p {
    text-align: center;
  }
  
    #logo_nav {
        width: 20vw;
    }
    
    .links-nav {
        display: flex;
        flex-direction: column;
    }
    
    .links-nav a:last-child {
        background-color: transparent;
        padding: 5px 10px;
    }

    .first {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .first img {
        width: 40vw;
    }
    
    .text_infos {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80%;
    }
      
    h1 {
        font-size: 3em;
    }
    
    .text_infos p, h2{
        font-size: 1.5em;
        font-weight: 600;
        text-align: center;
    }

    .socials_button {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
      .socials_button a {
        font-size: 1.5em;
    }

    .tokenomic img {
        width: 40vw;
      }
      
      .tokenomics h1 {
        font-size: 1.7em;
      }
      
      .tokenomics p {
        font-size: 1.4em;
      }
    
      .tokenomics h2 {
        font-size: 1.2em;
      }
      
      .tokenomic_button {
        flex-direction: column;
        gap: 20px;
      }
    
      .tokenomic_button a {
        font-size: 1.5em;
      }

      .meme img {
        width: 50vw;
      }
      
      .meme {
        display: flex;
        gap: 20px;
        flex-direction: column;
      }
      
      .mememaker a {
        font-size: 1em;
      }
      
      .dexscreener img {
        width: 30vw;
      }

      .dex {
        width: 80%;
      }
}


@media only screen and (max-width: 550px) {

    .text_infos h1 {
      font-size: 2em;
    }

    .text_infos p {
      font-size: 1em;
    }

    .text_infos h2 {
      font-size: 1em;
    }
  
    .tokenomics h2 {
        font-size: 1em;
      }

      .meme {  
        margin-bottom: 50px;
      }
    
      .meme img {
        width: 70vw;
      }

      .dexscreener img {
        width: 50vw;
      }

      .dex {
        width: 90%;
      }

      .messagedefilant {
        height: 50px;
      }
       
      .messagedefilant div span {
        font-size: 2em;
      }
       
      .messagedefilant div:after {
        font-size: 2em;
      }
}

@media only screen and (max-width: 460px) {

    .tokenomics h2 {
        font-size: 0.8em;
      }
    
}

@media only screen and (max-width: 370px) {

    .first img, .tokenomic img {
        width: 60vw;
    }

    
    .tokenomics h2 {
        font-size: 0.6em;
      }
    
    .text_infos h1 {
        font-size: 2.5em;
    }
}