@font-face {
    font-family: 'Trench'; 
    src: url(../fonts/TrenchThin-16R0.otf) format('opentype'); 
  
  }
  
@font-face {
    font-family: 'Nexa'; 
    src: url(../fonts/Nexa-ExtraLight.ttf) format('truetype'); 
  
  }

@font-face {
    font-family: 'Nexa Heavy'; 
    src: url(../fonts/Nexa-Heavy.ttf) format('truetype'); 
  
  }
  

@font-face {
    font-family: 'STERION'; 
    src: url(../fonts/Sterion-BLLld.ttf) format('truetype'); 
  
  }

*,
*::before ,
*::after {
        box-sizing: border-box;
        
      }    
  
body {
      margin: 80px 0 0 0;
      padding: 0;
      background-color: black;
  }

.header-title {
     margin: 0 0 1rem 0;
    padding: 4px;
    font-size: 5rem; 
    font-family: 'Nexa', sans-serif;
    font-weight: 500;
    letter-spacing: -3px;
    line-height: 1.2;
    background-image: linear-gradient(to right, #f3f3f3, #0ff, #0ff, #f3f3f3);
    color: #000;
    background-size: 200% auto; 
    background-clip: text;
    background-position: 0% center;
    transform: scaleX(0.8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    text-align: center;
    position: relative;
    z-index: 98;
    animation: filterglowoff 4s ease-out infinite alternate-reverse, animatedText 6s infinite alternate-reverse, brightness-intro 1.5s forwards ease;
  
    }


@keyframes brightness-intro {
  0% {
    filter: brightness(0);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes animatedText {
        from {
            background-position: 0% center;
        }
        to {
            background-position: 200% center;
        }
    }


  .box-shadow-container {
      width: 51%;
      height: 100vh; 
      position: fixed;
      top: 0;
      right: 0;
      z-index: 5;
      -webkit-box-shadow: inset 97px 0px 100px 33px rgb(0, 0, 0);
      -moz-box-shadow: inset 97px 0px 100px 33px rgba(0,0,0);
      box-shadow: inset 97px 0px 100px 33px rgba(0,0,0);


  }

  @keyframes init_page {
    to {
        filter: brightness(25%) blur(2px) ;
    }
}
    
.right-container {
    width: 50%;
    height: 100vh; 
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;

    
  }

  .shelf-container {
    display: grid;
    grid-auto-rows: minmax(130px, auto); 
    width: 100%;
    -webkit-box-shadow: inset 12px 0px 17px 8px #000000; 
    box-shadow: inset 12px 0px 17px 8px #000000;
    filter: brightness(0%) blur(5px);
    animation: init_page 4s ease-out forwards ;

}

.shelf-item_right, .shelf-item_left {
  height: 153px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('detail_images/background.svg') repeat-x;
  background-size: 28%; 
  animation: moveBackground 5s linear infinite;
}

.shelf-item_right {
  --direction: 1;
}

.shelf-item_left {
  --direction: -1;
}

@keyframes moveBackground {
  0% { background-position: 0 0; }
  100% { background-position: calc(var(--direction) * 200%) 0; }
}

.product_image {
  position: relative;
  width: 100%;
  z-index: 10;
  animation: left-intro forwards 1.5s ease-in-out;
  
}

@keyframes left-intro {
  0% {
    filter: opacity(0) contrast(1.1);
  }
  100% {
    filter: opacity(1) contrast(1.1);
  }
}

.product_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  gap: 6rem;
  height: 100vh; 
}


.header_container {
  width: 100%; 
}


.container {
  display: flex;
  height: 100vh;
  width: 100%;
  margin-bottom: 200px;
  flex-direction: row-reverse;
  
}

.info {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 99;
  height: 100%;
  width: 50%;
  justify-content: center;
  border-bottom: 5px white solid;
}

.about-container {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: white;
  padding: 30px;
  width: 100%;
  border-bottom: 5px white solid;
}

.game_display {
  position: relative;
  bottom: 150px;
  width: 30%;
}

.game_description {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.game_title span{
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: absolute;
  top: 50px; 
}

.game_title .jeu_nom {
  position: absolute;
  top: 75px;
}


.moto_price {
  gap: 0.6rem;
  position: absolute;
  width: 95%; 
  bottom: 80px; 
}

.for_space_between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.pgrph_title {
  color: black;
  font-family: 'oswald', sans-serif;
  font-weight: 500;
}



.background-text {
  background-color: white;
  padding: 2px 5px;
  text-align: left;
}

.form_access {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: 150px;
}

.book_button {
  background: #fff;
  border: none;
  padding: 10px 20px;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 500;
  width: 80%;
  text-transform: uppercase;
  cursor: pointer;
  transform: skew(-21deg);
  position: absolute;
}

.book_button span {
  display: inline-block;
  transform: skew(21deg);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-align: center;
}

.book_button::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  background: #0ff;
  opacity: 0;
  z-index: -1;
  transition: right 0.5s;
}

.book_button:hover {
  color: #000000;
}
.book_button:active::before {
  background: #ec1dff;
}
.book_button:active {

  color: #ffffff;

}

.book_button:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}

/* Formulaire modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 100; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0, 0, 0, 0.562); 
  padding-top: 60px; 
}


.modal-content {
  background-color: #000000;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #ffffff;
  width: 80%; 
  max-width: 500px; 
  position: relative;
  bottom: 146px;
  
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.close:hover,
.close:focus {
  color: #0ff;
  filter: drop-shadow(0 0 0.2rem #0ff);
  text-decoration: none;
  cursor: pointer;
}

.close:active {
  color: #ec1dff;
  filter: drop-shadow(0 0 0.2rem #ec1dff);
  text-decoration: none;
  cursor: pointer;
}
.icon_pos {
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.form_icon {
  width: 8%;
  filter: drop-shadow(0 0 0.1rem white);
}

.modal-content h2 {
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  text-align: center;
  font-size: 2rem;
  padding: 2px;
  margin: 4px;
}
legend {
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}
form small {
  color: rgb(192, 192, 192);
  font-family: 'Nexa', sans-serif;
  font-size: 0.6rem;
}
.moto-name p {
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
}
label {
  display: block;
  margin-top: 10px;
  color: white;
  font-family: 'Oswald', sans-serif;
}

input[type="text"], input[type="email"], input[type="date"], input[type="time"] {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 2px;
  border-radius: 0;
  

}

.date-picker::-webkit-calendar-picker-indicator { 
  filter:invert(1);
  transition: 0.3s all ease;
}


.date-picker:hover::-webkit-calendar-picker-indicator { 
  filter:invert(1) sepia(100%) hue-rotate(261deg) saturate(12000%);
  cursor: pointer;
}

.date-picker:focus::-webkit-calendar-picker-indicator {
  filter:invert(1) sepia(100%) hue-rotate(117deg) saturate(12000%);
}

.start, .end {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 2rem;

}

.start-box, .end-box {
  display: flex;
  flex-direction: column;
}

.button-pos {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.button-pos button {
  background: #fff;
  border: none;
  padding: 10px 20px;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  width: 120px;
  text-transform: uppercase;
  cursor: pointer;
  transform: skew(-21deg);
}

.button-pos span {
  display: inline-block;
  transform: skew(21deg);
  font-family: 'Oswald', sans-serif;
}

.button-pos button::before  {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  background: #0ff;
  opacity: 0;
  z-index: -1;
  transition: right 0.5s;
}

.button-pos button:hover {
  color: #000000;
}

.button-pos button:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}

.button-pos button:active::before {
  background: #ec1dff;
}

.button-pos button:active {
  color: white;
}

.form-price {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-family: "oswald", "sans-serif";
}




.success-message {
    display: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-align: center;
    font-size: 18px;
    color: rgb(0, 255, 0);
    margin-top: 10px;
}
@media (max-width: 1910px) {
  .modal-content {
    width: 100%;
    max-width: 900px;
    padding: 5px;
}
  
  .modal-content h2 {
    display: none;
  }
}

@media (max-width: 1553px) {
  .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .header-title {
    font-size: 3.5rem;
  }

  .info {
    width: 100%;
    height: 50vh;
    border: none;
  }

  .right-container {
    width: 100%;
  }

  .info p {
    font-size: 1rem;
  }

  .box-shadow-container {
    width: 100%;
    -webkit-box-shadow: inset 0px 620px 50px 23px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 620px 50px 23px rgba(0,0,0,1);
    box-shadow: inset 0px 620px 50px 23px rgba(0,0,0,1);
  }

  .product_container {
    gap: 1rem;
  }

  .about-container {
    border: none;
  }

  .game_title span {
    gap: 0.2rem;
  
    top: 0;
  }
  .game_title .jeu_nom {
    position: absolute;
    top: 10px;
  }
  .pgrph_title {
    margin: 0;
    margin-top: 20px;
  }
  .game_description {
    gap: 0;
  }

  .for_space_between {
    justify-content: space-evenly
  }

  .moto_price {
    bottom: -30px;
  }

  .form_access {
    top: 30px;
  }
  .modal-content {
    width: 100%;
    max-width: 700px;
    padding: 5px;
    bottom: 85px;
}

}

