@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Bitcount+Prop+Single:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Henny+Penny&display=swap");
/* =======================================================
   RESET CSS – Base légère et moderne pour ton projet
   ======================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  background-color: #fff;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

@font-face {
  font-family: "Bitcount Prop Single";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bitcountpropsingle/v1/-W-gXIv9SyXT0xz0E9pIHCxbW8ZMGEVdhz4VoumsGFhzYseFqK9f_KOwYjYsHSocfu1DlxztzQH877SgJ2SUzQ4SJdODLz0JoLU3vXFrqXQooCdbs921GShlHGISgmFmdiScNw.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsans/v17/jizaRExUiTo99u79D0KExcOPIDU.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsans/v17/jizfRExUiTo99u79B_mh0O6tLR8a8zI.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Henny Penny";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/hennypenny/v17/wXKvE3UZookzsxz_kjGSfPQtvXIZt9DS.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body {
  background: #e9f4ff;
}

.app-wrapper {
  display: block;
  position: relative;
  margin: 0 auto;
  width: 500px;
  max-width: 100%;
  height: 100vh;
  overflow: hidden;
}

.moving-background {
  display: block;
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 100px;
  background-position: center;
  padding: 10px;
  overflow: auto;
  animation-name: backgroundslide;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transition: background-image 0.5s;
}
.moving-background[data-color=bleu-rose] {
  background-image: url("../assets/pattern-bleu-rose.svg");
}
.moving-background[data-color=jaune-noir] {
  background-image: url("../assets/pattern-jaune-noir.svg");
}
.moving-background[data-color=vert-rose] {
  background-image: url("../assets/pattern-vert-rose.svg");
}

@keyframes backgroundslide {
  0% {
    background-position-x: 0%;
  }
  100% {
    background-position-x: 100px;
  }
}
.container {
  display: block;
  position: relative;
  width: 100%;
  min-height: 100%;
  padding-bottom: 120px;
  background: white;
  border-radius: 15px;
  -webkit-box-shadow: 0px 0px 6px 0px #bcbcbc;
  box-shadow: 0px 0px 6px 0px #bcbcbc;
}
.container h1 {
  position: relative;
  z-index: 2;
  font-family: "Bitcount Prop Single";
  text-align: center;
  font-size: 65px;
  color: #47a5fe;
  padding-top: 20px;
  margin-bottom: 30px;
}
.container h1 span[data-letter=R] {
  font-family: Henny Penny;
  color: #f75650;
  font-size: 1.2em;
  padding-right: 0.1em;
}
@media (max-width: 480px) {
  .container h1 {
    font-size: 14vw;
  }
}
.container .johnnyseb {
  display: block;
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100%;
  opacity: 0.4;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 50px;
}
.btn-wrapper .button,
.btn-wrapper button {
  background-color: #0f83b7;
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: "PT Sans";
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  padding: 13px 16px;
  text-align: center;
  text-transform: uppercase;
  transform: translateZ(0);
  transition: all 0.3s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  width: 100%;
}
.btn-wrapper .button:after,
.btn-wrapper button:after {
  background-clip: padding-box;
  background-color: #47a5fe;
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  bottom: -4px;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}
.btn-wrapper .button, .btn-wrapper .button:focus,
.btn-wrapper button,
.btn-wrapper button:focus {
  user-select: auto;
  outline: none;
}
.btn-wrapper .button:active,
.btn-wrapper button:active {
  border-width: 0;
  background: none;
}
.btn-wrapper .button .big-text,
.btn-wrapper button .big-text {
  display: block;
  font-size: 1.25em;
}
.btn-wrapper .button.skip,
.btn-wrapper button.skip {
  background-color: #a6195b;
}
.btn-wrapper .button.skip:after,
.btn-wrapper button.skip:after {
  background-color: #d43779;
}
.btn-wrapper .button.cancel,
.btn-wrapper button.cancel {
  background-color: #606060;
}
.btn-wrapper .button.cancel:after,
.btn-wrapper button.cancel:after {
  background-color: #9d9d9d;
}

@keyframes flicker {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}
.flicker {
  animation-name: flicker;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

body.intro .clown-face {
  display: block;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  margin-bottom: 10vh;
}
body.intro .clown-face img {
  position: relative;
  display: inline-block;
  max-width: 100%;
  width: 100%;
}
@media (max-height: 950px) {
  body.intro .clown-face {
    width: 85%;
  }
}
@media (max-height: 780px) {
  body.intro .clown-face {
    margin-bottom: 7vh;
  }
}
@media (max-height: 860px) and (min-width: 450px) {
  body.intro .clown-face {
    width: 72%;
  }
}

body.game .container h1 {
  padding-top: 10px;
  font-size: 35px;
}
body.game .points {
  display: flex;
  max-width: calc(100% - 100px);
  margin: 0 auto;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 20px 20px 0;
  background: #FFFFFF;
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 225, 226) 30%, rgb(255, 233, 234) 70%, rgb(255, 255, 255) 100%);
  text-align: center;
  margin-bottom: 30px;
}
body.game .points .title {
  font-size: 16px;
  font-family: "PT Sans";
  text-transform: uppercase;
  text-align: center;
  color: #757575;
  padding-bottom: 12px;
}
body.game .points .points-value {
  display: block;
  font-family: "Henny Penny";
  color: #f75650;
  font-size: 100px;
  line-height: 1;
}
body.game .mission {
  display: block;
  position: relative;
  width: 100%;
}
body.game .mission .title {
  display: block;
  font-size: 16px;
  font-family: "PT Sans";
  text-transform: uppercase;
  text-align: center;
  color: #757575;
  margin-bottom: 20px;
  padding: 0 50px;
}
body.game .mission .title span {
  display: block;
  border-bottom: 1px solid #ccc;
}
body.game .mission .mission-card {
  display: block;
  position: relative;
  width: 100%;
  height: 100vh;
  transition: all 0.3s;
  padding: 0 35px;
}
body.game .popup {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  text-align: center;
  z-index: 20;
  border-radius: 40px;
  -webkit-box-shadow: 6px 6px 8px -4px rgba(0, 0, 0, 0.3);
  box-shadow: 6px 6px 8px -4px rgba(0, 0, 0, 0.3);
  width: calc(100% - 100px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0s 0.5s;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 100px;
  background-position: center;
  animation-name: backgroundslide;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background-image: url("../assets/pattern-bleu-rose.svg");
}
body.game .popup > * {
  position: relative;
  z-index: 2;
}
body.game .popup::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  border-radius: 40px;
  opacity: 0.6;
}
body.game .popup.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s, visibility 0s;
}
body.game .popup .btn-wrapper {
  padding: 0;
}
body.game .curtain {
  display: block;
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  transition: opacity 0.5s, visibility 0s 0.5s;
}
body.game .curtain.active {
  opacity: 0.7;
  visibility: visible;
  transition: opacity 0.5s, visibility 0s;
}

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