@import url("https://fonts.googleapis.com/css2?family=Sniglet&display=swap");
*, ::before, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

body {
  font-size: 10px;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}
body main {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
}
body main #bouton_retour {
  position: fixed;
  top: 5dvw;
  left: 5dvw;
  height: 50px;
  width: 50px;
}
body main #bouton_retour.croix #barre {
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.croix #barre::before {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: #eee;
  border-radius: 999px;
  transform-origin: 25px center;
  transform: translate(0%, 200%) rotate(-45deg);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.croix #barre::after {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: #eee;
  border-radius: 999px;
  transform-origin: 25px center;
  transform: translate(0%, 100%) rotate(45deg);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.croix #pointe {
  transform: translateX(calc(50% - 5px));
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.croix #pointe::before {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: #eee;
  border-radius: 999px;
  transform-origin: 5px center;
  transform: translate(0%, 0%) rotate(-45deg);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.croix #pointe::after {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: #eee;
  border-radius: 999px;
  transform-origin: 5px center;
  transform: translate(0%, -100%) rotate(45deg);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.fleche #barre {
  transform: translateX(5px);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.fleche #barre::before {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: black;
  border-radius: 999px;
  transform-origin: 25px center;
  transform: translate(0%, 200%);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.fleche #barre::after {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: black;
  border-radius: 999px;
  transform-origin: 25px center;
  transform: translate(calc(50% - 5px), 100%);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.fleche #pointe {
  transform: translateX(5px);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.fleche #pointe::before {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: black;
  border-radius: 999px;
  transform-origin: 5px center;
  transform: translate(0%, 0%) rotate(-45deg);
  transition: all 1.5s ease-in-out;
}
body main #bouton_retour.fleche #pointe::after {
  content: "";
  display: block;
  height: 10px;
  width: 30px;
  background-color: black;
  border-radius: 999px;
  transform-origin: 5px center;
  transform: translate(0%, -100%) rotate(45deg);
  transition: all 1.5s ease-in-out;
}
body main #line30p {
  position: absolute;
  height: 100vh;
  width: 30vw;
}
body main #line35p {
  position: absolute;
  height: 100vh;
  width: 35vw;
}
body main #line40p {
  position: absolute;
  height: 100vh;
  width: 40vw;
}
body main #line45p {
  position: absolute;
  height: 100vh;
  width: 45vw;
}
body main #line50p {
  position: absolute;
  height: 100vh;
  width: 50vw;
}
body main #line55p {
  position: absolute;
  height: 100vh;
  width: 55vw;
}
body main #line60p {
  position: absolute;
  height: 100vh;
  width: 60vw;
}
body main #line65p {
  position: absolute;
  height: 100vh;
  width: 65vw;
}
body main #line70p {
  position: absolute;
  height: 100vh;
  width: 70vw;
}
body main #line30p {
  border-right: 2px dotted blue;
}
body main #line35p {
  border-right: 2px dotted cyan;
}
body main #line40p {
  border-right: 2px dotted green;
}
body main #line45p {
  border-right: 2px dotted yellow;
}
body main #line50p {
  border-right: 2px dotted red;
}
body main #line55p {
  border-right: 2px dotted yellow;
}
body main #line60p {
  border-right: 2px dotted green;
}
body main #line65p {
  border-right: 2px dotted cyan;
}
body main #line70p {
  border-right: 2px dotted blue;
}
body main #titre h1 {
  font-family: "Comic Sans MS", Sniglet, Arial, Helvetica, sans-serif;
  font-size: min(30vh, 30vw);
  display: inline;
}
body main #buttonStart {
  position: absolute;
  border: 5px #000 solid;
  background-color: #eee;
  color: #000;
  height: 12vh;
  width: auto;
  border-radius: 2vh;
  padding: 10px;
  transform-origin: top left;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  transition: all 0.4s ease-in-out;
}
body main #buttonStart #buttonName p {
  font-family: "Comic Sans MS", Sniglet, Arial, Helvetica, sans-serif;
  font-size: min(5vh, 5vw);
}
body main #buttonStart:hover {
  border: 5px #fff solid;
  background-color: #000;
  color: #fff;
  transition: all 0.4s ease-in-out;
}
body main #buttonStart:hover:active {
  transform-origin: top left;
  scale: 0.9;
  transition: scale 0.2s ease;
}
body main #formulaireReponse {
  height: 50vh;
  width: min(500px, 80vw);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
  align-items: stretch;
  align-content: stretch;
  position: absolute;
  bottom: -75%;
  left: 50%;
  transform: translate(-50%, 0) scale(0.9);
}
body main #formulaireReponse #divResultat {
  height: 4%;
  width: 100%;
  border: 2px black solid;
  background-color: #ddd;
  border-radius: 15px;
  padding: 10px;
  margin-bottom: 10px;
  text-align: center;
}
body main #formulaireReponse #divResultat.red {
  color: red;
}
body main #formulaireReponse #divResultat.green {
  color: green;
}
body main #formulaireReponse #divChampReponse {
  height: 14%;
  width: 100%;
  border: 3px black solid;
  background-color: #ddd;
  border-radius: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-start;
  align-content: center;
  font-size: 25px;
  font-family: "Comic Sans MS", Sniglet, Arial, Helvetica, sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
body main #formulaireReponse #divChampReponse.incorrect {
  background-color: red;
}
body main #formulaireReponse #divChampReponse.correct {
  background-color: lime;
}
body main #formulaireReponse #divChampReponse div {
  width: 100%;
}
body main #formulaireReponse #divChampReponse div p {
  display: block;
  width: 100%;
  text-align: center;
}
body main #formulaireReponse #paveNumerique {
  width: 100%;
  height: 78%;
  display: grid;
  grid-template-rows: repeat(4, 23%);
  grid-template-columns: repeat(3, 30%);
  gap: 2.6666666667% 5%;
}
body main #formulaireReponse #paveNumerique .touchePaveNumerique {
  height: 100%;
  width: 100%;
  background-color: #8cf;
  border-radius: 20px;
  box-shadow: 0 min(50px, 2vh) 0 #59c;
  position: relative;
  top: 0;
  transition: all 0.4s ease;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
body main #formulaireReponse #paveNumerique .touchePaveNumerique:active {
  box-shadow: 0 0 0 #59c;
  top: min(50px, 2vh);
  transition: all 0.2s ease;
}
body main #formulaireReponse #paveNumerique .touchePaveNumerique .divNombrePaveNumerique .pNombrePaveNumerique {
  font-family: "Comic Sans MS", Sniglet, Arial, Helvetica, sans-serif;
  font-size: 20px;
}
body main #formulaireReponse #paveNumerique #touchePaveNumeriqueEffacer {
  background-color: #fd8;
  box-shadow: 0 min(50px, 2vh) 0 #ca5;
}
body main #formulaireReponse #paveNumerique #touchePaveNumeriqueEffacer:active {
  box-shadow: 0 0 0 #59c;
}
body main #formulaireReponse #paveNumerique #touchePaveNumeriqueValider {
  background-color: #8e8;
  box-shadow: 0 min(50px, 2vh) 0 #4b4;
}
body main #formulaireReponse #paveNumerique #touchePaveNumeriqueValider:active {
  box-shadow: 0 0 0 #4b4;
}
body main #formulaireReponse #paveNumerique #touchePaveNumerique1, body main #formulaireReponse #paveNumerique #touchePaveNumerique2, body main #formulaireReponse #paveNumerique #touchePaveNumerique3 {
  z-index: 10;
}
body main #formulaireReponse #paveNumerique #touchePaveNumerique4, body main #formulaireReponse #paveNumerique #touchePaveNumerique5, body main #formulaireReponse #paveNumerique #touchePaveNumerique6 {
  z-index: 20;
}
body main #formulaireReponse #paveNumerique #touchePaveNumerique7, body main #formulaireReponse #paveNumerique #touchePaveNumerique8, body main #formulaireReponse #paveNumerique #touchePaveNumerique9 {
  z-index: 30;
}
body main #formulaireReponse #paveNumerique #touchePaveNumeriqueEffacer, body main #formulaireReponse #paveNumerique #touchePaveNumerique0, body main #formulaireReponse #paveNumerique #touchePaveNumeriqueValider {
  z-index: 40;
}
body main #carte {
  height: min(30vh, 40vw);
  width: min(30vh, 40vw);
  position: absolute;
  left: 50%;
  top: -50vh;
  transform: translate(-50%, 0);
}
body main #carte .faceCarte {
  height: min(30vh, 40vw);
  width: min(30vh, 40vw);
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  font-family: "Comic Sans MS", Sniglet, Arial, Helvetica, sans-serif;
  font-size: min(6vh, 9vw);
}
body main #carte #faceQ {
  background-color: orange;
  transform: rotateY(0deg);
  transition: all 1s ease;
}
body main #carte #faceQ div p {
  text-align: center;
}
body main #carte #faceR {
  background-color: lightgreen;
  transform: rotateY(-180deg);
  transition: all 1s ease;
}
body main.revele #carte #faceQ {
  transform: rotateY(180deg);
  transition: all 1s ease;
}
body main.revele #carte #faceR {
  transform: rotateY(0deg);
  transition: all 1s ease;
}
body main.waiting {
  background-color: #aee;
  transition: all 0.4s ease-in-out;
}
body main.waiting #titre {
  display: inline-block;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-bottom: 10vh;
}
body main.waiting #buttonStart {
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
}
body main.waiting #carte {
  left: 50%;
  top: -50vh;
  transform: translate(-50%, 0);
}
body main.waiting #formulaireReponse {
  bottom: -75%;
}
body main.start {
  background-color: #222;
  transition: all 0.6s ease-in-out;
}
body main.start #titre {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: top 1s ease-in-out;
}
body main.start #buttonStart {
  position: absolute;
  top: 200%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: top 1s ease-in-out;
}
body main.start #carte {
  top: 10vh;
  transition: top 1s 0.5s ease-in-out;
}
body main.start #formulaireReponse {
  bottom: 2vh;
  transition: bottom 1s 0.5s ease-in-out;
}
body main.start.new #carte {
  top: -50vh;
  transition: top 1s 0.5s ease-in-out;
}

/*

.carte {

    position: absolute;
    left: 50%;
    top: 10vh;
    transform: translate(-50%, -50%);

    .faceCarte {
        height: min(40vh, 40vw);
        width: min(40vh, 40vw);
        position: absolute;
    }

    #faceQ {
        background-color: orange;
        // background-color: #ddd;
        backface-visibility: hidden;
        transform: rotateY(-180deg);
        transition: all 1s ease;
    }

    #faceR {
        background-color: lightgreen;
        // background-color: #ddd;
        backface-visibility: visible;
        transform: rotateY(0deg);
        transition: all 1s ease;
    }
}


.carte.turn {

    #faceQ {
        transform: rotateY(0deg);
        backface-visibility: visible;
        transition: all 1s ease;
    }

    #faceR {
        transform: rotateY(180deg);
        backface-visibility: hidden;
        transition: all 1s ease;
    }
}

*//*# sourceMappingURL=style.css.map */