
:root {

	--colorA: #BCA27D;
	--colorB: #843333;
	--colorC: #273960;
	--colorD: #21221c;
	
	--fontA: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--fontB: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--fontC: 'EB Garamond', 'Times New Roman', Times, serif;
	--fontD: 'EB Garamond', 'Times New Roman', Times, serif;
}


/* ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅ */
html {
	box-sizing: border-box;
	font-family: sans-serif; 
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--colorC);
	font-family: var(--fontA);
}
body, body * { box-sizing: border-box; }
html, body { overflow-x: hidden; }

.abs {
    position: absolute;
    width: 100%;
    height: 100%;
}
button {
	padding: 6px 24px;
	font-family: var(--fontA);
	font-size: 16px;
	border: 0;
	outline: 0;
	background: var(--colorB);
	color: white;
	cursor: pointer;
	border-radius: 30px;
	pointer-events: all;
}
button:hover { color: black; background: var(--colorA); }




/* ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅ */
header {
	position: relative;
	height: 96px;
	padding: 32px 48px;
	background: var(--colorB);
	color: white;
	box-shadow: 0 8px 16px hsla(0, 0%, 0%, 0.4);
	z-index: 9;
}
header h1 { margin: 0; line-height: 1.1; font-family: var(--fontA); }

main {
	position: relative;
	width: calc(100vw - 90px);
	min-height: calc(100vh - 96px);
	width: 100%;
	background: var(--colorC);
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
	overflow: hidden;
}



/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#actus-clouds,
#actus-slider {
    position: absolute;
    top: 0%;
    left: 0%;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
#actus-slider img {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: auto;
	height: auto;
	max-width: 100vw;
	max-height: 100vh;
	object-fit: contain;
	margin: auto;
	-webkit-mask-image:
		linear-gradient(to right, hsla(0, 0%, 100%, 0) 1%, white 50%),
		linear-gradient(to left, hsla(0, 0%, 100%, 0) 1%, white 50%),
		linear-gradient(to bottom, hsla(0, 0%, 100%, 0) 1%, white 30%),
		linear-gradient(to top, hsla(0, 0%, 100%, 0) 1%, white 30%);
	mask-image:
		linear-gradient(to right, hsla(0, 0%, 100%, 0) 1%, white 50%),
		linear-gradient(to left, hsla(0, 0%, 100%, 0) 1%, white 50%),
		linear-gradient(to bottom, hsla(0, 0%, 100%, 0) 1%, white 30%),
		linear-gradient(to top, hsla(0, 0%, 100%, 0) 1%, white 30%);
	-webkit-mask-composite: source-in; /* For Chrome */
	mask-composite: intersect; /* For Firefox */
	mix-blend-mode: exclusion;
}
#all-clouds,
#all-slides { display: none; }


#actus-clouds img {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	mix-blend-mode: overlay;
	mix-blend-mode: exclusion;
}


/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#game { padding: 48px 2vw; }
#step-b,
#game #intro {
	position: relative;
	width: 70%;
	margin-left: 15%;
	padding: 48px;
	font-family: var(--fontA);
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	color: hsla(0, 0%, 100%, 0.7);
	background: rgba(0, 0, 0, 0.35);
	border-radius: 24px;
	z-index: 99;
}
#game #intro button { margin-top: 24px; }
.intro-pic-1 {
	width: 100%;
	height: 360px;
	margin-bottom: -16px;
	object-position: center bottom;
	object-fit: scale-down;
	line-height: 0;
    mix-blend-mode: lighten;
	opacity: 0;
	transition: 1s all;
}


#info {
	position: absolute;
	left: 0%;
	top: 0%;
	z-index: 29;
	transition: 2s all;
}
#info,
#info * {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

#info .full i { display: none; }
#info .full {
	/* background: #36c4a3; */
	background-image: url(img/frame-10.png);
	color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 8px 20px hsla(0, 0%, 0%, 0.33);
}



#game.stage-b #intro {
	margin-top: 15vh;
	background: rgba(0, 0, 0, 0.75);
}


#info .paper {
	position: absolute;
	left: 0vw;
	top: 0vw;
	width: 100vw;
	height: 100vh;
	background: url(img/back.jpg);
	background-size: 20%;
}





.mask1 {
  	mask-image: url(img/mask1.png);
  	-webkit-mask-image: url(img/mask1.png);
  	mask-repeat: no-repeat;
  	mask-position: center;
	mask-size: 100% 100%;
}
.mask2 {
  	mask-image: url(img/mask2b.png);
  	-webkit-mask-image: url(img/mask2b.png);
  	mask-repeat: no-repeat;
  	mask-position: center;
	mask-size: 100% 100%;
}




X#info { transform: translate3d(-50vw,-10vw,0); }
X#info .paper { transform: scale(0.65); }

.paper .title {
	display: none;
	position: absolute;
	left: 0%;
	right: 0%;
	top: 0%;
	bottom: 35%;
	margin: auto;
	width: 80%;
	height: fit-content;
	font: 700 60px var(--fontC);
	text-align: center;
	opacity: 0.8;
    mix-blend-mode: overlay;
}
.paper .drag-prompt {
	display: none;
	position: absolute;
	left: 50%;
	top: 15%;
    mix-blend-mode: overlay;
    opacity: 0.75;
	pointer-events: none;
}
.paper .drag-prompt .hand {
	position: absolute;
	left: -5vw;
	top: 0;
	width: 10vw;
	height: 10vw;
	object-fit: contain;
	filter: drop-shadow(0 10px 12px hsla(0, 0%, 0%, 0.5));
}
.paper .drag-prompt .arrow {
	position: absolute;
	left: 5vw;
	top: 3vw;
	width: auto;
	height: 7vw;
	filter: drop-shadow(0 10px 12px hsla(0, 0%, 0%, 0.5));
	animation: arrow-down 3s infinite;
}

.paper .circle-A {
	position: absolute;
	left: -15%;
	top: 25%;
	width: 160vw;
	height: 160vw;
	border: 20px dotted black;
	border-radius: 2000px;
	opacity: 0.2;
	mix-blend-mode: overlay;
	animation: spin 180s linear infinite reverse;
}
.paper .circle-B {
	position: absolute;
	right: -35%;
	top: 33%;
	width: 180vw;
	height: 180vw;
	border: 20px dashed black;
	border-radius: 3000px;
	opacity: 0.1;
	mix-blend-mode: overlay;
	animation: spin 180s linear infinite;
}
.paper .circle-C {
	position: absolute;
	left: -30%;
	top: 46%;
	width: 140vw;
	height: 140vw;
	border: 20px dashed black;
	border-radius: 3000px;
	opacity: 0.1;
	mix-blend-mode: overlay;
	animation: spin 180s linear infinite reverse;
}



.braudel {
	display: none;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 999;
}
.braudel img {
	width: 50vw;
	height: auto;
	object-fit: contain;
	object-position: bottom left;
	transition: 3s all;
}
.braudel .text {
	position: absolute;
	bottom: 48px;
	left: 60%;
	font-family: 'EB Garamond';
	font-size: 30px;
	text-shadow: 0 0 8px hsla(0, 0%, 100%, 0.5),
	0 0 16px hsla(0, 0%, 100%, 0.5),
	0 0 32px hsla(0, 0%, 100%, 0.5);
}
.braudel h2 {
	margin: 0 0 8px;
	font-size: 40px;
}
.braudel p {
	margin: 0;
    text-align: right;
} 



.text-box {
	display: none;
	position: absolute;
    width: 70vw;
    height: fit-content;
	font-family: 'Alegreya';
	z-index: 999;
	transition: 3s transform;
}
.text-box p {
	margin: 0;
	font-size: 32px;
	text-shadow: 0 0 8px hsla(0, 0%, 100%, 0.5),
	0 0 16px hsla(0, 0%, 100%, 0.5),
	0 0 32px hsla(0, 0%, 100%, 0.5);
}
.text-box p strong {
	font-size: 40px;
	font-weight: 700;
}

.text-1 {
    left: 20%;
    right: 0;
    top: 0;
    bottom: 20%;
    margin: auto;
    text-align: right;
}
.text-4,
.text-3,
.text-2 {
    left: 0;
    right: 35%;
    top: 0;
    bottom: 50%;
    margin: auto;
    text-align: left;
    width: 40vw;
}

.text-3 {
	right: 0%;
    left: 0;
    bottom: 65%;
    width: 60vw;
    text-align: center;
}
.text-5,
.text-4 {
	right: 0%;
    left: 0;
	top: unset;
    bottom: -10%;
    width: 60vw;
    text-align: center;
	padding: 24px;
	background: hsla(0, 0%, 100%, 0.4);
	margin: auto;
}

.text-4 { display: block; opacity: 0; }
.text-5 { bottom: 40%; }

.text-4 { padding: 24px; background: hsla(0, 0%, 100%, 0.4); }
.text-4 p { text-shadow: 0 0 0; }

.photo {
	display: none;
	position: absolute;
	bottom: 4%;
	right: 4%;
	width: 60vw;
	height: 60vh;
	z-index: 989;
}
.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


.pic4,
.pic5,
.pic6 { right: 37vw; }

.pic4a {
	display: block;
	right: -17vw;
	bottom: -20vw;
	width: 100vw;
	height: 100vw;
	animation: disc1 60s ease infinite;
	animation-direction: alternate;
	
	mask-image: radial-gradient(circle, black 0%, black 30%, transparent 70%);
	-webkit-mask-image: radial-gradient(circle, black 0%, black 30%, transparent 70%);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 100% 100%;
	mix-blend-mode: luminosity;
	opacity: 0.25;
}

@keyframes disc1 {
	0% { transform: rotate(-30deg); }
	100% { transform: rotate(30deg); }
}





.pic5 {
    width: 150vw;
    height: 30vw;
    object-fit: contain;
    right: -80vw;
	bottom: -4%;
	mix-blend-mode: darken;
	z-index: 900;
}
.anim-pan1 { animation: pan1 60s ease forwards; }
.pic5 img {
	object-fit: contain;
}
@keyframes pan1 {
	0% { right: -80vw; }
	100% { right: 60vw; }
}




.pic7,
.pic8,
.pic9 {
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	width: 80vw;
	height: 80vw;
	margin: auto;
	mix-blend-mode: darken;
}
.pic9 { mix-blend-mode: multiply; }
.pic9 img,
.pic8 img,
.pic7 img { object-fit: contain; }
.anim-zoom1 { animation: zoom1 40s ease forwards; }

@keyframes zoom1 {
	0% {
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		width: 80vw;
		height: 80vw;
	}
	100% {
		top: -20vw;
		bottom: -20vw;
		right: -20vw;
		left: -20vw;
		width: 120vw;
		height: 120vw;
	}
}











.outro {
	display: flex;
	flex-flow: column;
	place-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
    mix-blend-mode: overlay;
	opacity: 0;
	transition: 4s;
	pointer-events: none;
}
.outro.on { opacity: 1; pointer-events: all; }
.outro .box {
	width: 50vw;
	height: auto;
	background: rgba(0, 0, 0, 1);
	color: white;
    font-family: var(--fontD);
    text-align: center;
    padding: 24px;
}
.outro h2 { font-size: 36px; }
.outro p { font-size: 22px; }














@keyframes arrow-down {
	0% { top: 0px; }
	50% { top: 50px; }
	100% { top: 0px; }
}
@keyframes arrow-right {
	0% { left: 40px; }
	50% { left: 75px; }
	100% { left: 40px; }
}
@keyframes arrow-left {
	0% { left: -10px; }
	50% { left: -45px; }
	100% { left: -10px; }
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1280px) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

	
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


	
	.paper .title {
		top: 8%;
		font-size: 50px;
	}

	.braudel img { width: 60vw; }
	.braudel .text { width: 300px; }

	.text-box p { font-size: 28px; }
	.text-1 { width: 85vw; left: 5vw; }
	.text-2 { width: 60vw; right: 15vw; }
	.text-3 { width: 80vw; right: 0; }

	.text-5, .text-4 { width: 80vw; }
	.text-4 { right: 0vw; }
	
}




/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 800px) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


	


}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 640px) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

	
	.text-box p { font-size: 24px; }
	.text-box p strong { font-size: 32px; }
	
	.braudel img { width: 80vw; }
	.braudel .text { width: 200px; left: 70%; }
	
	.text-1 { width: 80vw; left: 0vw; bottom: 30%; }
	.text-2 { bottom: 70%; }
	.text-2 { width: 80vw; right: 5vw; }
	.photo:not(.pic4a):not(.pic5) {
		bottom: 10%;
		right: 4%;
		width: 80vw;
		height: 60vh;
	}
	.pic4a {
		right: -30vw;
		bottom: 0;
		width: 120vw;
		height: 120vw;
	}
	#game .photo.pic4,
	#game .photo.pic6 {
		bottom: 7%;
		left: 1%;
		right: unset;
		top: unset;
		height: 55vh;
	}
	.pic5 { height: 80vw; bottom: -20%; }
	
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 480px) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

	header { padding: 32px 24px; }
	header h1 { font-size: 24px; }

	.paper .title { font-size: 40px; }
	.text-box p { font-size: 22px; }
	.text-box p strong { font-size: 28px; }
	
	
	.braudel h2 { font-size: 34px; }
	.braudel p { font-size: 24px; }
	.braudel .text { width: 150px; left: 70%; }


}

