a {
  color: blue;
}


/* Page accueil */
.listeJeuxSSB {
  padding: 10px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.elementJeuxSSB {
  width: 300px;
  margin-right: 20px;
  transition: 0.1s;
}

.elementJeuxSSB:hover {
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.elementJeuxSSB img {
  height: 350px;
  border-radius: 15px;
}

.listeJeuxSSB a {
  color: blue;
  text-decoration: none;
}


/* Barre supérieure */
.listeElementsBarre {
  background-color: #C9C9FF;
  border: 2px #B4B4FF solid;
  border-radius: 15px;

  padding: 10px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.elementBarre {
  width: 200px;
  margin-right: 10px;
}

.elementBarre img {
  transition: 0.1s;
}

.elementBarre img:hover {
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);  
}


/* Sommaire */
.sommaireGlobal {
  background-color: #D2D2FF;
  margin: 10px;
  padding: 10px;
  width: 90%;
  border: 2px #C3C3FF solid;
  border-radius: 15px;
}

.sommaireGlobal a { 
  text-decoration: none;
  color: blue;
}

.sommaireGlobal p {  
  transition: 0.1s;
}

.sommaireGlobal p:hover {
  -ms-transform: scale(1.003);
  -webkit-transform: scale(1.003);
  transform: scale(1.003);
}


/* Image Présentation */
.imgPresentation {
  width: 30%;
  border-radius: 15px;
}

.imgPresentation2 {
  width: 40%;
  border-radius: 15px;
}


/* Balise audio */
audio {
  border-radius: 8px;
}


/* Combattants */
.combattantsGlobal {
  background-color: #D2D2FF;
  border: 2px #C3C3FF solid;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
  width: 98%;
  margin-bottom: 10px;
}

.combattant {
  background-color: #C3C3FF;
  color: navy;
  margin: 5px;
  max-width: 250px;
  min-width: 250px;
  padding-bottom: 5px;
  padding-top: 5px;
  border-radius: 15px;
  border: 2px #C3C3FF solid;

  cursor: pointer;
  transition: 0.1s;
}

.combattant:hover, .combattantDesc img:hover, #combattantsAlt img:hover {
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);  
}

.combattantCache {
  border: 2px #B4B4FF solid;
}

.combattantAdditionnel {
  border: 2px #7FFF7F solid;
}


/* Combattants descriptions */
.combattantDescription {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.contenuCombattant {
  background-color: #D2D2FF;
  border: 2px solid #C3C3FF;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  height: 50%;
  justify-content: space-around;
  margin: auto;
  overflow: auto;
  padding: 15px;
  width: 70%;
}

.combattantImg {
  width: calc(30% - 22px);
  border-right: 2px solid #B4B4FF;
  padding: 10px;
  font-size: 20px;
}

.combattantImg img {
  width: 70%;
  margin-bottom: 10px;
}

.texteCombattantOrigine {
  font-size: 16px;
}

.combattantDesc {
  width: calc(70% - 30px);
  padding: 15px;
}

.combattantDesc img {
  height: 120px;
  border-radius: 10px;
  margin-left: 10px;
  margin-right: 10px;
  transition: 0.1s;
}

.descriptionSpecifiqueGlobal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#combattantsAlt img {
  transition: 0.1s;
}



/* Stages */
button {
  width: 180px;
  padding: 10px;
  border-radius: 5px;
  margin: 5px;
  border: 2px #B4B4FF solid;
  color: navy;
  background-color: #D2D2FF;
  transition: 0.1s;
}

button:hover {
  background-color: #C3C3FF;
}

#boutonStages3DS, #boutonModesDeJeu3DS {
  background-color: #C3C3FF;
}

#stagesWiiU, #imgStagesWiiU, #modesDeJeuWiiU {
  display: none;
}


.stagesGlobal {
  background-color: #D2D2FF;
  border: 2px #C3C3FF solid;
  border-radius: 15px;
  display: flex;
  justify-content: left;
  width: 98%;
  margin-bottom: 10px;
}

.stagesListeGlobal {
  width: 40%;
  height: 470px;
  border-right: 2px #C3C3FF solid;
  overflow: auto;
  scrollbar-width: thin;
}

.stagesDescription {
  width: 60%;
  height: 460px;
  overflow: auto;
  scrollbar-width: thin;
  padding-top:  10px;
  padding-left: 10px;
  padding-right: 10px;
}

.plateformePolymorpheDescription {
  height: calc(100% - 10px);
}

.stagesDescription img {
  border-radius: 10px;
}

.stageListe {
  display: none;
}

.stageListe:nth-child(1) {
  display: block;
}

.stage {
  width: 90%;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
  margin-right: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 15px;
  background-color: #C3C3FF;
  color: navy;
  overflow: auto;
  scrollbar-width: none;
  display: flex;
  justify-content: left;
  border: 2px #C3C3FF solid;
  transition: 0.1s;
}

.stage:hover {
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);

  cursor: pointer;
  background-color: #BFBFFF;
}

.stageCache {
  border: 2px #B4B4FF solid;
}

.stageAdditionnel {
  border: 2px #7FFF7F solid;
}

.stageImage {
  width: 34%;
  margin: auto;
}

.stageImage img {
  border-radius: 10px;
}

.stageNom {
  width: 66%;
  margin: auto;
}

.texteStageJeu, .texteStageOrigine {
  font-size: 14px;
}


/* Mode aventure */
iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.aventureVideoGlobal {
  display: inline-block;
  position: relative;
  width: 40%;
  margin-left: 30%;
  margin-right: 30%;
}

.aventureVideoDummy {
  margin-top: 56.25%;
  /* 16:9 aspect ratio */
}

.aventureVideo {  
  border-radius: 15px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
}



/* Ajustement téléphone (pas 100% compatible) */
@media all and (max-width: 1100px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 35px;
  }

  p {
    font-size: 30px;
  }

  
  /* Accueil */
  .elementJeuxSSB {
    width: 400px;
    margin-right: 25px;
  }

  .elementJeuxSSB img {
    height: 450px;
  }


  /* Barre supérieur */
  .elementBarre {
    min-width: 200px;
    max-width: 200px;
  }

  .elementBarre img {
    width: 90%;
    height: auto;
    margin-left: 5%;
    margin-right: 5%;
  }


  /* Image présentation */
  .imgPresentation, .imgPresentation2 {
    width: 80%;
  }

  
  /* Les Combattants */
  .contenuCombattant {
    width: 80%;
    height: 60%;
  }

  .combattantImg {
    width: calc(100% - 30px);
    border-right: 0px;
    border-bottom: 2px solid #B4B4FF;
  }

  .combattantImg img {
    width: 40%;
  }

  .texteCombattantOrigine {
    font-size: 25px;
  }

  .combattantDesc {
    width: calc(100% - 30px);
  }

  .combattantDesc img {
    height: 200px;
  }

  .descriptionSpecifiqueGlobal {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .descriptionSpecifiqueGlobal div {
    width: 35%;
    margin-bottom: 20px;
  }


  /* Les Stages */
  button {
    width: 300px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 10px;
    font-size: 25px;
  }

  .stagesGlobal {
    display: block;
  }

  .stagesListeGlobal {
    width: 100%;
    height: 350px;
    border-right: 0px;
    border-bottom: 2px #C3C3FF solid;

    display: flex;
    flex-wrap: nowrap;
  }

  #stages3DS, #stagesWiiU {
    flex-wrap: nowrap;
  }

  #stages3DS {    
    display: flex;
  }

  .stage {
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    height: 300px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    flex-wrap: wrap;
  }

  .stage:nth-child(1) {
    margin-top: auto;
  }

  .stageImage {
    width: 100%;
  }

  .stageNom {
    width: 100%;
  }

  .texteStageJeu, .texteStageOrigine {
    font-size: 25px;
  }

  .stagesDescription {
    width: calc(100% - 20px);
    height: 1000px;
    overflow: auto;
  }

  .stagesDescription img {
    width: 85%;
  }


  /* Mode aventure */
  .aventureVideoGlobal {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
  }
}