body {
  font-family: "Montserrat";
  background-color: white;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
  color: #5f1937;
}

.navigation li:hover,
.navigationPageJeux li:hover {
  background-color: white;
}

.navigation,
.navigationPageJeux {
  border-style: solid;
  border-width: 1px;
  border-color: #5f1937;
  padding: 10px;
  border-radius: 1px;
  text-align: left;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #ece4e7;
  z-index: 1;
}

.navigationPageJeux {
  margin-top: 115px;
}


.navigation h2,
.navigationPageJeux h2 {
  text-align: center;
}

.navigation li a,
.navigationPageJeux li a,
a.textenoir,
p#ScriptsMethodo a {
  color: #000000;
}

#ScriptsMethodo {
  margin-bottom: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}

.RetombeesPresses,
.RetombeesPresses a {
  background-color: #5f1937;
  color: #FFFFFF;
}

.Test {
  margin: 0;
  color: #FFFFFF;
}

.RetombeesPresses ul li {
  margin-bottom: 8px;
}

.RetombeesPresses {
  padding: 10px 20px;
}

#introduction {
  margin-top: 70px;
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

ul {
  padding-left: 15px;
}

article {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0;
  padding: 10px;
}

figure {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.canvas {
  height: 250px;
  width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.bandeau {
  padding: 0px;
  top: 0px;
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  position: fixed;
  height: 110px;
  width: 100%;
  background-color: #fafafa;
  text-align: center;
  border-bottom: #f0f0f0 2px solid;
  z-index: 10;
}

nav.bandeau h1 {
  margin: 10px;
}

#un,
#deux {
  margin-top: 10px;
  background-color: #ece4e7;
}

#deux {
  text-align: center;
  padding: 10px;
}


table#Index {
  border: 1px solid #ffffff;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 70px;
}

#Index td {
  min-width: 100px;
  max-width: 200px;
}

table#Index td,
.TitreTableau {
  text-align: center;
  padding: 2px;
}

.TitreTableau {
  padding-top: 20px;
  padding-bottom: 20px;
  border: 0.5px solid #b9b9b9;
  background-color: #5f1937;
  color: white;
}

table#Index th {
  text-align: left;
}

table#Index tr:nth-of-type(2n) {
  background-color: #ffffff;
}

nav h2 {
  margin-top: 0;
}

nav.bandeau {
  position: fixed;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 70px;
}

.Pass {
  background-color: #32b496;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.Fail {
  background-color: #ff6e6e;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.question {
  text-align: center;
}

.legende {
  border: 2px solid rgb(140 140 140);
  margin-left: auto;
  margin-right: auto;
}

.female {
  background-color: #ffc82d;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.male {
  background-color: #00b9ff;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.GrandEcran {
  display: none;
}

th {
  text-align: center;
}

.elementgrille {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.elementgrille figure,
.elementgrille span {
  margin-top: auto;
}

.SansPuce {
  list-style-type: none;
}

.SansPuce:hover {
  text-decoration: none;
}

.bandeauheader,
nav.bandeau {
  display: flex;
}

nav.bandeau {
  justify-content: space-between;
  align-items: center;
}

.NomSite {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  font-size: small;
}

.NomSite h1 {
  width: 100px;
}

.NomSite h1 a {
  color: #5f1937;
  text-decoration: none;
}

.Contact {
  margin-left: auto;
  margin-right: 1em;
  color: #5f1937;
  text-decoration: none;
}

.LangueFR {
  margin-left: auto;
  margin-right: auto;
  color: #5f1937;
  text-decoration: none;
}

.LangueEN {
  margin-left: auto;
  margin-right: 1em;
  color: #5f1937;
  text-decoration: none;
}

li>a {
  text-decoration: none;
}

.Contact:hover,
li:hover,
.LegalNotices:hover,
.PageAccueil:hover,
.HelpUs:hover,
.LangueFR:hover,
.LangueEN:hover {
  text-decoration: underline;
}

.footer {
  position: relative;
  bottom: 0;
  display: flex;
  flex-direction: column;
  height: 50px;
  width: 100%;
  background-color: #fafafa;
  text-align: center;
  border-top: #f0f0f0 2px solid;
}

.MentionsLegales {
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.LegalNotices {
  color: #5f1937;
  text-decoration: none;
}

.HelpUs {
  position: fixed;
  right: 1px;
  bottom: 45px;
  border: solid;
  border-color: #5f1937;
  width: 60px;
  text-align: center;
  background-color: #f0f0f0;
  border-width: 1px;
  opacity: 80%;
  z-index: 1;
}

p.HelpUs a.NoUnderline {
  color: #5f1937;
}

.NoUnderline {
  text-decoration: none !important;
}

.PageAccueil {
  display: none;
}


button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: #FFFFFF;
  border: 1px #5f1937 solid;
  color: #5f1937;
  border-radius: 4px;
  cursor: pointer;
}

img {
  height: 100%;
  width: 100%;
}

iframe,
.testGraphique {
  height: 200px;
  width: 100%;
  background-color: transparent;
  border-radius: 18px;
}

.DisplayNone {
  visibility: hidden;
  height: 0;
}

.Cache {
  display: none;
}

.DisplayBlock {
  display: block;
}

.FondGrenat {
  background-color: #5f1937;
  color: #ffffff;
  padding: 5px;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 29px;
}

section:nth-of-type(2n) {
  background-color: #ece4e7;
  margin-top: 20px;
}

.Jeux {
  padding: 5px;
  padding-left: 5px;
  padding-right: 5px;
}

section:nth-of-type(2n) h2 {
  margin-top: 0;
}

.ParagrapheGrenatClair {
  background-color: #ece4e7;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.FondGrenatClair {
  background-color: #ece4e7;
  line-height: 29px;
}

.FondGrenatClair {
  background-color: #ece4e7;
  line-height: 29px;
}

.FondGrenatClair h2 {
  margin-top: 0;
}

.SousLeBandeau {
  margin-top: 120px;
}

.SousLeBandeauPageJeux {
  margin-top: 10px;
}

.mail {
  color: #FFC82D;
}

.mail:hover {
  text-decoration: underline;
  text-transform: uppercase;
}

.imgImpressions {
  display: none;
}

.textepetitecran {
  height: auto;
}

.ContactEtLangues {
  display: flex;
  flex-direction: column;
}

.textebleu {
  color: #00B9FF;
}

.textebleu a {
  color: #00B9FF;
  font-weight: bold;
}

#Scores,
#ScoresPetit {
  background-color: #ece4e7;
  color: #000000;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
}

#Scores th,
#Scores td,
#ScoresPetit th,
#ScoresPetit td {
  border: 1px solid rgb(160 160 160);
  font-weight: 400;
}

.espacelignes {
  line-height: 29px;
}

#ScoresPetit td {
  text-align: center;
}

#ScoresPetit th {
  text-align: left;
}

.majuscule:hover {
  text-transform: uppercase;
}

.Jaune {
  background-color: #FFC82D;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.JauneParagraphe {
  background-color: #ff9090;
}

.Orange {
  background-color: #F09150;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.Bleu {
  background-color: #00b9ff;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.Grenat {
  background-color: #5f1937;
  color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  width: max-content;
}

.AligneDroite {
  float: right;
  width: 35px;
}

.PageActuelle {
  font-weight: bold;
  text-decoration: underline;
}

.NoteBasDePage {
  font-size: smaller;
  margin-bottom: 0;
  text-align: left;
}

.Q1TextePetit,
.Q2TextePetit,
.Q3TextePetit,
.Q4TextePetit,
.TestPassTextePetit,
.TableauScoresTextePetit {
  font-weight: 400;
  margin: 0;
}

.EnteteTableauInex th,
.EnteteTableauInex td {
  font-weight: 900;
  text-align: center !important;
  color: #5f1937;
}

.EnteteTableauInex td {
  line-height: normal !important;
}

.LogoEDHEC {
  position: relative;
  height: 40px;
  width: 105px;
  margin-left: auto;
  margin-right: 1em;
  bottom: -5px;
}

.droite img {
  width: 70%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.NoScript p {
  background-color: #ff6e6e;
}

.LogoEDHECGauche {
  position: relative;
  height: 40px;
  width: 105px;
  margin-right: 1em;
}

#Q1,
#Q2,
#Q3,
#Q4,
#TestPass,
#Q1Petit,
#Q2Petit,
#Q3Petit,
#Q4Petit,
#TestPassPetit {
  border: 0;
}

.Copyright {
  display: block;
  bottom: 0;
  text-align: center;
}

.Gras {
  font-weight: bold;
}















@media screen and (min-width: 500px) {
  .bandeau {
    height: 80px;
  }

  .navigationPageJeux {
    margin-top: 100px;
  }

  .SousLeBandeau {
    margin-top: 90px;
  }

  .SousLeBandeauPageJeux {
    margin-top: 10px;
  }

  .NomSite h1 {
    width: 200px;
  }


}


@media screen and (min-width: 701px) {

  .navigation,
  .navigationPageJeux {
    width: 200px;
    height: 80%;
    position: fixed;
    display: block;
    top: 0;
  }

  .navigation {
    margin-top: 75px;
  }

  article,
  #introduction {
    margin: 1em;
    margin-left: 250px;
    padding: 20px;
    text-align: left;
  }

  #deux {
    margin-left: 250px;
  }

  .grille {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .elementgrille {
    gap: 5px;
  }

  .canvas {
    height: 190px;
    width: 190px;
  }

  .SousLeBandeau {
    margin-top: 70px;
  }

  .SousLeBandeauPageJeux {
    margin-top: 70px;
  }

  .MarginTop {
    margin-top: 10px;
  }

  .MarginBottom {
    margin-bottom: 10px;
  }

  .MarginTopMax {
    margin-top: 30px;
  }

  .bandeau {
    height: 60px;
  }

  #GraphMobile {
    display: none;
  }

  .Mobile {
    display: none;
  }

  .texte,
  .textepetitecran {
    width: 100%;
    text-align: center;
    min-height: 80px;
  }

  .ContactEtLangues {
    display: flex;
    flex-direction: row;
  }

  .NomSite {
    font-size: medium;
  }

  .NomSite h1 {
    width: max-content;
  }

  .droite img {
    max-height: 200px;
    width: auto;
  }

  .LogoEDHECGauche {
    margin-left: 1em;
  }

}

@media screen and (min-width: 1001px) {
  .texte {
    width: 100%;
    text-align: center;
    min-height: 75px;
  }

  .PageAccueil {
    margin-right: auto;
    color: #5F1937;
    text-decoration: none;
    display: initial;
  }

}

@media screen and (min-width: 1201px) {
  .grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .PetitEcran {
    display: none;
  }

  .GrandEcran {
    display: table;
  }

  .colonnes {
    column-count: 2;
    column-gap: 50px;
  }

  .colonnes p,
  .colonnes ol {
    break-inside: avoid;
  }

  .colonnes p:first-child {
    margin-top: 0;
  }

  .ParagrapheGrenatClair ol li {
    margin-bottom: 8px;
  }


  .PourquoiCeTest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    grid-row: 1;
    align-items: center;
  }

  .gauche {
    display: flex;
    flex-direction: column;
  }

  .droite {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .gauche p {
    margin: 5px;
  }

  .droite img {
    max-height: 200px;
    width: auto;
  }

  .MarginBottomMax {
    margin-bottom: 50px;
  }

  #Index td {
    min-width: 180px;
  }
}

@media screen and (min-width: 1501px) {

  .grille figure {
    grid-auto-rows: 290px;
  }

  .texte {
    width: 100%;
    text-align: center;
    min-height: 60px;
  }

  .droite img {
    max-height: 300px;
    width: auto;
  }

}


@media screen and (min-width: 2001px) {
  .droite img {
    max-height: 250px;
    width: auto;
  }
}

@media screen and (min-width: 2501px) {

  .grille figure {
    grid-auto-rows: 450px;
  }

  body {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .navigation,
  .navigationPageJeux {
    width: 350px;
    padding-left: 20px;
  }

  article,
  #introduction {
    margin-left: 450px;
  }

  #deux {
    margin-left: 450px;
  }

  .HelpUs {
    width: 90px;
  }

  .droite img {
    max-height: 450px;
    width: auto;
  }

  .LogoEDHECGauche {
    margin-top: 8px;
  }

  .AligneDroite {
    width: 45px;
  }
}

@media screen and (min-width: 5501px) {

  .grille figure {
    grid-auto-rows: 450px;
  }

  body {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 3rem;
  }

  .navigation,
  .navigationPageJeux {
    width: 550px;
    padding-left: 50px;
  }

  .RetombeesPresses {
    padding-left: 50px;
  }

  article,
  #introduction {
    margin-left: 700px;
  }

  #deux {
    margin-left: 700px;
  }

  .HelpUs {
    width: 150px;
  }

  .droite img {
    max-height: 650px;
    width: auto;
  }

  #Index td {
    min-width: 300px;
    height: 150px;
  }

  .ParagrapheGrenatClair ol {
    margin-left: 40px;
  }

  .bandeau {
    height: 100px;
  }

  img {
    height: 200%;
    width: 200%;
  }

  .SousLeBandeau {
    margin-top: 110px;
  }

  .SousLeBandeauPageJeux {
    margin-top: 110px;
  }

  .navigationPageJeux,
  .navigation {
    margin-top: 130px;
  }

  .ContactEtLangues>div:has(> a.PageAccueil) {
    margin-left: 90px;
  }

  .AligneDroite {
    width: 100px;
    height: auto;
  }

}

@media print {

  .navigation,
  .navigationPageJeux {
    display: none;
  }

  .NomSite {
    z-index: 1;
  }

  a::after {
    content: " (" attr(href) ")";
    text-decoration: underline;
  }

  header h1 a::after {
    content: none;
  }


  a[href^="#"]::after {
    content: "";
  }

  .bandeau {
    position: static !important;
  }

  #introduction {
    margin-top: 0 !important;
  }

  .SousLeBandeau {
    margin-top: 10px;
  }

  .SousLeBandeauPageJeux {
    margin-top: 10px;
  }

  .FondGrenat,
  .TitreTableau,
  .RetombeesPresses,
  .Test,
  .RetombeesPresses a {
    color: #5f1937;
    background-color: #ffffff;
  }

  button {
    display: none;
  }

  #Q1,
  #Q2,
  #Q3,
  #Q4,
  #TestPass,
  #Q1Petit,
  #Q2Petit,
  #Q3Petit,
  #Q4Petit,
  #TestPassPetit {
    display: none;
  }

  .imgImpressions {
    display: block;
  }

  .female {
    color: #ffc82d;
  }

  .male {
    color: #00b9ff;
  }

  .grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .elementgrille {
    height: 190px !important;
    width: 100% !important;
  }

  .canvas {
    height: 100% !important;
    width: 100% !important;
  }

  .Pass {
    color: #32b496;
  }

  .Fail {
    color: #ff6e6e;
  }

  .texte,
  .textepetitecran {
    min-height: 80px !important;
  }

  section+section {
    break-before: page;
  }

  .HelpUs {
    min-width: 150px;
    min-height: fit-content;
    display: block;
    position: static;
    margin-left: auto;
    margin-right: auto;
  }

  .MarginTop {
    margin-top: 50px;
  }

  .ContactEtLangues {
    display: flex;
    flex-direction: row;
  }

  #TableauScores {
    background-color: #FFFFFF;
    color: #000000;
    margin-left: auto;
    margin-right: auto;
  }

  #TableauScores th,
  #TableauScores td,
  #TableauScores tbody {
    border: 1px solid rgb(160 160 160);
    text-align: center;
  }

  .Langues {
    display: none;
  }
}