 /* DECLARATION DES VARIABLES*/ 

 :root{
    --noir: black;
    --blanc: white;
    --gris: rgb(112, 110, 110);
    --rouge: rgb(165, 30, 30);
}

/*************************************************************************************/
/*initialisation des styles de la page*/
/* *{
    color: var(--blanc);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: .9rem;
 
} */
* {
    color: var(--blanc);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
   
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
}

 /* DECLARATION DES VARIABLES*/ 

 :root{
    --noir: black;
    --blanc: white;
    --gris: rgb(112, 110, 110);
    --rouge: rgb(165, 30, 30);
}

/*************************************************************************************/
/*initialisation des styles de la page*/
/* *{
    color: var(--blanc);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: .9rem;
    box-sizing: content-box;
}
html{height: 100%; width: 100%;}
 */

/*******************************************************************************************/
/*Mise en place de différentes styles prédefinies pour des classes spécifiques*/

.disposition {
    margin: 0px 80px;
    border: 2px solid var(--gris);
    border-top: none;
    border-bottom: none;
    display: grid;
    justify-items: stretch;
    grid-template-rows: 1fr 2.5fr;
    row-gap: 2rem;
    padding: 0rem 5rem;
}
.reveal {
    position: relative;
    transform: scale(0);
    opacity: 0;
    transition: 1.2s all ease;
}

.reveal.active {
    transform: scale(1);
    opacity: 1;
}

.slide {
    position: relative;
    top: -100px;
    left: -150px;
    opacity: 0;
    transition: 1s all ease;
}
.slide.active1 {
    top: 0px;
    left: 0px;
    opacity: 1;
}


/**************************************************************************************/
/*Styles pour les éléments de mêmes types*/
body{
    height: 100%;
    width: 100%;
    margin: 0px;
    background-color: var(--noir);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    scroll-behavior: smooth;
}   
a{text-decoration: none;}
#game {
    font-weight: 600;
    text-decoration: underline;
}
nav a{
    font-size: 1.8rem;
    cursor: pointer;

}

nav img{
    width: auto;
    height: 3rem;
    margin-right: auto;
}

button{
    cursor: pointer;
    background-color: transparent;
    border: none;
}


/*****************************************************************************************************/
/*Styles pour des éléments spécifiques*/

#presentation{
    background-image: url("Media/Batgame_1.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 100%;
    background-origin: border-box;
    margin-bottom: 4rem;
}
#presentation nav{
    padding: 3rem 5rem;
    display: flex;
    column-gap: 2rem;
    border-bottom: 2px solid var(--gris);
}

#welcome2{
    padding: 4rem 4rem;  
    display: block;
}
#welcome2 p {
    font-weight: 700;
    font-size: 3rem;
}

#batContact{
    position: absolute; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    row-gap: 2rem;
    column-gap: 2rem;
    right: 30px; 
    top: 16rem;
}
#presentation2{
    grid-template-rows: 1fr 4fr;
    padding: 0rem;
}



#gameContent #o1, #gameContent{
    display: flex;
    margin-top: 4rem;
    flex-direction: column;
    column-gap: 2rem;
    justify-content: center;
    align-items: center;

}

#quizzTemplate{
    margin-top: 4rem;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 120%;
    height: 20rem;
}
#compteur{
    font-size: 2rem;
    font-weight: 600;
    margin-top: 4rem;
}
#questions{
    display: grid;
    grid-template-columns: 1fr 3fr;
    column-gap: 2rem;
}
#question{
    font-size: 1.5rem;
}
#image{
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    /*width: 16rem;
    height: 26rem;*/
}
#liste{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    row-gap: 1rem;
    padding: 4rem 0rem;
    width: 40rem;
}
#liste input{
    width: 1rem;
    height: 1rem;
}
#liste div{
    background-color: gray;
    display: flex;
    align-items: center;
    height: 3rem;
    column-gap: 1rem;
}
#liste label {
    font-size: 1.5rem;
}
#gameContent #o1 p{
    font-size: 2rem;
}
#gameContent button, #resultat button{
    margin-top: 2rem;
    width: 20rem;
    height: 4rem;
    background-image: linear-gradient(to right, rgb(118, 115, 134), rgb(194, 147, 46));
    font-size: large;
    margin-left: auto;
    margin-right: auto;
}
#resultat{
    position: relative;
    align-items: center;
    display: none;
    flex-direction: column;
    justify-content:center;
    padding: 0 4rem; 
    row-gap: 3rem;
    
    background-image: linear-gradient(to bottom, rgb(138, 136, 136, 0.6), rgb(167, 110, 46, 0.6));
    
}
#resultat p {text-align: center;}
#resultat p:first-child {
    font-size: 1.5rem;
}


/**************************************************************************************/
/*Gestion du responsive*/
@media (max-width: 1030px) {
    nav{
        justify-content: center;
        align-items: center;
    }
    nav img{
        display: none;
    }
    .disposition{
        margin: 0rem;
    }
    #batContact{
        position: relative;
        top: 50px;
        right: 0px;
        flex-direction: row;
    }
    .bat1, .bat2{
        transform: rotate(-90deg);
    }

}

@media (max-width: 990px){
    #welcome{
        padding: 0rem;
    }
    .disposition{
        padding: 0rem;
        justify-items: center;
        align-items: center;
    }
}

@media (max-width: 670px){
    .disposition div p{
        width: 100%;
    }
    #image{
        display: none;

    }
   #questions{
        margin-left: 14rem;
   } 

}



/* appart */
*, *:before, *:after {
  box-sizing: border-box;
}

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, a, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

footer, header, nav, section, main {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style-type: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* input {
  appearance: none;
  border-radius: 0;
} */

@font-face {
  font-family: "Rajdhani";
  src: url(./../fonts/Rajdhani-Medium.ttf);
}
@font-face {
  font-family: "space";
  src: url(./../fonts/SpaceGrotesk-VariableFont_wght.ttf);
}
.contour {
  background: #bcbbbd;
  height: 4px;
  position: relative;
  width: 85%;
  top: 100px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  margin: 0 auto;
}

.cote-game, .cote {
  position: absolute;
  z-index: 2;
  border: 4px #bcbbbd solid;
  border-top: none;
  border-bottom: none;
  width: 100%;
  transform: translate(0px, -200px);
  pointer-events: none;
}

.cote {
  height: 1150vh;
}

.cote-game {
  height: 360vh;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}
nav ul {
  list-style-type: none;
  display: flex;
}
nav ul li {
  margin-left: 30px;
}
nav ul a {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  font-family: "Rajdhani";
  text-decoration: none;
}

body {
  background-color: black;
  color: white;
  font-family: "space";
}

h1 {
  font-family: "Rajdhani";
  font-size: 36px;
  font-weight: 400;
}

button {
  font-family: "Rajdhani";
  font-size: 36px;
  font-weight: 400;
}

.container {
  width: 80%;
  margin: 0 auto;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 60%;
  margin: 0 auto;
  padding-top: 370px;
}

.content-game {
  display: block;
  padding-top: 200px;
}
.content-game h1 {
  text-transform: uppercase;
  font-size: 50px;
  font-family: "Rajdhani";
  line-height: 60px;
}

.scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  right: 3.5%;
  top: 180px;
  z-index: 5;
}
.scroll .rcs {
  margin-top: 25px;
}

#body-game {
  background: url(./../Illustrations/Batgame_1.png);
  background-repeat: no-repeat;
  background-color: black;
  background-position: top center;
  background-size: contain;
  color: white;
  font-family: "space";
}

#hero {
  background: url("./../Illustrations/Bathome1.png");
  height: 850px;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #19587D;
  background-size: cover;
}
#hero .titre-hero {
  margin: 30px 0;
  font-weight: bold;
  font-size: 25px;
}
#hero .content .cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
#hero .content .cta .btn {
  pointer-events: auto;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  padding: 20px 40px;
  background: linear-gradient(80deg, rgba(237, 222, 191, 0.4392156863), rgba(137, 0, 9, 0.4392156863));
  box-shadow: black 5px 5px 60px;
  margin: 0 20px;
  text-transform: uppercase;
}
#hero .texte {
  width: 86%;
  font-size: 20px;
  margin: 0 auto;
}

#batman-cinema {
  margin-top: 46px;
}

#allie {
  margin-top: 200px;
}

.bat-cote {
  position: absolute;
  right: 0;
  z-index: 2;
  transform: translateY(-85%);
}

.batman-personnage {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.perso-item .perso-info {
  text-align: center;
  transform: translateY(-50px);
  background: linear-gradient(-45deg, rgba(255, 0, 0, 0.37), rgba(128, 128, 128, 0.603));
  border-radius: 50px;
  padding: 5%;
  width: 80%;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.perso-item .perso-info p {
  font-size: small;
  color: #ff0;
}

section .titre {
  text-transform: uppercase;
  font-weight: bold;
  margin: 30px 0;
}
section .description {
  margin-bottom: 30px;
  text-align: justify;
  width: 85%;
  font-size: 21px;
}
section .flecheBas {
  display: block;
  margin: 0 auto;
  margin-top: 250px;
}

#bat-item {
  width: 120px;
  position: relative;
  transform: translate(100px, 60px);
}

#justice-league-img {
  position: relative;
  z-index: 3;
}

#multimedia .button {
  position: relative;
  top: 155px;
  background: none;
}
#multimedia .slide {
  display: flex;
  width: 60%;
  margin: 40px auto;
}
#multimedia .slide p {
  font-size: 15px;
}
#multimedia .slide p span {
  color: #ff0;
}
#multimedia .slide .slide-img {
  width: 100%;
}
#multimedia .slide .slide-img img {
  height: 100%;
}
#multimedia .slide .slide-text {
  padding: 15px;
  background: linear-gradient(#19587D, darkgray);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
#multimedia .trailer-img img {
  width: 100%;
}

#right {
  right: -82%;
}

#left {
  left: 7%;
}

#contact .formulaire input[type=email], #contact .formulaire textarea {
  display: block;
  border-top: none;
  border-right: none;
  border-left: none;
  width: 100%;
  background-color: transparent;
  border-bottom: rgb(147, 148, 150) 1px solid;
  padding: 10px 0;
}

#contact {
  position: relative;
  background: darkslategray;
  padding: 70px 0;
}
#contact .formulaire {
  width: 50%;
  margin: 0 auto;
}
#contact .formulaire h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 32px;
}
#contact .formulaire .titre-label {
  display: block;
  text-transform: uppercase;
  margin: 25px 0;
}
#contact .formulaire input[type=email]::placeholder, #contact .formulaire textarea::placeholder {
  color: rgb(147, 148, 150);
}
#contact .formulaire input[type=submit] {
  display: block;
  border: none;
  padding: 15px;
  width: 250px;
  margin: 25px auto;
  cursor: pointer;
  color: white;
  font-family: "Rajdhani";
  font-size: 20px;
  background: linear-gradient(45deg, rgb(147, 148, 150), rgba(255, 0, 0, 0.363));
}
#contact .icon img {
  transform: rotate(90deg);
  width: 20px;
}
#contact .news {
  margin: 15px 0;
  border-bottom: rgb(147, 148, 150) 1px solid;
}
#contact .btn-group {
  padding: 10px;
  display: flex;
  justify-content: space-around;
}
#contact .btn-group label {
  cursor: pointer;
  padding: 10px;
  border: 1px solid;
  border-image: linear-gradient(69deg, rgb(147, 148, 150), #19587D) 1;
  font-size: 17px;
}

#citation {
  margin: 90px;
}
#citation .item-citation {
  text-align: center;
  width: 50%;
  margin: 0 auto;
}
#citation .item-citation .auteur-citation {
  padding-top: 30px;
  font-size: 12px;
  width: 45%;
  margin: 0 auto;
  color: rgb(147, 148, 150);
}
#citation .guillemet-close {
  float: right;
}

#pop-up-box button, #question-game .btn-card button, #question-game-start .btn-card button {
  text-transform: uppercase;
  font-family: "Rajdhani";
  font-size: 20px;
  padding: 15px 60px;
  border: none;
  color: #fff;
  background: linear-gradient(90deg, rgb(147, 148, 150), #bc7232);
}
/* 
#question-game-start {
  margin: 10% 0 20% 0;
  text-align: center;
}
#question-game-start .titre {
  margin: 70px;
}
#question-game-start img {
  width: 80%;
}
#question-game-start .btn-card {
  margin: 40px 0;
}
#question-game {
  margin: 200px 0;
}
#question-game .quiz-card {
  width: 60%;
  margin: 0 auto 0 35%;
}
#question-game .quiz-card .titre {
  text-align: center;
}
#question-game .btn-card button {
  margin-top: 30px;
}
#question-game .quiz-item #quiz-question-text {
  font-size: 20px;
  margin: 80px 0 40px 0;
}
#question-game .quiz-item #quiz-img {
  position: absolute;
  z-index: -1;
  transform: translateX(-200px);
}
#question-game .quiz-item #quiz-img img {
  width: 20%;
}
#question-game .quiz-item #quiz-img-2 {
  position: absolute;
  transform: translateX(350px);
}
#question-game .quiz-item #quiz-img-2 img {
  width: 20%;
}
#question-game .quiz-answers {
  margin: 20px 0;
}
#question-game .quiz-answers div {
  background: rgb(147, 148, 150);
  width: 300px;
  text-align: left;
  margin: 20px 0 0 0;
  padding: 14px;
}
#question-game .quiz-answers input[type=checkbox] {
  appearance: checkbox;
  width: 25px;
  height: 25px;
  margin-right: 10px;
}
#question-game .quiz-answers label {
  font-size: 20px;
} */

footer {
  margin-bottom: 10%;
}
footer .text-footer {
  text-align: center;
  font-size: 12px;
  margin: 40px 0;
}
footer .text-footer img {
  transform: translateY(6px);
}
footer .logo-footer {
  text-align: center;
}
footer .logo-footer a {
  padding: 10px;
}
footer .logo-footer .part1 a .logo-x {
  margin: 0 10px;
  transform: translateY(-10px);
}
footer .logo-footer .part2 a img {
  transform: translateY(-8px);
}

nav a:hover {
  color: #ff0;
  text-decoration: underline;
}
nav .logo-hover:hover {
  filter: invert(0%) sepia(100%) saturate(1680%) hue-rotate(350deg) brightness(109%) contrast(104%);
}

/* .scroll #toTop:hover {
  filter: invert(0%) sepia(100%) saturate(1680%) hue-rotate(350deg) brightness(109%) contrast(104%);
}
.scroll #toBottom:hover {
  filter: invert(0%) sepia(100%) saturate(1680%) hue-rotate(350deg) brightness(109%) contrast(104%);
} */
/* 
.perso-item img {
  transform: scale(1);
  transition: transform 0.5s ease-in-out;
}
.perso-item img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

#pop-up-box {
  transition: all 2s ease-in-out;
}

.animationElement {
  opacity: 0;
  transform: translateX(-200px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
} */

/* .active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
} */

/* .zoom {
  transform: scale(0);
  transition: transform 1.5s;
} */

/* .activeZoom {
  transform: scale(1);
  transition: transform 1.5s;
} */

/* .fade-in {
  opacity: 0;
  transition: opacity 1s;
}

.fadeIn-active {
  opacity: 1;
  transition: opacity 1s;
}

.pop-up {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 6;
  font-family: "Rajdhani";
}
.pop-up .pop-up-content {
  background: linear-gradient(136deg, rgb(34, 34, 34), #bc7232);
  margin: 5% auto;
  padding: 70px 50px 0 50px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  position: relative;
  text-align: center;
}
.pop-up .pop-up-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}
.pop-up .pop-up-content h2 {
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline;
}
.pop-up .pop-up-content #result {
  font-size: 25px;
  font-weight: 400;
  text-align: center;
  margin: 50px 0;
}

#pop-up-box button {
  margin: 50px 0;
}

.hide {
  visibility: hidden;
} */

@media (max-width: 767px) {
  .scroll {
    transform: translateX(-5px);
  }
  .scroll #toTop, .scroll #toBottom {
    width: 50px;
    margin: 20px 0;
  }
  #hero .content {
    padding-top: 100px;
  }
  #hero .content .cta {
    flex-direction: column;
  }
  #hero .content .cta .btn {
    margin-bottom: 20px;
  }
  .cote {
    height: 9600px;
  }
  .cote-game {
    height: 1750px;
  }
  section .description {
    width: 95%;
  }
  .batman-personnage {
    flex-direction: column;
  }
  .perso-item {
    text-align: center;
  }
  .perso-item .perso-info {
    width: 50%;
    padding: 3%;
    transform: translateY(-30px);
  }
  .perso-item img {
    width: 250px;
  }
  /* #question-game .quiz-card {
    width: 80%;
    margin: 0 auto 0 25%;
  }
  #question-game .quiz-item #quiz-img {
    transform: translateX(-170px);
  }
  #question-game .quiz-item #quiz-img img {
    width: 30%;
  }
  #question-game .quiz-item #quiz-img-2 {
    transform: translateX(300px);
  }
  #question-game .quiz-item #quiz-img-2 img {
    width: 30%;
  } */
  #multimedia .slide {
    flex-direction: column;
  }
  #multimedia .slide .slide-img {
    width: 100%;
  }
  #multimedia .slide .slide-img img {
    width: 100%;
  }
  #multimedia .slide .slide-text {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  #multimedia .slide .slide-text p {
    font-size: 12px;
  }
  .pop-up {
    padding: 40px;
  }
  .pop-up .pop-up-content h2 {
    font-size: 25px;
  }
  .pop-up .pop-up-content #result {
    font-size: 20px;
  }
  #pop-up-box button {
    font-size: 20px;
  }
}
@media (max-width: 467px) {
  section .flecheBas {
    margin-top: 150px;
  }
  .cote {
    height: 8200px;
  }
  .cote-game {
    height: 1850px;
  }
  .scroll {
    transform: translateX(5px);
  }
  .scroll #toTop, .scroll #toBottom {
    width: 50px;
    margin: 20px 0;
  }
  #hero .content {
    padding-top: 100px;
    width: 100%;
  }
  #hero .content .cta {
    flex-direction: column;
  }
  #hero .content .cta .btn {
    margin-bottom: 20px;
    font-size: 12px;
  }
  section .description {
    width: 95%;
  }
  .batman-personnage {
    flex-direction: column;
  }
  .perso-item {
    text-align: center;
  }
  .perso-item .perso-info {
    width: 50%;
    padding: 3%;
    transform: translateY(-30px);
  }
  .perso-item img {
    width: 150px;
  }
  #question-game .quiz-card {
    width: 80%;
    margin: 0 auto 0 10%;
  }
  #question-game .quiz-item #quiz-img {
    display: none;
  }
  #question-game .quiz-item #quiz-img-2 {
    display: none;
  }
  #multimedia .slide {
    flex-direction: column;
  }
  #multimedia .slide .slide-img {
    width: 100%;
  }
  #multimedia .slide .slide-img img {
    width: 100%;
  }
  #multimedia .slide .slide-text {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  #multimedia .slide .slide-text p {
    font-size: 12px;
  }
  #citation {
    margin: 90px;
  }
  #citation .item-citation {
    text-align: center;
    width: 98%;
    margin: 0 auto;
  }
  #citation .item-citation .auteur-citation {
    padding-top: 30px;
    font-size: 12px;
    width: 70%;
    margin: 0 auto;
    color: rgb(147, 148, 150);
  }
  #citation .guillemet-open img {
    width: 20px;
  }
  #citation .guillemet-close {
    float: right;
  }
  #citation .guillemet-close img {
    width: 20px;
  }
  #allie {
    margin-top: 100px;
  }
  .bat-cote {
    width: 60%;
  }
  .pop-up {
    padding: 25px;
  }
  .pop-up .pop-up-content {
    margin-top: 20px;
  }
  .pop-up .pop-up-content h2 {
    font-size: 20px;
  }
  .pop-up .pop-up-content #result {
    font-size: 15px;
  }
  #pop-up-box button {
    font-size: 15px;
  }
}

