body {
  width: 100%;
  background: rgb(0,0,0);
  background: linear-gradient(180deg, #5C243B 35%, rgb(9,116,187) 61%,  rgb(9,116,187) 80%);
  margin:0px;
  }
 
#container {
  background-image: url(../img/gokub.jpg);
  background-size:cover ;
  background-repeat: no-repeat;
  background-position: center;
  background-position: top;

  font-family: 'Titre', sans-serif;
  font-size: 40px;
  text-transform: uppercase; /* Met en majuscules */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre noire */
  color: #ffffff; /* Couleur rouge pour le texte */
  -webkit-text-stroke: 2px black; /* Bordure de 2 pixels de large en noir */

}

.btn {
  width:50%;
  height:10vh;

}

article {

  font-family: 'Titre', sans-serif;
  font-size:35px;
  text-transform: uppercase; /* Met en majuscules */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre noire */
  color: rgb(255, 189, 76);
  -webkit-text-stroke: 2px black; /* Bordure de 2 pixels de large en noir */
}

  .navbar-nav {
    gap:30px;
  }
  .nav-link {
    font-size: 22px;
  
  }
  
  .nav-link:hover {
    background-color: #ff7b00;
    border-radius: 20px;
  
  }
  .nav-link:active {
    transform: scale(0.90);
  }
  
  #nav {
    -webkit-box-shadow: 0px 10px 22px 12px #000000; 
  box-shadow: 0px 10px 22px 12px #000000;
  }
  
  #gg {
    -webkit-box-shadow: 0px -8px 37px 17px #000000; 
  box-shadow: 0px -8px 37px 17px #000000;
    position: relative;
    z-index: 2;
  
  }
  
  .animated-image {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 20%;
    height: 80%;
    transform: translateY(-50%) translateY(-5px);
    animation: move-right 18s linear infinite, move-up-down 2s ease-in-out infinite;
  }
  
  .second {
    position: absolute;
    top: 60%;
    left: -100%;
    width: 20%;
    height: 80%;
    transform: translateY(-50%) translateY(-5px);
    animation: move-right 10s linear infinite, move-up-down 2s ease-in-out infinite;
    animation-delay: 3s;
  }
  
  .third {
    position: absolute;
    top: 70%;
    left: -100%;
    width: 20%;
    height: 80%;
    transform: translateY(-50%) translateY(-5px);
    animation: move-right 13s linear infinite, move-up-down 2s ease-in-out infinite;
    animation-delay: 5s;
  }
  
  .fourth {
    position: absolute;
    top: 80%;
    left: -100%;
    width: 20%;
    height: 80%;
    transform: translateY(-50%) translateY(-5px);
    animation: move-right 8s linear infinite, move-up-down 2s ease-in-out infinite;
    animation-delay: 9s;
  }
  
  .fifth {
    position: absolute;
    top: 90%;
    left: -100%;
    width: 20%;
    height: 80%;
    transform: translateY(-50%) translateY(-5px);
    animation: move-right 11s linear infinite, move-up-down 2s ease-in-out infinite;
    animation-delay: 14s;
  }
  
  @keyframes move-right {
    0% {
      left: 0%;
    }
    100% {
      left: 80%;
    }
  }
  
  @keyframes move-up-down {
    0% {
      transform: translateY(-50%) translateY(-5px);
    }
    50% {
      transform: translateY(-50%) translateY(5px);
    }
    100% {
      transform: translateY(-50%) translateY(-5px);
    }
  }
  
    
    #red {
      background-color: red;
    }
    #blue {
      background-color: rgb(0, 132, 255);
    }
  

    .profit-button {
      width:15%;
      height:80px;
      -webkit-box-shadow: 0px 13px 24px 8px #000000; 
      box-shadow: 0px 13px 24px 8px #000000;
      border-radius: 50px;
      transform: translateY(3px);
      text-transform: uppercase;
      transition: background-color 0.3s ease-in-out;
      border-style: none;
         
      }
      .profit-button>p {
          margin:auto auto auto auto;
          color: white;
          font-size: 18px;
         
      }
      
      .profit-button {
          background-color: rgb(255, 105, 18);
         display: flex;
      } 
  
         .profit-button:hover {
          background-color: #ff3300;
          cursor: pointer;
          border-style: none;
        }
      .profit-button:active {
          background-color: #d6a400;
          transform: translateY(10px);
          transform: scale(0.95);
          border-style: none;
        }
  
        :root {
          --color1: rgb(0, 231, 255);
          --color2: rgb(255, 0, 231);
          --back: url(https://cdn2.bulbagarden.net/upload/1/17/Cardback.jpg);
          --charizard1: #fac;
          --charizard2: #ddccaa;

          --pika1: #54a29e;
          --pika2: #a79d66;

          --eevee1: #efb2fb;
          --eevee2: #acc6f8;

          --mewtwo1: #efb2fb;
          --mewtwo2: #acc6f8;

        }
 
        .card {
       
          position: relative;
          overflow: hidden;
          margin: 20px;
          overflow: hidden;
          z-index: 10;
          touch-action: none;
          border-radius: 5%/3.5%;
          box-shadow: -5px -5px 5px -5px var(--color1), 5px 5px 5px -5px var(--color2), -7px -7px 10px -5px transparent, 7px 7px 10px -5px transparent, 0 0 5px 0px rgba(255, 255, 255, 0), 0 55px 35px -20px rgba(0, 0, 0, 0.5);
          transition: transform 0.5s ease, box-shadow 0.2s ease;
          will-change: transform, filter;
          background-color: #040712;
          background-image: var(--front);
          background-size: cover;
          background-repeat: no-repeat;
          background-position: 50% 50%;
          transform-origin: center;
        }
     
        
        
        .card:hover {
          box-shadow: -20px -20px 30px -25px var(--color1), 20px 20px 30px -25px var(--color2), -7px -7px 10px -5px var(--color1), 7px 7px 10px -5px var(--color2), 0 0 13px 4px rgba(255, 255, 255, 0.3), 0 55px 35px -20px rgba(0, 0, 0, 0.5);
        }
        
        .card.charizard {
          --color1: var(--charizard1);
          --color2: var(--charizard2);
          --front: var(--charizardfront);
        }
        
        .card.pika {
          --color1: var(--pika1);
          --color2: var(--pika2);
          --front: var(--pikafront);
        }
        
        .card.mewtwo {
          --color1: var(--mewtwo1);
          --color2: var(--mewtwo2);
          --front: var(--mewtwofront);
        }
        
        .card.eevee {
          --color1: #ec9bb6;
          --color2: #ccac6f;
          --color3: #69e4a5;
          --color4: #8ec5d6;
          --color5: #b98cce;
          --front: var(--eeveefront);
        }
        
        .card:before,
        .card:after {
          content: "";
          position: absolute;
          left: 0;
          right: 0;
          bottom: 0;
          top: 0;
          background-repeat: no-repeat;
          opacity: 0.5;
          mix-blend-mode: color-dodge;
          transition: all 0.33s ease;
        }
        
        .card:before {
          background-position: 50% 50%;
          background-size: 300% 300%;
          background-image: linear-gradient(115deg, transparent 0%, var(--color1) 25%, transparent 47%, transparent 53%, var(--color2) 75%, transparent 100%);
          opacity: 0.5;
          filter: brightness(0.5) contrast(1);
          z-index: 1;
        }
        
        .card:after {
          opacity: 1;
          background-image: url("https://assets.codepen.io/13471/sparkles.gif"), url(https://assets.codepen.io/13471/holo.png), linear-gradient(125deg, #ff008450 15%, #fca40040 30%, #ffff0030 40%, #00ff8a20 60%, #00cfff40 70%, #cc4cfa50 85%);
          background-position: 50% 50%;
          background-size: 160%;
          background-blend-mode: overlay;
          z-index: 2;
          filter: brightness(1) contrast(1);
          transition: all 0.33s ease;
          mix-blend-mode: color-dodge;
          opacity: 0.75;
        }
        
        .card.active:after,
        .card:hover:after {
          filter: brightness(1) contrast(1);
          opacity: 1;
        }
        
        .card.active,
        .card:hover {
          -webkit-animation: none;
                  animation: none;
          transition: box-shadow 0.1s ease-out;
        }
        
        .card.active:before,
        .card:hover:before {
          -webkit-animation: none;
                  animation: none;
          background-image: linear-gradient(110deg, transparent 25%, var(--color1) 48%, var(--color2) 52%, transparent 75%);
          background-position: 50% 50%;
          background-size: 250% 250%;
          opacity: 0.88;
          filter: brightness(0.66) contrast(1.33);
          transition: none;
        }
        
        .card.active:before,
        .card:hover:before,
        .card.active:after,
        .card:hover:after {
          -webkit-animation: none;
                  animation: none;
          transition: none;
        }
        
        .card.animated {
          transition: none;
          -webkit-animation: holoCard 12s ease 0s 1;
                  animation: holoCard 12s ease 0s 1;
        }
        .card.animated:before {
          transition: none;
          -webkit-animation: holoGradient 12s ease 0s 1;
                  animation: holoGradient 12s ease 0s 1;
        }
        .card.animated:after {
          transition: none;
          -webkit-animation: holoSparkle 12s ease 0s 1;
                  animation: holoSparkle 12s ease 0s 1;
        }
        
    
        
        @keyframes holoSparkle {
          0%, 100% {
            opacity: 0.75;
            background-position: 50% 50%;
            filter: brightness(1.2) contrast(1.25);
          }
          5%, 8% {
            opacity: 1;
            background-position: 40% 40%;
            filter: brightness(0.8) contrast(1.2);
          }
          13%, 16% {
            opacity: 0.5;
            background-position: 50% 50%;
            filter: brightness(1.2) contrast(0.8);
          }
          35%, 38% {
            opacity: 1;
            background-position: 60% 60%;
            filter: brightness(1) contrast(1);
          }
          55% {
            opacity: 0.33;
            background-position: 45% 45%;
            filter: brightness(1.2) contrast(1.25);
          }
        }
        @-webkit-keyframes holoGradient {
          0%, 100% {
            opacity: 0.5;
            background-position: 50% 50%;
            filter: brightness(0.5) contrast(1);
          }
          5%, 9% {
            background-position: 100% 100%;
            opacity: 1;
            filter: brightness(0.75) contrast(1.25);
          }
          13%, 17% {
            background-position: 0% 0%;
            opacity: 0.88;
          }
          35%, 39% {
            background-position: 100% 100%;
            opacity: 1;
            filter: brightness(0.5) contrast(1);
          }
          55% {
            background-position: 0% 0%;
            opacity: 1;
            filter: brightness(0.75) contrast(1.25);
          }
        }
        @keyframes holoGradient {
          0%, 100% {
            opacity: 0.5;
            background-position: 50% 50%;
            filter: brightness(0.5) contrast(1);
          }
          5%, 9% {
            background-position: 100% 100%;
            opacity: 1;
            filter: brightness(0.75) contrast(1.25);
          }
          13%, 17% {
            background-position: 0% 0%;
            opacity: 0.88;
          }
          35%, 39% {
            background-position: 100% 100%;
            opacity: 1;
            filter: brightness(0.5) contrast(1);
          }
          55% {
            background-position: 0% 0%;
            opacity: 1;
            filter: brightness(0.75) contrast(1.25);
          }
        }
        @-webkit-keyframes holoCard {
          0%, 100% {
            transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg);
          }
    
          13%, 16% {
            transform: rotateZ(0deg) rotateX(-9deg) rotateY(32deg);
          }
          35%, 38% {
            transform: rotateZ(3deg) rotateX(12deg) rotateY(20deg);
          }
          55% {
            transform: rotateZ(-3deg) rotateX(-12deg) rotateY(-27deg);
          }
        }
        @keyframes holoCard {
          0%, 100% {
            transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg);
          }
    
          13%, 16% {
            transform: rotateZ(0deg) rotateX(-9deg) rotateY(32deg);
          }
          35%, 38% {
            transform: rotateZ(3deg) rotateX(12deg) rotateY(20deg);
          }
          55% {
            transform: rotateZ(-3deg) rotateX(-12deg) rotateY(-27deg);
          }
        }
        .card.eevee:hover {
          box-shadow: 0 0 30px -5px white, 0 0 10px -2px white, 0 55px 35px -20px rgba(0, 0, 0, 0.5);
        }
        
        .card.eevee:hover:before,
        .card.eevee.active:before {
          background-image: linear-gradient(115deg, transparent 20%, var(--color1) 36%, var(--color2) 43%, var(--color3) 50%, var(--color4) 57%, var(--color5) 64%, transparent 80%);
        }
        
        .demo .card {
          background-image: var(--back);
          font-size: 2vh;
        }
        
        .demo .card > span {
          position: relative;
          top: 45%;
        }
        
        .demo .card:nth-of-type(1),
        .demo .card:nth-of-type(2),
        .demo .card:nth-of-type(3) {
          width: 20vh;
          height: 27.5vh;
          box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 25px 15px -10px rgba(0, 0, 0, 0.5);
          -webkit-animation: none;
                  animation: none;
        }
        
        .demo .card:nth-of-type(1):before, .demo .card:nth-of-type(1):after,
        .demo .card:nth-of-type(2):before,
        .demo .card:nth-of-type(2):after,
        .demo .card:nth-of-type(3):before,
        .demo .card:nth-of-type(3):after {
          -webkit-animation: none;
                  animation: none;
        }
        
        .demo .card:nth-of-type(1):before, .demo .card:nth-of-type(1):after {
          display: none;
        }
        
        .demo .card:nth-of-type(2) {
          background: none;
        }
        .demo .card:nth-of-type(2):before {
          display: none;
        }
        
        .demo .card:nth-of-type(3) {
          background: none;
        }
        .demo .card:nth-of-type(3):after {
          display: none;
        }
        
        .operator {
          display: inline-block;
          vertical-align: middle;
          font-size: 6vh;
        }
        
  
        
        h1 {
          display: block;
          margin: 30px 0;
        }
        
        p {
          margin-top: 5px;
          font-weight: 200;
        }
        
        #app {
          position: relative;
        }
        
        .demo,
        .cards {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: space-evenly;
          perspective: 2000px;
          position: relative;
          z-index: 1;
          transform: translate3d(0.1px, 0.1px, 0.1px);
        }
        
        .demo {
          flex-direction: row;
          justify-content: center;
        }
        
        @media screen and (min-width: 600px) {
          .cards {
            flex-direction: row;
          }
        }
        .cards .card:nth-child(2), .cards .card:nth-child(2):before, .cards .card:nth-child(2):after {
          -webkit-animation-delay: 0.25s;
                  animation-delay: 0.25s;
        }
        .cards .card:nth-child(3), .cards .card:nth-child(3):before, .cards .card:nth-child(3):after {
          -webkit-animation-delay: 0.5s;
                  animation-delay: 0.5s;
        }
        .cards .card:nth-child(4), .cards .card:nth-child(4):before, .cards .card:nth-child(4):after {
          -webkit-animation-delay: 0.75s;
                  animation-delay: 0.75s;
        }
        
      