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

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

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

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

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

.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;
}



/* Statistiques */
.statistiquesVehiculesGlobal {
  background-color: #D2D2FF;
  border: 2px #C3C3FF solid;
  display: flex;
  justify-content: left;
  width: 98%;
  margin-bottom: 10px;
}

.statistiquesVehiculesKarts, .statistiquesVehiculesRoues, .statistiquesVehiculesAiles {
  width: 20%;
  border-right: 2px #C3C3FF solid;
  height: 550px;
  overflow: auto;
  scrollbar-width: thin;
}

.statistiquesVehiculesInformations {
  width: 40%;
  height: 540px;
  overflow: auto;
  scrollbar-width: thin;
  padding-top:  10px;
  padding-left: 10px;
  padding-right: 10px;
}

.elementVehiculeStatistiques {
  background-color: #C3C3FF;
  color: navy;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
  margin-right: 5px; 
  width: 90%;
  padding-bottom: 5px;
  padding-top: 5px;
  border-radius: 15px;
  overflow: auto;
  scrollbar-width: none;
}

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

.barreStatistique {
  width: 100%;
  height: 40px;
  margin-top: 10px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
}

.statistiquesPersonnagesInfo {
  color: navy;
  font-size: 24px;
  font-weight: bold;
}

.statistiquesVehiculesInfo {
  color: navy;
  font-size: 20px;
}

.barreStatistiqueNom {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  color: navy;
}

.barreStatistiqueFond {
  position: relative;
  width: 100%;
  height: 15px;
  border: 2px #CCCCCC solid;
  background-color: #EEEEEE;
  border-radius: 10px;
  margin-top: 10px;
  display: flex;
}

.barreStatistiqueIndication {
  position: relative;
  border-right: 2px #DDDDDD solid;
  width: 16.5%;
  height: 100%;
  z-index: 2;
}

.barreStatistiqueCouleur {
  position: absolute;
  background-color: #2196F3;
  height: 100%;
  width: 0%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  z-index: 1;
  top: 0;
  left: 0;
}

.boutonStatistiquesGlobal {
  height: 90px;
  width: 97%;
  border-left: 2px #C3C3FF solid;
  border-right: 2px #C3C3FF solid;

  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}


/* Bouton */
button {
  width: 120px;
  padding: 10px;
  border-radius: 5px;
  margin: 5px;
  border: 2px #B4B4FF solid;
  color: navy;
}


/* Personnages */
.personnagesGlobal, .vehiculesGlobal, .circuitsGlobal {
  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;
}

#personnagesClassiques, #personnagesPNJ {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#personnagesPNJ {
  display: none;
}

#boutonPilotesClassiques {
  background-color: #CACAFF;
}

.personnage, .elementOrdinaire, .elementRare, .elementUltraRare {
  background-color: #C3C3FF;
  color: navy;
  margin: 5px;
  margin-bottom: 10px;
  max-width: 250px;
  min-width: 250px;
  padding-bottom: 5px;
  padding-top: 5px;
  border: 2px #C3C3FF solid;
  border-radius: 15px;
}

.elementOrdinaire {
  background-color: #CCCCCC;
  border: 2px #CCCCCC solid;
}

.elementRare {
  background-color: #EEEE55;
  border: 2px #EEEE55 solid;
}

.elementUltraRare {
  background-color: #FF9FFF;
  border: 2px #FF9FFF solid;
}

.elementPersonnalisation, .elementVehicule {
  background-color: #D2D2FF;
  color: navy;
  margin: 5px;
  max-width: 210px;
  min-width: 210px;
  padding-bottom: 5px;
  padding-top: 5px;
  border-radius: 15px;
}

.elementVehiculeCache {
  transition: 0.1s;
  cursor: pointer;
}

.personnageCache {
  cursor: pointer;
  border: 2px #B4B4FF solid;
  transition: 0.1s;
}

.elementOrdinaireAlternatif {
  cursor: pointer;
  border: 2px #BBBBBB solid;
  transition: 0.1s;
}

.elementRareAlternatif {
  cursor: pointer;
  border: 2px #CCCC44 solid;
  transition: 0.1s;
}

.elementUltraRareAlternatif {
  cursor: pointer;
  border: 2px #FF7FFF solid;
  transition: 0.1s;
}

.elementOrdinaireAlternatif:hover, .elementRareAlternatif:hover, .elementUltraRareAlternatif:hover,
.personnageCache:hover, .elementVehiculeCache:hover, .elementPersonnalisationCache:hover, .objet:hover {
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.personnage p, .elementPersonnalisation p, .elementVehicule p, .circuits {
  font-size: 18px;
}


/* Personnages Cachés */
.persoCache {
  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);
}

.contenuPersoCache {
  background-color: #D2D2FF;
  border: 2px solid #C3C3FF;
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  height: 30%;
  justify-content: space-around;
  margin: auto;
  overflow: auto;

  scrollbar-width: none;
  padding: 15px;
  width: 70%;
}

.contenuPersoCacheImage {
  width: 30%;
}

.contenuPersoCacheObtention {
  width: 70%;
}

.disparitionPersoCache {
  position: fixed;
  top: 10px;
  right: 10px;
}

.disparitionPersoCache:hover {
  cursor: pointer;
}



/* Véhicules */
.boutonOrdinaire, .boutonKart {
  background-color: #C3C3FF;
}

.boutonRare, .boutonUltraRare,
.boutonMoto, .boutonRoue, .boutonAile, .boutonQuad, .boutonLeak {
  background-color: #D2D2FF;
}

.ordinaireGlobal, .rareGlobal, .ultraRareGlobal,
.kartsGlobal, .motosGlobal, .rouesGlobal, .ailesGlobal, .quadsGlobal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
  width: 100%;
}

.rareGlobal, .ultraRareGlobal,
.motosGlobal, .rouesGlobal, .ailesGlobal, .quadsGlobal {
  display: none;
}

#kartsOrdinaireGlobal, #kartsRareGlobal, #kartsUltraRareGlobal {
  max-height: 1000px;
  overflow: auto;
}

.elementPersonnalisationCache {
  transition: 0.1s;
}

.elementPersonnalisationCache:hover {
  cursor: pointer;
}

.titreTer {
  text-align: left;
  width: 100%;
}

.categorieVehicules {
  display: none;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
  width: 100%;  
}

#categorieVehiculesKarts {
  display: flex;
}


/* Circuits */
.boutonCoupe {
  background-color: #D2D2FF;
  transition: 0.1s;
}

.boutonCoupe:hover {
  background-color: #CACAFF;
}

.boutonVehicules, .boutonModeCourse {
  width: 200px;
  height: 50px;
  background-color: #D2D2FF;
  transition: 0.1s;
}

.boutonVehicules:hover, .boutonModeCourse:hover {
  background-color: #CACAFF;
}

#boutonVehiculesKarts {
  background-color: #CACAFF;
}

#boutonGrandPrix {
  background-color: #CACAFF;
}

#modeCourseSurvie {
  display: none;
}

.boutonStatistiques {
  height: 80px;
  background-color: #D2D2FF;
}

#chaBouton, #tubBouton {
  background-color: #C3C3FF;
}

.coupeGlobal {
  display: none;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
  width: 100%;
}

.coupeGlobal:nth-child(1) {
  display: flex;
}

.nomCircuit {
  height: 200px;
}

.circuitRetro {
  height: 84px;
}

.repriseCircuit { 
  height: 100px; 
  border-top: 2px solid #B4B4FF;
}


/* Circuits dans Mario Kart Tour */
.circuitsMKT {
  border-bottom: 2px #A5A5FF solid;
  color: navy;
  height: 600px;
  margin-left: 1%;
  overflow: auto;
  scrollbar-width: none;
  width: 98%;
}

.circuitsMKT table tr td p img {
  width: 95%;
}

.circuitsMKT table tr td img {
  width: 95%;
}

.circuitsMKT::-webkit-scrollbar {
  width: 0rem;
}


/* Objets */
.objetsGlobal {
  /* background-color: #D2D2FF; */
  /* border: 2px #B4B4FF solid; */
  width: 98%;
  margin-bottom: 10px;
  display: flex;
  justify-content: left;
}

.listeObjets {
  width: 65%;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.objet {
  background-color: #CACAFF;
  color: navy;
  margin: 5px;
  width: 180px;
  padding-bottom: 10px;
  padding-top: 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.1s;
}

.descriptionObjets {
  width: 35%;
  padding-top: 15px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #D2D2FF;
  border-radius: 15px;
}

.descriptionObjets img {
  margin-right: 10px;
}


/* Modes de jeu */
.modesDeJeuGlobal {
  background-color: #D2D2FF;
  width: 98%;
  margin-bottom: 10px;
  display: flex;
  justify-content: left;
}

.menuUn {
  width: 20%;
  background-color: #D2D2FF;
}

.menuDeux {
  width: 20%;
  background-color: #D9D9FF;
  border-left: 2px solid #C3C3FF;
}

.menuTrois {
  width: 20%;
  background-color: #D9D9FF;
  border-left: 2px solid #C3C3FF;
}

.descriptionModesDeJeu {
  padding: 5px;
  width: 40%;
  background-color: #D2D2FF;
  border: 2px solid #C3C3FF;
}

.modeDeJeu {
  width: 100%;
  padding: 10px;
  background-color: #D2D2FF;
  display: flex;
  justify-content: left;
  transition: 0.1s;
}

.modeDeJeu:hover {
  -ms-transform: scale(1.02);
  -webkit-transform: scale(1.02);
  transform: scale(1.02);

  background-color: #CACAFF;
  border: 2px solid #C3C3FF;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;

  cursor: pointer;
}

.imageModeDeJeu {
  width: 40%;
}

.nomModeDeJeu {
  width: 60%;
}

.nomModeDeJeuSeul {
  width: 90%;
}


/* Ajustement fenêtre */
@media screen and (max-height: 750px) {
  .statistiquesVehiculesKarts, .statistiquesVehiculesRoues, .statistiquesVehiculesAiles {
    height: 400px;
  }

  .statistiquesVehiculesInformations {
    height: 400px;
  }

  .statistiquesPersonnagesInfo {
    font-size: 20px;
  }

  .statistiquesVehiculesInfo {
    font-size: 18px;
  }

  .barreStatistiqueNom {
    width: 100%;
  }

  .barreStatistiqueFond {
    width: 100%;
  }

  .elementVehiculeStatistiques img {
    height: 80px;
  }

  .circuits img {
    height: 100px;
  }

  .nomCircuit {
    height: 150px;
  }

  .repriseCircuit {
    height: 75px;
  }

  .circuitRetro {
    height: 62px;
  }

  .circuits p {
    font-size: 15px;
  }

  button img {
    height: 50px;
  }

  .boutonCoupe, .boutonStatistiques {
    width: 90px;
  }

  .imgPresentation img {
    height: 300px;
  }

  .elementPersonnalisation img {
    height: 100px;
  }

  .elementVehicule img {
    height: 150px;
  }

  .personnage img {
    height: 125px;
  }

  .objet img {
    height: 70px;
  }

  .descriptionObjets img {
    height: 130px;
  }

  .modeDeJeu p {
    font-size: 14px;
  }

  .modeDeJeu img {
    height: 40px;
  }
}



@media screen and (max-width: 1100px) {
  /* Image présentation */
  .imgPresentation, .imgPresentation2 {
    width: 80%;
  }



  .statistiquesVehiculesKarts, .statistiquesVehiculesRoues, .statistiquesVehiculesAiles, .statistiquesVehiculesInformations {
    height: 800px;
  }

  .boutonStatistiquesGlobal {
    width: 100%;
    height: 140px;
    -webkit-overflow-scrolling: touch;
  }

  .boutonStatistiques {
    height: 120px;
  }

  .boutonStatistiques img {
    height: 100px;
  }

  .elementVehiculeStatistiques {
    height: 200px;
    text-align: center;
  }

  .elementVehiculeStatistiques img {
    height: 80px;
  }

  .statistiquesVehiculesGlobal {
    display: block;
    width: 100%;
  }

  .statistiquesVehiculesKarts {
    width: 100%;
    height: 250px;
    margin-top: 10px;
    border-bottom: 3px #C3C3FF solid;

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

  .statistiquesVehiculesRoues {
    width: 100%;
    height: 250px;
    margin-top: 10px;
    border-bottom: 3px #C3C3FF solid;

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

  .statistiquesVehiculesAiles {
    width: 100%;
    height: 250px;
    margin-top: 10px;
    border-bottom: 3px #C3C3FF solid;

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

  .elementVehiculeStatistiques {
    min-width: 300px;
    max-width: 300px;
  }

  .elementVehiculeStatistiques img {
    height: 150px;
  }

  .elementVehiculeStatistiques:hover {
    -ms-transform: scale(1.02);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
  }

  .statistiquesVehiculesInformations {
    width: 100%;
    height: 700px;
  }

  .elementVehiculeStatistiques {
    width: 200px;
  }

  .statistiquesPersonnagesInfo {
    color: navy;
    font-size: 40px;
    font-weight: bold;
  }

  .statistiquesVehiculesInfo {
    color: navy;
    font-size: 35px;
  }

  .barreStatistique {
    margin-top: 25px;
    height: 50px;
  }

  .barreStatistiqueNom {
    font-size: 25px;
  }

  .barreStatistiqueFond {
    height: 25px;
    width: 97%;
  }


  /* Personnages */
  .contenuPersoCacheImage {
    width: 90%;
  }

  .contenuPersoCacheObtention {
    width: 90%;
  }



  /* Circuits */
  .circuits {
    width: calc(50% - 30px);
    margin-left: 15px;
    margin-right: 15px;
  }

  .coupes {
    width: 60%;
    margin-left: 10px;
    margin-right: 10px;
  }

  .coupeRetro {
    border-top: 2px solid #B4B4FF;
  }


  .imageModeDeJeu {
    width: 100%;
  }

  .nomModeDeJeu {
    width: 100%;
  }
}