@font-face {
    font-family: 'font-chopinscript';
    src: url('font-chopinscript/font-chopinscript.woff') format('woff'), 
         url('font-chopinscript/font-chopinscript.ttf') format('truetype');
}

@font-face {
    font-family: 'font-pacifico';
    src: url('font-pacifico/font-pacifico.woff') format('woff2'),
         url('font-pacifico/font-pacifico.woff') format('woff'), 
         url('font-pacifico/font-pacifico.ttf') format('truetype');
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

html {
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  /* position: absolute; */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-family: 'font-chopinscript';
}

body {
  margin: 0;
  /* font-family: "Lato", sans-serif; */
  background-color: rgb(49, 54, 71);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
header {
  background-color: #254d86;
}
header h1,
header a {
  padding: 15px;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
}
header h1 {
  float: left;
  margin: 0;
}
header a {
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
  float: right;
  background-color: #1a365e;
}
header a:hover {
  background-color: #1f4272;
}
.demo-content {
  width: 100%;
  /* margin-right: auto; */
  /* margin-left: auto; */
  /* margin-bottom: 90px; */
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform:scale(0.01);
}

/* Styles for the Advent Calendar */
ul#adventDoors {
	/* position: absolute; */
	list-style: none;
	padding: 0;
	/* margin: 130px 0 0 0; */
	width: 100%;
	/* height: 100%; */
}
#adventDoors li {position: absolute;}
#adventDoors li a {
	color: #ffffff;
	width: 100%;
	height: 100%;
	font-size: 24pt;
	/* font-size: 4.8vh; */
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-decoration: none;
	border: none;
	/* background-color: rgba(196,254,171,0.15); */
	font-weight: 900;
	/* text-shadow: rgb(6 6 6) 0px 0px 20px; */
	position: absolute;
	will-change: opacity, translate; /* Prevents flicker in Safari */
}
#adventDoors li a:not(.disabled):hover {
	color: #fff;
	background-color: transparent;
	background-color: rgba(255,255,255,0.15);
}
#adventDoors li a.disabled {
	background-color: rgba(255,255,255,0.15)!important;
	color: #888888;
	cursor: default;
}

#adventDoors li[istoday] a{
    background-color: rgb(204 24 24 / 5%);
    zanimation: blinker 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

#adventDoors li[istoday] a div.front  {
    animation: blinker 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    background-color: rgb(204 24 24 / 22%);
    will-change: transform, opacity; /* Prevents flicker in Safari */
}

#adventDoors li:not(.disabled) a div.back i.fa-book {
    /* animation: blinker 0.5s cubic-bezier(0.4, 0, 0.2, 1) infinite; */
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}

div.front {
	height: 100%;
	background-color: rgba(255,255,255,0.05);
	will-change: transform, opacity; /* Prevents flicker in Safari */
}

#adventDoorsa div {
    width: 100%;
    height: 100%;
    position: absolute;
}

td a div.back i {
	/* animation: blinker 0.6s cubic-bezier(0.4, 0, 0.2, 1) infinite; */
    will-change: transform, opacity; /* Prevents flicker in Safari */
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

#adventDoors>li>a>.front>.fa-lock {
    opacity: 30%;
    color: red;
    /* position: absolute; */
    /* height: 100%; */
    /* width: 100%; */
    font-size: 12pt;
    /* font-size: 2.5vh; */
}

#adventDoors li a:not(.disabled) .front .fa-lock {
    display: none;
}

#adventDoors li a:not(.disabled) .content, #adventDoors li a:not(.disabled) .front {
	transform-style: preserve-3d;
	transition: transform 0.8s;
	-webkit-transform-origin: left;
    transform-origin: left;    
}

#adventDoors li a:not(.disabled)[open] .content,
#adventDoors li a:not(.disabled)[open] .front {
	transform-style: preserve-3d;
	transform: perspective(800px) rotateY(-80deg);
	animation:  swing 1s cubic-bezier(0.75,0.4,1,1) forwards 1s;
	-webkit-transform-origin: left;
	transform-origin: left;
    will-change: transform, opacity; /* Prevents flicker in Safari */
}

#adventDoors li#door25-surprise a:not(.disabled)[open] .content,
#adventDoors li#door25-surprise a:not(.disabled)[open] .front {
	transform-style: preserve-3d;
	transform: perspective(800px) rotateY(-89deg);
	text-wrap-mode: nowrap;
	overflow: hidden;
	width: 25%;
}

#adventDoors li a:not(.disabled):hover .front {
	background-color: rgba(255,255,255,0.5);
}

#adventDoors li a.disabled:hover .front {
	transform-style: preserve-3d;
	transition: transform 0.2s;
}

#adventDoors li a:not(.disabled)[open]:hover {
 cursor:initial;	
}

#adventDoors li a:not(.disabled)[open]:hover .back i.fa-book{
 cursor:pointer;	
}

#adventDoors li a.disabled:hover .front {
    background-color: rgba(255,255,255,0.5);
	transform: scale(0.9);
	animation: swing 1s cubic-bezier(0.75,0.4,1,1) both 0.1s;
}


#adventDoors li a.disabled:hover .front i {
	transform-style: preserve-3d;
	transition: transform 0.2s;	
	transform: scale(3);
	animation: swing 1s cubic-bezier(0.75,0.4,1,1) both 0.1s;
}

#adventDoors .back {
	display: none;
	/* font-size: 12pt; */
	/* transform: scale(10); */
}

#adventDoors li a:not(.disabled)[open] .back {
	display: initial;
	color: white;
}

.title {
    text-align: center;
    font-size: 30pt;
    /* font-size: 4.8vh; */
    font-family: "font-chopinscript";
    font-style: normal;
    font-weight: 700;
    color: white;
    margin: 0;
    width: 100%;
}

.subtitle{
	width: 100%;
	display: table;
}

#inscr {
	color:rgb(255 255 255);
	font-size: 16pt;
	/* font-size: 2.6vh; */
	text-align:right;
	margin-right: 10px;
	font-family: "font-chopinscript";
	/* display:none; */
	padding-right: 10px;
}

#inscr a {
	color:rgb(255 255 255);
	text-decoration:none;
}

#prologue {
    text-align: left;
    /* margin-left: 10px; */
    display: table-cell;
}

#inscription {
    text-align: right;
    margin-right: 10px;
    display: table-cell;
}


#inscription::after {
	content:"\00a0";
}

#prologue::before {
	content:"\00a0";
}

#prologue {
    font-size: 20pt;
    /* font-size: 3.9vh; */
    font-family: "font-chopinscript";
    font-style: normal;
    font-weight: 700;
    color: #b9d4e2;
}

#prologue a {
    color: #cbd4fb;
    text-decoration: none;
    /* animation: blinker 1s cubic-bezier(0.4, 0, 0.2, 1) infinite; */
    will-change: transform, opacity; /* Prevents flicker in Safari */
    /* display: none; */
    /* font-size: 33px; */
}

body[closeinscription] #inscription {
  display:none;
}

#inscription {
 font-size: 14pt;
 /* font-size: 2.8vh; */
 font-family: "font-pacifico";
 font-style: normal;
 font-weight: 700;
 color: rgb(255 255 255);
}

#inscription a {
    color: rgb(255 255 255);
    text-decoration: none;
    animation: blinker 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, opacity; /* Prevents flicker in Safari */
    /* display: none; */
}
body[authorized] #inscription a {
	display:none;	
}

#adventDoors a .back div.fa-book {
    font-size: 12pt;
    display: none;
}


.crossfade > figure {
  /* animation: imageAnimation 30s linear infinite 0s; */
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  /* opacity: 0; */
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 0;
  margin: 0;
  /* margin-block-start: 0; */
  /* margin-block-end: 0; */
  /* margin-inline-start: 0; */
  /* margin-inline-end: 0; */
}

.crossfade > figure:nth-child(1) {background-color: transparent;zbackground-image: url('images/cal-background.jpg');}


#adventCal {
    /* margin: 100px 0 10px 0; */
    width: 100%;
    height: 100%;
}

.head {
    position: absolute;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
    top: 0;
}

table#adventDoors {
    width: 100%;
    height: 100%;
    position: absolute;
    border: 0;
    /* margin: 10px 0 10px 0; */
    top: 0;
}

table#adventDoors {}

#adventDoors div {
    width: 100%;
    /* height: 100%; */
    position: absolute;    
}

article {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
}

li[istoday] a div.content {
    color: white;
    /* text-shadow: rgb(6 6 6) 0px 0px 20px; */
    will-change: transform, opacity; /* Prevents flicker in Safari */
}

li[istoday] a div.back {
    color: rgb(204 24 24);
}

#prologue a:hover {
    text-decoration: underline;
}

#inscription a:hover {
    text-decoration: underline;
}

#inscr a:hover {
    text-decoration: underline;
}

#adventDoors>li {
    outline: 2px solid rgb(255 255 255 / 17%);
    outline-offset: -2px;
}

#door25 {
   outline: 2px solid rgb(216 153 20 / 26%)!important;
}

#door25 .content {
  color: rgb(216 153 20);
}

.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000c4;
    top: 0;
    left: 0;
    z-index: 3;
    /* background-color: black; */
    display: table;
}

.modal-content {
    position: fixed;
    width: 80%;
    height: 90vmin;
    top: 10%;
    left: 10%;
    background-color: rgb(87 46 46);
    text-align: center;
    color: white;
    font-size: 24pt;
    /* font-size: 4.8vh; */
    font-weight: 900;
    outline: rgb(87 46 46) solid 10px;
    outline-offset: -1px;
    /* min-height: 300px; */
    display: grid;
    grid-template-rows: 1fr 5fr 1fr;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
}

.modal-content>div {
 display: block;
 text-align: center;
 /* width: 100%; */
 /* height: 100%; */
}


.modal[disabled] {
    display: none;
}

#closeModal {
    text-align: right;
    /* position: absolute; */
    /* right: -30px; */
    /* top: -45px; */
}

#closeModal i.fa.fa-window-close {
    cursor: pointer;
}

div#formMessage {
    font-size: 12pt;
}

div#formMessage span {
    background-color: red;
    padding: 2px 10px 2px 10px;
}

div#formMessage[disabled] {
    visibility: hidden;
}

iframe#iframe-auth-form {
    border: none;
    /* width: 100%; */
    /* position: absolute; */
    left: 0;
    text-align: center;
    overflow: hidden;
    height: 100%;
}




.video-wrapper video {
    position: fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    transform:  scale(0.01,0.01);
    object-fit: contain;
    z-index: 1;
    background-color: #000000;
    /* background-color: black; */
    display: none;
}

.video-wrapper[isplaying] video {
 display: block;
 animation: zoom-in-zoom-out 2s ease forwards;
}


@keyframes zoom-in-zoom-out {
  0% {
  }
  100% {
    transform:  scale(1,1);
  }
}

li i.fa.fa-book {
    position: relative;
    display: block;
}



.video-wrapper i.close-video {
    z-index: 2;
    position: fixed;
    bottom: 30px;
    right: 10px;
    text-align:right;
    display:none;
    color: white;
    background: linear-gradient(180deg, rgb(57 62 68) 0%, rgb(0 0 0) 100%);
    box-shadow: 0px 0.5px 1.5px rgb(114 114 114 / 25%), inset 0px 0.8px 0px -0.25px;
    border-radius: 15pt 50pt 30pt;
    padding-left: 20pt;
    padding-right: 20pt;
    font-family: 'sans-serif';
    font-size: 16pt;
    /* font-size: 3.2vh; */
    font-weight: lighter;
    user-select: none;
    -webkit-user-select: none;
}

.video-wrapper[isplaying] i.close-video, .video-wrapper[isplaying] i.close-video-x {
    display: block;
}

.video-wrapper[isplaying] i.close-video:hover {
    cursor:pointer;
    text-decoration:underline;
    color:red;
}
.video-wrapper i.close-video-x {
	display:none;
	z-index: 2;
	position: fixed;
	top:5px;
	right:50px;
	background:black;
	font-size:25px;
	/* font-size: 3.8vh; */
	color:white;
	user-select:none;
	webkit-user-select:none;
}

.pretitle {
 display:table;
 width: 100%;
}

#code-actif {
 display:none;
}

body[authorized] #code-actif {
    display: table-cell;
    color: #cbd4fb;
    font-size: 16px;
    /* font-size: 2.4vh; */
    font-weight: bold;
    padding-left: 10px;
    text-align: left;
    text-shadow: 0px 0px 11px white;
    font-family: sans-serif;
}

#inscr {
    display: table-cell;
}

#code-actif-reinit {
    font-style: italic;
    color: white;
    font-size: 10px;
    /* font-size: 1.5vh; */
    cursor: pointer;
    text-shadow: none;
    display: none;
}

#code-actif-reinit:hover {
    text-decoration: underline;
}

/* landscape mode mobile*/
@media screen and (max-height:430px) and (orientation:landscape){
 .title {
  font-size: 16pt;
  /* font-size: 6vh; */
  /* height: 16pt; */
  line-height: 16pt;
  /* line-height: 6vh; */
 }
.title br {
 display:none;
} 
.title span.space::before{
 content:" ";
}
 
 #prologue {
  font-size: 12pt;
  /* font-size: 4.3vh; */
 }
 #inscription {
  font-size: 10pt;
  /* font-size: 3.6vh; */
 }
 #inscr {
  font-size: 12pt;
  /* font-size: 4.5vh; */
 }

 #adventDoors li a {
  font-size: 16pt;
  /* font-size: 5.5vh; */
 }
}

#code-inactif {
    display: table-cell;
    color: #cbd4fb;
    font-size: 16px;
    /* font-size: 1.9vh; */
    font-weight: bold;
    padding-left: 10px;
    text-align: left;
    /* text-shadow: 0px 0px 11px white; */
    font-family: sans-serif;
    /* display: none; */
    animation: blinker 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, opacity; /* Prevents flicker in Safari */
}

#code-inactif:hover {
    text-decoration: underline;
    cursor: pointer;
}

body[authorized] #code-inactif {
 display:none;
}


#supportmessage {
	text-align:right;
	right: -40px;
	bottom: 0;
	font-family: sans-serif;
}
	
#supportmessage a {
	color: white;
	font-size: 16px;
	/* font-size: 2.5vh; */
	font-style: italic;
	padding-right: 10px;
}


#contact-content {
    position: absolute;
    width: 80%;
    top: 20%;
    /* color: #b9d4e2; */
    font-size: 16px;
    font-weight: bold;
    padding-left: 10px;
    text-align: left;
    font-family: sans-serif;
    color: white;
    margin: 10%;
    outline: 10px solid white;
    background-color: #00000026;
}



svg.x19dipnz.x1lliihq.x1k90msu.x2h7rmj.x1qfuztq {
    background-color: #e5e5e5;
    padding: 6px;
    border-radius: 50%;
    color: black;
}

.icon-envelope {
    padding-left: 5px;
    padding-right: 5px;
}

.contact-title {
    /* text-align: center; */
    line-height: 40pt;
    width: fit-content;
    text-decoration: underline;
    font-size: 16pt;
}

.message-via-email {
    padding-bottom: 20px;
}

.message-via-messenger {padding-bottom: 20px;}

.message-via-messenger a,
.message-via-email a
{
    /* background-color: white; */
    /* color: #b9d4e2; */
    text-shadow: 0px 0px 11px white;
    color: blue;
    /* background-color: white; */
}

body[reinit] #code-actif-reinit {
    display: inline;
    position: absolute;
    top: 0;
    left: 35px;
}


#welcome-init-link  {
    font-style: italic;
    color: white;
    font-size: 10px;
    /* font-size: 1.5vh; */
    cursor: pointer;
    text-shadow: none;
    display: none;
}

#welcome-init-link:hover {
   text-decoration:underline; 
}

body[authorized] #welcome-init-link {
    display: inline;
    /* display: none; */
}


.video-wrapper-bg {
	z-index: 2;
	display: block;
	position: absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
}
.video-wrapper-bg > video {	
	display: block;
	position: inherit;
	left:0;
	top:0;
	width:100%;
	height:100%;
	object-fit: cover;
	background-color: black;
}

.video-wrapper-bg i.close-video-bg {
	position: inherit;
	right: 0;
	bottom: 0;
	bottom: 20px;
	right: 10px;
	text-align: right;
	/* display: none; */
	color: white;
	background: linear-gradient(180deg, rgb(57 62 68) 0%, rgb(0 0 0) 100%);
	box-shadow: 0px 0.5px 1.5px rgb(114 114 114 / 25%), inset 0px 0.8px 0px -0.25px;
	border-radius: 15pt 50pt 30pt;
	padding-left: 20pt;
	padding-right: 20pt;
	font-family: 'sans-serif';
	font-size: 16pt;
	/* font-size: 3.2vh; */
	font-weight: lighter;
	user-select: none;
	-webkit-user-select: none;
}

body[video-bg-ended] .video-wrapper-bg i.close-video-bg {
	display:none;
}

/* video opacity
.video-wrapper-bg {
  background-color: rgba(0, 0, 0, 0);   
  animation: bgfade 10s ease forwards;  
}

@keyframes bgfade {
  100% {
    background-color: rgba(0, 0, 0, 0.5); 
  }
} */

.logo {
	position: fixed;
	left: 0;
	height: 38pt;
	/* height: 7.5vh; */
	display: block;
}



body[video-bg-ended] .demo-content{
	opacity: 1;
	background-color: transparent;
	transform:none;
	transition: opacity 2s cubic-bezier(.3,.6,1,1),
				transform 2s cubic-bezier(.3,.6,1,1);
}

body[video-bg-ended] .video-wrapper-bg  {
	z-index:-100;
	background-color: transparent;
}


#door25-surprise {
	/* background-color: #d11717a6; */
	background-color: #000000a6;
	background-image:url('images/cadeau-surprise-calendrier-2025.png');
	background-repeat: no-repeat;
	background-size: contain;	
}

#door25-surprise[opened] {
	/* background-image:url('images/cadeau-surprise-calendrier-2025-ouverte.png'); */
	background-position-x:center;
}

#door25-surprise .content{
	width: 80%;
	/* background-color: #3f51b58a; */
	text-shadow: 0px 0px 11px white;
	font-size: 90%;
	/* font-size: 4.32vh; */
	margin-right: 10%;
	margin-left: 10%;
	display:block;
}
#door25-surprise .front{
	background-color:transparent;
}

#door25-surprise a.disabled {
	color:white!important;
}

#demo-mode-wrapper {
	display:none;
}

body[demo-mode] #demo-mode-wrapper {
	display:block;
	position: fixed;
	background-color: black;
	color: white;
	font-family: arial;
	text-align: center;
	width: 100%;
	top: 50%;
	opacity: 0.8;
	font-size: 16pt;
	/* font-size: 3.2vh; */
	font-weight: bold;
}

body[demo-mode] #demo-mode-wrapper div {
	padding:15px
}

#demo-mode-close {
	float:right;
	padding:2px;
}
#demo-mode-wrapper.hide {
	display:none!important;
}

#demo-mode-button {
	position: inherit;
	right: 0;
	bottom: 0;
	bottom: 20px;
	right: 10px;
	text-align: center;
	/* display: none; */
	color: white;
	background: linear-gradient(180deg, rgb(57 62 68) 0%, rgb(0 0 0) 100%);
	box-shadow: 0px 0.5px 1.5px rgb(114 114 114 / 25%), inset 0px 0.8px 0px -0.25px;
	border-radius: 15pt 50pt 30pt;
	padding-left: 20pt;
	padding-right: 20pt;
	font-family: 'sans-serif';
	font-size: 16pt;
	/* font-size: 3.2vh; */
	font-weight: lighter;
}

/* html {
	will-change: opacity, translate;
}

html[open-calendar-surprise] {
    background-color: black;
    transform: scale(0.01);
    transition: opacity 2s 
cubic-bezier(.3, .6, 1, 1), transform 0.5s 
cubic-bezier(.3, .6, 1, 1);
} */

#door25-surprise i.fa{	
	opacity:0.01;
}