@font-face {
  font-family: 'Life Savers';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lifesavers/v18/ZXuie1UftKKabUQMgxAal_lr.ttf) format('truetype');
}
@font-face {
  font-family: 'Life Savers';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lifesavers/v18/ZXu_e1UftKKabUQMgxAal8HXOS5T.ttf) format('truetype');
}
@font-face {
  font-family: 'Life Savers';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lifesavers/v18/ZXu_e1UftKKabUQMgxAal8HLOi5T.ttf) format('truetype');
}
/* GENERALITIES */
* {
  margin: 0;
  padding: 0;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'Life Savers', cursive;
}
.clickable,
button {
  cursor: pointer;
}
body {
  background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-size: 18px;
}
h1 {
  margin-bottom: 50px;
  font-size: 42px;
  text-shadow: 0 0 5px #000;
  text-align: center;
}
p {
  margin: 15px 0;
  font-size: 18px;
  text-align: left;
  line-height: 1.5;
}
span.clickable {
  text-decoration: underline;
}
.max {
  font-size: 1.2em;
  font-weight: 800;
}
min {
  font-size: 14px;
}
center p {
  text-align: center;
}
.logo {
  width: 250px;
  display: block;
}
img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
b,
strong {
  font-weight: 800;
}
/* HEADER */
header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  text-align: right;
}
header h1 {
  text-align: left;
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 26px;
}
header.notitle h1 {
  display: none;
}
/* BUTTONS */
button {
  font-size: 22px;
  padding: 10px 20px;
  font-weight: 800;
  border: none;
  background-color: #b3001a;
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.35);
  -webkit-transition: all 1000ms cubic-bezier(0.065, 0.58, 0, 0.995);
  transition: all 1000ms cubic-bezier(0.065, 0.58, 0, 0.995);
}
button:hover {
  background-color: #ff0025;
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
          box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
}
/* FOOTER */
footer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  font-size: 12px;
  pointer-events: none;
  text-align: right;
  z-index: 99999;
}
footer a {
  font-style: italic;
  color: #fff;
}
footer a:hover {
  color: #ff0025;
}
footer span {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 5px;
  display: inline-block;
  color: #fff;
}
footer .likea {
  font-weight: normal;
  text-decoration: underline;
  opacity: 0.8;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
}
footer .likea:hover {
  color: #ff0025;
}
/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 11;
}
.lightbox.active {
  display: block;
}
.lightbox h1 {
  text-shadow: none;
  margin-bottom: 10px;
}
.lightbox .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
}
.lightbox .box {
  margin: 0 auto;
  height: 100vh;
  width: -webkit-fit-content;
  width: fit-content;
  width: -moz-fit-content;
  max-width: 95%;
  padding-top: 50px;
  padding-bottom: 25px;
  pointer-events: none;
}
.lightbox .content {
  pointer-events: initial;
  padding-top: 45px;
  padding-bottom: 35px;
  overflow: auto;
  height: 100%;
  text-align: center;
  width: -webkit-fit-content;
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 auto;
  padding: 25px;
  background-color: #fff;
}
.lightbox p {
  color: #000;
}
.lightbox h1,
.lightbox h2,
.lightbox h3 {
  color: #b3001a;
  font-weight: 800;
}
.lightbox .close {
  pointer-events: initial;
  position: absolute;
  right: 0;
  top: 60px;
  z-index: 999;
  display: block;
  width: 30px;
  height: 30px;
  color: #000;
  text-align: center;
  line-height: 18px;
  font-size: 30px;
  cursor: pointer;
  -webkit-transition: all 1000ms cubic-bezier(0.065, 0.58, 0, 0.995);
  transition: all 1000ms cubic-bezier(0.065, 0.58, 0, 0.995);
}
/* CLUES */
.cluesbox {
  list-style: none;
  text-align: left;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}
.cluesbox ul {
  list-style: none;
}
.cluesbox .clues {
  min-height: 45px;
  display: block;
  line-height: 45px;
  text-decoration: underline;
  cursor: pointer;
  padding-left: 10px;
}
.cluesbox .inli {
  border-top: 1px solid #b3001a;
  padding-left: 15px;
  display: none;
}
.cluesbox li {
  border-bottom: 1px solid #b3001a;
}
.cluesbox li:last-child {
  border: none;
}
.cluesbox p {
  padding: 10px 0;
  margin: 0;
}
.cluesbox b {
  color: #fff;
  padding: 5px;
  background-color: #b3001a;
}
/* GAME */
main {
  width: 90%;
  height: 87vh;
  margin: 8vh auto 5vh;
  overflow: hidden;
}
main.noblur article {
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  background-color: transparent;
  padding-top: 22vh!important;
}
main.noblur p {
  padding: 4px 8px;
  background-color: #000;
  text-align: center;
  font-size: 22px;
}
main.notime .perdu,
main.notime .timer {
  opacity: 0;
  pointer-events: none;
}
main.notime article {
  padding-top: 5vh;
}
main.login article {
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  background-color: transparent;
  padding: 0;
}
main.login p {
  padding: 4px 8px;
  background-color: #000;
  text-align: center;
  font-size: 22px;
}
.timer {
  position: absolute;
  top: 5vh;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  z-index: 5;
  font-weight: 800;
  text-align: center;
  font-size: 56px;
}
.timer p {
  font-size: 0.3em;
  text-align: left;
  font-weight: 300;
  text-transform: uppercase;
}
.perdu {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 16px;
  z-index: 10;
  padding: 5px 10px;
  background-color: #000;
}
.perdu:hover {
  background-color: #595959;
}
section {
  width: 500%;
  height: 100%;
  white-space: nowrap;
  font-size: 0;
  position: relative;
  left: 0;
}
article {
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  height: 100%;
  width: 20%;
  display: inline-block;
  vertical-align: top;
  padding: 5vh;
  padding-top: 27vh;
  font-size: initial;
  white-space: initial;
  text-align: center;
}
article div {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 1vh;
}
.endtime {
  text-align: center;
  font-weight: 800;
  font-size: 56px;
}
.reboot {
  list-style: none;
}
.reboot label {
  display: block;
  width: 100%;
  text-align: left;
  padding-left: 40px;
  font-size: 20px;
}
.reboot input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
}
.reboot li {
  margin-top: 15px;
  margin-bottom: 15px;
}
/* FORM (login) */
form {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 25px;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
form input {
  height: 40px;
  padding: 5px;
  margin-bottom: 15px;
}
form label,
form input {
  font-size: 20px;
  display: block;
  width: 100%;
}
form label {
  margin-bottom: 5px;
  text-align: left;
}
.returnmsg {
  font-size: 22px;
  padding: 5px 10px;
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  background-color: #b3001a;
  margin: 0 auto;
  margin-bottom: 35px;
}
.pwdSee {
  width: 100%;
  display: block;
}
.pwdSee input {
  padding-right: 45px;
}
.pwdSee .see {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40px;
  background-image: url(../img/pwd-invisible.png);
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center;
  cursor: pointer;
  z-index: 10;
}
.pwdSee .see.visible {
  background-image: url(../img/pwd-visible.png);
}
