/* 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 {
  width: 90%;
  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;
}



/* Boutons */
button {
  width: 120px;
  padding: 10px;
  border-radius: 5px;
  margin: 5px;
  border: 2px #B4B4FF solid;
  color: navy;
  font-family: "Bahnschrift", Helvetica, Arial, sans-serif;
}

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

.boutonCoupe, .boutonRallye {
  width: 120px;
  height: auto;
}

.boutonCoupe img, .boutonRallye img {
  height: 60px;
}

.boutonPilotes:hover, .boutonVehicules:hover, .boutonTypeCircuits:hover, .boutonCoupe:hover, .boutonRallye:hover {
  background-color: #CACAFF;
}

#boutonPilotesOrdinaires, #boutonPilotesClassiques,
#boutonVehiculesKarts, #boutonVehiculesOrdinaires,
#boutonTypeCircuitsGrandPrix, #boutonCoupeChampignon, #boutonCoupeTurbo, #boutonRallyeTurbo {
  background-color: #CACAFF;
}

#boutonGrandPrix {
  background-color: #CACAFF;
}

#categorieCircuitsSurvie, #categorieCircuitsBataille {
  display: none;
}



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

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

#categoriePilotesOrdinaires, #categoriePilotesClassiques {
  display: flex;
}

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

.personnage img {
  height: 130px;
}

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

.textePersonnageMK {
  font-size: 14px;
  line-height: 1.2;
}

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

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


/* Pilotes 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: 35%;
  justify-content: space-around;
  margin: auto;
  overflow: auto;

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

.contenuPersoCacheImage {
  width: 30%;
}

.contenuPersoCacheImage img {
  width: 70%;
}

.contenuPersoCacheObtention {
  width: 70%;
}

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

.disparitionPersoCache:hover {
  cursor: pointer;
}


/* Mario Kart Tour (Pilotes et véhicules) */
#categoriePilotesOrdinaires, #categoriePilotesRares, #categoriePilotesUltraRares,
#categorieVehiculesOrdinaires, #categorieVehiculesRares, #categorieVehiculesUltraRares {
  max-height: 750px;
  overflow-y: auto;
}

.personnageOrdinaire, .personnageRare, .personnageUltraRare,
.personnageOrdinaireAlt, .personnageRareAlt, .personnageUltraRareAlt,
.vehiculeOrdinaire, .vehiculeRare, .vehiculeUltraRare,
.vehiculeOrdinaireAlt, .vehiculeRareAlt, .vehiculeUltraRareAlt {
  color: navy;
  margin: 5px;
  margin-bottom: 10px;
  max-width: 250px;
  min-width: 250px;
  padding-bottom: 5px;
  padding-top: 5px;
  border-radius: 15px;
}

.personnageOrdinaire img, .personnageRare img, .personnageUltraRare img,
.personnageOrdinaireAlt img, .personnageRareAlt img, .personnageUltraRareAlt img,
.vehiculeOrdinaire img, .vehiculeRare img, .vehiculeUltraRare img,
.vehiculeOrdinaireAlt img, .vehiculeRareAlt img, .vehiculeUltraRareAlt img {
  height: 120px;
}

.personnageOrdinaire p, .personnageRare p, .personnageUltraRare p,
.personnageOrdinaireAlt p, .personnageRareAlt p, .personnageUltraRareAlt p,
.vehiculeOrdinaire p, .vehiculeRare p, .vehiculeUltraRare p,
.vehiculeOrdinaireAlt p, .vehiculeRareAlt p, .vehiculeUltraRareAlt p {
  font-size: 18px;
}

.personnageOrdinaire, .personnageOrdinaireAlt,
.vehiculeOrdinaire, .vehiculeOrdinaireAlt {
  background-color: #CCCCCC;
  border: 2px #CCCCCC solid;
}

.personnageRare, .personnageRareAlt,
.vehiculeRare, .vehiculeRareAlt {
  background-color: #EEEE55;
  border: 2px #EEEE55 solid;
}

.personnageUltraRare, .personnageUltraRareAlt,
.vehiculeUltraRare, .vehiculeUltraRareAlt {
  background-color: #FF9FFF;
  border: 2px #FF9FFF solid;
}

.personnageOrdinaireAlt, .personnageRareAlt, .personnageUltraRareAlt,
.vehiculeOrdinaireAlt, .vehiculeRareAlt, .vehiculeUltraRareAlt {
  border: 2px #B4B4FF solid;
  cursor: pointer;
  transition: 0.1s;
}

.personnageOrdinaireAlt:hover, .personnageRareAlt:hover, .personnageUltraRareAlt:hover,
.vehiculeOrdinaireAlt:hover, .vehiculeRareAlt:hover, .vehiculeUltraRareAlt:hover {
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.vehiculesListeMKT {
  width: 100%;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}



/* Véhicules */
.categorieVehicules {
  display: none;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;  
}

#categorieVehiculesKarts, #categorieVehiculesOrdinaires {
  display: flex;
}

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

.elementVehicule img {
  height: 125px;
}

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

.texteVehiculeMK {
  font-size: 14px;
  line-height: 1.2;
}



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

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

.batailleGlobal {
  width: calc(100% - 20px);
}

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

.nomCircuit {
  height: 200px;
}

.nomCircuit img {
  height: 150px;
}

.circuitRetro {
  height: 84px;
}

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

.repriseCircuit p, .circuitsRetro p {
  font-size: 15px;
  line-height: 1.5;
}

.texteCircuitPrefixe {
  font-size: 14px;
}


/* 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 */
.titreTer {
  text-align: left;
  width: 100%;
}

.objetsGlobal {
  width: 98%;
  margin-bottom: 10px;
  display: flex;
  justify-content: left;
}

.listeObjets {
  width: 65%;
  max-height: 700px;
  overflow-y: auto;
  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;
}

.objet img {
  height: 90px;
}

.texteObjetsMK {
  font-size: 14px;
  line-height: 1.2;
}

.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;
  height: 150px;
}

.objetSpecifiqueMKT img {
  height: 50px;
}



/* 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 téléphone (pas 100% compatible) */
@media screen and (max-width: 1100px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 35px;
  }

  p {
    font-size: 30px;
  }

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

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



  .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 */
  .boutonPilotes, .boutonVehicules, .boutonTypeCircuits, .boutonCoupe, .boutonRallye {
    width: 250px;
    height: 120px;
    font-size: 30px;
  }

  .personnagesGlobal {
    max-height: 1200px;
    overflow: auto;
  }

  .personnage {
    max-width: 400px;
    min-width: 400px;
  }

  .personnage img {
    height: 225px;
  }

  .personnage p {
    font-size: 30px;
  }

  .textePersonnageMK {
    font-size: 22px;
    line-height: 1.5;
  }

  .contenuPersoCache {
    width: 80%;
    height: 45%;
  }

  .contenuPersoCacheImage {
    width: 100%;
  }

  .contenuPersoCacheImage img {
    width: 80%;
  }

  .contenuPersoCacheObtention {
    width: 100%;
  }

  .contenuPersoCacheObtention h2 {
    width: 100%;
    text-align: center;
  }


  /* Personnages (MK Tour) */
  .personnageOrdinaire, .personnageRare, .personnageUltraRare,
  .personnageOrdinaireAlt, .personnageRareAlt, .personnageUltraRareAlt,
  .vehiculeOrdinaire, .vehiculeRare, .vehiculeUltraRare,
  .vehiculeOrdinaireAlt, .vehiculeRareAlt, .vehiculeUltraRareAlt {
    max-width: 400px;
    min-width: 400px;
  }

  .personnageOrdinaire img, .personnageRare img, .personnageUltraRare img,
  .personnageOrdinaireAlt img, .personnageRareAlt img, .personnageUltraRareAlt img,
  .vehiculeOrdinaire img, .vehiculeRare img, .vehiculeUltraRare img,
  .vehiculeOrdinaireAlt img, .vehiculeRareAlt img, .vehiculeUltraRareAlt img {
    height: 225px;
  }

  .personnageOrdinaire p, .personnageRare p, .personnageUltraRare p,
  .personnageOrdinaireAlt p, .personnageRareAlt p, .personnageUltraRareAlt p,
  .vehiculeOrdinaire p, .vehiculeRare p, .vehiculeUltraRare p,
  .vehiculeOrdinaireAlt p, .vehiculeRareAlt p, .vehiculeUltraRareAlt p {
    font-size: 30px;
  }


  /* Véhicules */
  .vehiculesGlobal {
    max-height: 1200px;
    overflow: auto;
  }

  .elementVehicule {
    max-width: 280px;
    min-width: 280px;
  }

  .elementVehicule p {
    font-size: 30px;    
  }

  .elementVehicule img {
    height: 125px;
  }

  .texteVehiculeMK {
    font-size: 22px;
    line-height: 1.5;
  }


  /* Circuits */
  .boutonCoupeGlobal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .boutonCoupe, .boutonRallye {
    width: 280px;
  }

  .boutonCoupe img, .boutonRallye img {
    height: 100px;
  }

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

  .nomCircuit {
    height: 260px;
  }

  .nomCircuit img {
    height: 200px;
  }

  .repriseCircuit {
    height: 170px;
  }

  .repriseCircuit p, .circuitsRetro p {
    font-size: 22px;
    line-height: 1.5;
  }

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

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


  /* Les Objets */
  .objetsGlobal {
    display: block;
  }

  .listeObjets {
    width: 100%;
  }

  .objet {
    width: 250px;
    height: 130px;
  }

  .objet img {
    height: 120px;
  }

  .texteObjetsMK {
    font-size: 22px;
    line-height: 1.5;
  }

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

  .descriptionObjets img {
    width: 25%;
    height: auto;
  }


  /* Modes de jeu */
  .imageModeDeJeu {
    width: 100%;
  }

  .nomModeDeJeu {
    width: 100%;
  }
}