::-webkit-scrollbar {
  width: 10px;
  height: 0;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 0, 0.3);
}

::-webkit-scrollbar-track {
  background: transparent;
}

@font-face {
  font-family: "CB";
  src: url("fonts/CaveatBrush-Regular.ttf");
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  scrollbar-color: rgba(255, 0, 0, 0.3) transparent;
}

body {
  margin: 0;
  padding: 30px;
  background: #e8a6a6 url("img/bg.svg");
  font-size: 1rem;
  font-family: serif;
}

.home {
  display: block;
  position: absolute;
  overflow-y: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.goToBt {
  position: fixed;
  right: 20px;
  bottom: 0;
}

.goToBt > * {
  width: 30px;
  height: 30px;
  background: #bd0000;
  margin-bottom: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.goToBt > *:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.goToBt > *.rdmBt {
  background: darkred;
}

.goToBt > *.endBt {
  background: #803b3b;
}

.transitionQuestionsWrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.transitionQuestions {
  background: #000 url("img/bg1.svg");
  position: absolute;
  z-index: 100000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-animation: pass 1s;
          animation: pass 1s;
  opacity: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}

@-webkit-keyframes pass {
  0% {
    -webkit-transform: translate3d(0, 80%, 0);
            transform: translate3d(0, 80%, 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate3d(0, -90%, 0);
            transform: translate3d(0, -90%, 0);
    opacity: 0;
  }
}

@keyframes pass {
  0% {
    -webkit-transform: translate3d(0, 80%, 0);
            transform: translate3d(0, 80%, 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate3d(0, -90%, 0);
            transform: translate3d(0, -90%, 0);
    opacity: 0;
  }
}

.paramsBt {
  background: #bd0000 url(img/params.svg);
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.paramsBt:hover {
  -webkit-animation: turnParams 5s linear infinite;
          animation: turnParams 5s linear infinite;
  background-color: #000;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
}

@-webkit-keyframes turnParams {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes turnParams {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.seedInput {
  width: 80%;
  font-size: .6em;
  padding: 10px;
  -webkit-user-select: unset;
     -moz-user-select: unset;
      -ms-user-select: unset;
          user-select: unset;
  text-align: center;
  margin-bottom: 10px;
  resize: vertical;
  height: 130px;
  border-radius: 8px;
  outline: none;
  border: none;
  margin-top: 4px;
}

.paramsPanel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e8a6a6;
  z-index: 50000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding: 30px;
  font-size: 1.2em;
}

.paramsPanel .bt {
  color: #fff;
  background: #bd0000;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 50px;
  margin-top: 50px;
}

.paramsPanel .bt:hover {
  background: #000;
}

.closeParamsAnim {
  -webkit-animation: hideParams 1s;
          animation: hideParams 1s;
}

@-webkit-keyframes hideParams {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  15% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes hideParams {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  15% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    opacity: 0;
  }
}

.exit {
  background-image: url(img/exit.svg);
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: absolute;
  left: 20px;
  top: 20px;
}

.exit:hover {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
}

.GAME {
  font-size: 1.3em;
  font-family: 'CB';
}

.GAME .logo {
  margin: 50px auto;
  position: absolute;
  width: 250px;
  z-index: 3;
  left: calc(50% - 125px);
  -webkit-animation: logoAnim 1s;
          animation: logoAnim 1s;
}

@-webkit-keyframes logoAnim {
  0% {
    -webkit-transform: rotate(290deg) scale(1.8) translate3d(0, -100px, 0);
            transform: rotate(290deg) scale(1.8) translate3d(0, -100px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotate(0deg) scale(1) translate3d(0, 0, 0);
            transform: rotate(0deg) scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes logoAnim {
  0% {
    -webkit-transform: rotate(290deg) scale(1.8) translate3d(0, -100px, 0);
            transform: rotate(290deg) scale(1.8) translate3d(0, -100px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotate(0deg) scale(1) translate3d(0, 0, 0);
            transform: rotate(0deg) scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

.GAME .rays {
  background: url(img/rays.svg);
  margin: -370px auto;
  width: 100%;
  height: 1000px;
  display: block;
  position: absolute;
  background-position-x: center;
}

.GAME .interGrid {
  font-size: 2em;
  text-align: center;
  margin-right: 30px;
}

.GAME .interGrid::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  background: url("img/beforeTitle.svg");
}

.GAME .interGrid::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-left: 13px;
  background: url("img/afterTitle.svg");
}

.GAME .grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 15px;
  margin-right: 30px;
  padding: 30px;
  color: #fff;
  font-size: 1.2em;
}

.GAME .grid .card {
  background-color: #bd0000;
  background-image: url("img/card.svg");
  width: 250px;
  height: 250px;
  margin: 10px;
  border-radius: 10px;
  padding: 25px;
  cursor: pointer;
  -webkit-transition: 1s;
  transition: 1s;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* Vertical center alignment */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* Horizontal center alignment */
  text-align: center;
  word-break: break-word;
}

.GAME .grid .card:hover {
  background-color: #000;
  -webkit-transition: .1s;
  transition: .1s;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  z-index: 10;
}

.GAME .grid .card .nbQuestions {
  font-size: .8em;
}

.GAME .grid .card .loaderIcon {
  -webkit-animation: turnLoad 1s linear infinite;
          animation: turnLoad 1s linear infinite;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("img/loader.svg");
}

@-webkit-keyframes turnLoad {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes turnLoad {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.GAME .grid .cardRandom {
  background-color: darkred;
}

.GAME .grid .cardClicked {
  -webkit-animation: example .7s both;
          animation: example .7s both;
  cursor: pointer;
}

@-webkit-keyframes example {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(-10deg) scale(0.8);
            transform: rotate(-10deg) scale(0.8);
  }
  100% {
    -webkit-transform: rotate(360deg) scale(1.5);
            transform: rotate(360deg) scale(1.5);
    opacity: 0;
  }
}

@keyframes example {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(-10deg) scale(0.8);
            transform: rotate(-10deg) scale(0.8);
  }
  100% {
    -webkit-transform: rotate(360deg) scale(1.5);
            transform: rotate(360deg) scale(1.5);
    opacity: 0;
  }
}

.GAME .grid .cardPlayed {
  background: #803b3b url("img/card2.svg");
}

.GAME .grid .cardWin {
  background: #703434 url("img/card3.svg");
}

.GAME .grid .cardContent {
  display: none;
  opacity: 0;
  position: fixed !important;
  top: 100px;
  right: 100px;
  bottom: 100px;
  left: 100px;
  background: #000 url("img/bg.svg");
  z-index: 10;
}

.GAME .quizz {
  background: #e6cdcd url("img/bg1.svg");
  color: #bd0000;
  z-index: 10000;
  overflow-y: auto;
  position: fixed;
  padding: 30px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  -webkit-animation: open .5s;
          animation: open .5s;
}

@-webkit-keyframes open {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes open {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

.GAME .quizz .startPanel {
  z-index: 900000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* Vertical center alignment */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* Horizontal center alignment */
  text-align: center;
  word-break: break-word;
  background: #cac0c0 url("img/bg1.svg");
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.GAME .quizz .transitStartPanel {
  -webkit-animation: startPanelClose 1s;
          animation: startPanelClose 1s;
}

@-webkit-keyframes startPanelClose {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  15% {
    opacity: 1;
    background: #fff;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
}

@keyframes startPanelClose {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  15% {
    opacity: 1;
    background: #fff;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
}

.GAME .quizz .quizzSeed {
  font-size: 1em;
  cursor: pointer;
  color: #fff;
  background-color: #bd0000;
  padding: 5px 10px;
  max-width: 600px;
  display: inline-block;
  border-radius: 5px;
  word-break: break-all;
  margin-bottom: 10px;
}

.GAME .quizz .quizzSeed:hover {
  background: #000;
}

.GAME .quizz .quizzLabel {
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #000;
}

.GAME .quizz .questionLabel {
  font-size: 2em;
  margin-top: 30px;
  display: block;
  color: #000;
}

.GAME .quizz .questionPicture {
  -webkit-transform: rotate(-3deg);
          transform: rotate(-3deg);
}

.GAME .quizz .questionPicture img {
  max-width: 70%;
  max-height: 300px;
  border-radius: 8px;
}

.GAME .quizz .questionLearn {
  font-size: 1.1em;
  color: #000;
}

.GAME .quizz .next {
  background: url(img/next.svg);
  width: 100px;
  height: 100px;
  margin: 20px auto;
  cursor: pointer;
}

.GAME .quizz .next:hover {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
}

.GAME .quizz .credits {
  font-size: .8em;
  opacity: .9;
  margin-top: 30px;
}

.GAME .quizz .gridPropositions {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  padding: 40px;
  color: #fff;
  font-size: 1.2em;
}

.GAME .quizz .gridPropositions > * {
  background: #bd0000;
  border-radius: 10px;
  padding: 30px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* Vertical center alignment */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* Horizontal center alignment */
  text-align: center;
}

.GAME .quizz .gridPropositions > *:hover {
  background: #000;
}

.GAME .quizz .gridPropositions .correctProposition {
  -webkit-animation: win .1s 5 alternate;
          animation: win .1s 5 alternate;
  background: #fff;
  color: #000;
  cursor: default;
}

@-webkit-keyframes win {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
    opacity: .4;
  }
}

@keyframes win {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
    opacity: .4;
  }
}

.GAME .quizz .gridPropositions .badProposition {
  -webkit-animation: loose 1s both;
          animation: loose 1s both;
}

@-webkit-keyframes loose {
  0% {
    opacity: 1;
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: .8;
  }
}

@keyframes loose {
  0% {
    opacity: 1;
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: .8;
  }
}

.GAME .quizz .gridPropositions .badProposition:hover {
  background-color: #bd0000;
  cursor: default;
}

.GAME .quizz .gridPropositions .badIcon {
  background-image: url(img/bad.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.GAME .quizz .gridPropositions .correctIcon {
  background-image: url(img/correct.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.GAME .quizz .counter {
  margin-bottom: 25px;
  font-size: 1.2em;
  display: inline-block;
  border: 3px solid #bd0000;
  padding: 5px 10px;
  border-radius: 8px;
}

.GAME .quizz .counterEnd {
  -webkit-animation: animEnd 2.5s both;
          animation: animEnd 2.5s both;
}

@-webkit-keyframes animEnd {
  0% {
    -webkit-transform: scale(1.2) translate3d(-20px, 100px, 20px) rotate(20deg);
            transform: scale(1.2) translate3d(-20px, 100px, 20px) rotate(20deg);
  }
  100% {
    -webkit-transform: scale(1) translate3d(0, -30px, 0) rotate(0);
            transform: scale(1) translate3d(0, -30px, 0) rotate(0);
  }
}

@keyframes animEnd {
  0% {
    -webkit-transform: scale(1.2) translate3d(-20px, 100px, 20px) rotate(20deg);
            transform: scale(1.2) translate3d(-20px, 100px, 20px) rotate(20deg);
  }
  100% {
    -webkit-transform: scale(1) translate3d(0, -30px, 0) rotate(0);
            transform: scale(1) translate3d(0, -30px, 0) rotate(0);
  }
}

.GAME .quizz .animTime {
  border: 4px solid #bd0000;
  padding: 5px 10px;
  border-radius: 8px;
  min-width: 100px;
  -webkit-animation: animTime 1s infinite;
          animation: animTime 1s infinite;
}

@-webkit-keyframes animTime {
  0% {
    -webkit-box-shadow: 0 0 0px #bd0000;
            box-shadow: 0 0 0px #bd0000;
    background: transparent;
  }
  50% {
    -webkit-box-shadow: 0 0 20px #bd0000;
            box-shadow: 0 0 20px #bd0000;
    background: rgba(255, 255, 255, 0.3);
  }
  100% {
    -webkit-box-shadow: 0 0 0px #bd0000;
            box-shadow: 0 0 0px #bd0000;
    background: transparent;
  }
}

@keyframes animTime {
  0% {
    -webkit-box-shadow: 0 0 0px #bd0000;
            box-shadow: 0 0 0px #bd0000;
    background: transparent;
  }
  50% {
    -webkit-box-shadow: 0 0 20px #bd0000;
            box-shadow: 0 0 20px #bd0000;
    background: rgba(255, 255, 255, 0.3);
  }
  100% {
    -webkit-box-shadow: 0 0 0px #bd0000;
            box-shadow: 0 0 0px #bd0000;
    background: transparent;
  }
}

.GAME .quizz .score {
  font-size: 3.5em;
  opacity: 0;
  max-width: 200px;
  margin: 0 auto;
  -webkit-animation: score 1.5s both;
          animation: score 1.5s both;
}

@-webkit-keyframes score {
  0% {
    opacity: 0;
    -webkit-transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
            transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
  }
  40% {
    opacity: 0;
    -webkit-transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
            transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
  }
  90% {
    opacity: 1;
    -webkit-transform: scale(1.2) rotate(5deg) translate3d(0, 10px, 0);
            transform: scale(1.2) rotate(5deg) translate3d(0, 10px, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0) translate3d(0, 0, 0);
            transform: scale(1) rotate(0) translate3d(0, 0, 0);
  }
}

@keyframes score {
  0% {
    opacity: 0;
    -webkit-transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
            transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
  }
  40% {
    opacity: 0;
    -webkit-transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
            transform: scale(0) rotate(-50deg) translate3d(0, -100px, 0);
  }
  90% {
    opacity: 1;
    -webkit-transform: scale(1.2) rotate(5deg) translate3d(0, 10px, 0);
            transform: scale(1.2) rotate(5deg) translate3d(0, 10px, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0) translate3d(0, 0, 0);
            transform: scale(1) rotate(0) translate3d(0, 0, 0);
  }
}

.GAME .quizz .comment {
  font-size: 2em;
  color: #000;
}

.GAME .closeQuizz {
  -webkit-animation: closeQuizz 1s;
          animation: closeQuizz 1s;
}

@-webkit-keyframes closeQuizz {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes closeQuizz {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
  }
}
/*# sourceMappingURL=styles.css.map */