@font-face {
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/specialelite/v11/XLYgIZbkc4JPUL5CVArUVL0nhnc.ttf) format('truetype');
}
/* CONSTANTES */
/* COLORS */
/* CLASSES */
/* GENERAL */
* {
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  font-family: 'Special Elite', sans-serif;
  color: #fff;
  position: relative;
}
body {
  background-color: #000;
}
main {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  height: 100vh;
  overflow: hidden;
  background-image: url(../img/kit-escape-game-la-renaissance-de-khahnos.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}
/* HEADER // FOOTER */
header,
footer {
  position: fixed;
  left: 0;
  background-color: #000;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  height: 30px;
  z-index: 50;
}
header {
  padding: 5px;
  font-size: 0;
  top: 0;
}
header img,
header span {
  display: inline-block;
  vertical-align: top;
}
header img {
  max-width: 80%;
  max-height: 20px;
}
header span {
  font-size: 18px;
  width: 20%;
  text-align: right;
  margin-bottom: -5px;
}
footer {
  bottom: 0;
  font-size: 0;
}
footer img,
footer div {
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
footer div {
  font-size: 0;
  width: calc(100% - 30px);
}
footer img {
  font-size: initial;
  height: 30px;
  background-color: #fff;
}
footer img,
footer button {
  border: 1px solid #000;
}
footer button {
  height: 100%;
  width: 50%;
  font-size: 14px;
  margin: 0;
  padding: 0;
  letter-spacing: 2px;
}
/* BUTTON */
button {
  border: none;
  display: inline-block;
  padding: 13px 20px 10px;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: -15px;
  background-color: #ff0025;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 200ms ease-out;
}
button:hover,
button:focus {
  background-color: #ff1a3b;
}
button:focus {
  outline: none;
}
/* FORM */
input,
select,
label {
  display: block;
  width: 100%;
  text-align: left;
  padding: 2px 10px 0;
}
label {
  padding: 10px 0;
}
input,
select {
  color: #000;
  height: 30px;
  border: none;
  text-transform: uppercase;
  transition: all 200ms ease-out;
}
input:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 15px #ff0025;
}
/* BLOCK CONTENT */
.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 50px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 500ms ease-out;
}
.content.ingame {
  padding: 0;
  padding-bottom: 50px;
  background-color: #000;
}
.content.ingame figure {
  margin-bottom: -10%;
  width: 100%;
}
.content.ingame figure img {
  width: 100%;
}
.content.ingame figcaption {
  position: absolute;
  top: 45%;
  left: 50%;
  padding: 0 20px;
  transform: translate(-50%, -50%);
  width: 100%;
}
.content.ingame h1 {
  color: #000;
  text-shadow: 0 0 20px #ffffff;
  margin-bottom: 10px;
}
.content.ingame p,
.content.ingame form {
  padding: 0 20px;
}
.content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: all 500ms ease-out;
  background-color: #000;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}
.content.transition {
  transform: scale(1.1) rotate(-1deg);
}
.content.transition::before {
  opacity: 1;
}
h1 {
  margin-bottom: 20px;
}
p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 1px;
}
/* TIMER */
.timer {
  transition: all 500ms ease-out;
}
.timer.big {
  transform-origin: top right;
  transform: scale(5);
  text-align: center;
  padding-top: 12%;
}
/* RESPONSES */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}
.lightbox div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 20px;
  padding-top: 50px;
  padding-bottom: 50px;
  max-height: 100%;
  overflow: auto;
}
.lightbox h1 {
  color: #fff !important;
  text-shadow: none!important;
}
/* PUZZLE OK */
.photo-puzzle.win::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: flash 1000ms;
  z-index: 99;
}
@keyframes flash {
  0% {
    background-color: #ffffff;
  }
  20% {
    background-color: #ffffff;
  }
  100% {
    background-color: rgba(255, 255, 255, 0);
  }
}
/* DECOMPTE */
.decompte {
  font-size: 42px;
}
/* END */
main div[data-name="the_end"],
main div[data-name="end_game"] {
  background-color: #fff !important;
}
main div[data-name="the_end"] p,
main div[data-name="end_game"] p,
main div[data-name="the_end"] h1,
main div[data-name="end_game"] h1,
main div[data-name="the_end"] b,
main div[data-name="end_game"] b,
main div[data-name="the_end"] a,
main div[data-name="end_game"] a {
  color: #000 !important;
}
main div[data-name="the_end"] .lightbox,
main div[data-name="end_game"] .lightbox {
  background-color: #000;
}
/* SLIDER IS */
.slider {
  overflow: hidden;
  font-size: 0;
  white-space: nowrap;
}
.slider article {
  white-space: normal;
  display: inline-block;
  vertical-align: top;
  width: 100%;
}
.slide_nav {
  width: 90%!important;
  margin: 0 auto!important;
  position: relative!important;
  top: initial!important;
  left: initial!important;
  padding-left: 0!important;
  padding-right: 0!important;
  transform: none!important;
}
.slide_nav button {
  margin-top: 0;
  text-transform: none;
  font-size: 12px;
  padding: 7px 10px 5px;
}
.slide_nav button[data-slide="+"] {
  float: right;
}
.slide_nav button[data-slide="-"] {
  float: left;
}
/* AUDIO */
.sounds {
  display: none;
  opacity: 0;
}
