
: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; font-family: var(--fontA);; }
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: 50%;
	top: 50%;
	z-index: 29;
	transform: translate3d(0,45vw,0);
	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: -100vw;
	top: -100vw;
	width: 200vw;
	height: 400vw;
	background: url(img/back.jpg);
	background-size: 20%;
}

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

.paper .title {
	position: absolute;
	left: 30%;
	top: 10%;
	width: 40%;
	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;
}

.paper .node {
	position: absolute;
	display: flex;
	align-items: center;
	max-width: 750px;
	text-align: left;
}

.paper .node .number {
	position: absolute;
	left: 180px;
	top: 0px;
	width: 80px;
	height: 80px;
	padding: 14px;
	font: 900 40px var(--fontB);
	color: white;
	text-align: center;
	background: black;
	opacity: 0.5;
    mix-blend-mode: overlay;
	border-radius: 500px;
}
.paper .node .circle1 {
	position: absolute;
	left: -15px;
	top: 10px;
	width: 280px;
	height: 280px;
	border: 8px dashed hsla(0, 0%, 0%, 0.25);
	border-radius: 200px;
	mix-blend-mode: overlay;
	animation: spin 60s linear infinite;
}
.paper .node .image {
	flex: 0 0 auto;
	position: relative;
	width: 250px;
	height: 300px;
	margin-right: 64px;
}
.paper .node .image .icon {
	filter: drop-shadow(0 60px 40px rgba(0, 0, 0, 0.65));
}
.paper .node img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.paper .node h2 {
	margin: 0 0 12px;
	font: 700 40px var(--fontC);
	opacity: 0.8;
    mix-blend-mode: overlay;
}
.paper .node p {
	margin: 0;
	font: 400 22px var(--fontD);
	opacity: 0.8;
    mix-blend-mode: overlay;
}

.paper .node-rev { flex-flow: row-reverse; }
.paper .node-rev .image { margin: 0 0 0 46px; }
.paper .node-rev .text { text-align: right; }
.paper .node-rev .number { left: unset; right: 180px; }



.paper .node-1 { left: 15%;	top: 30%; }
.paper .node-2 { left: 60%;	top: 40%; }
.paper .node-3 { left: 15%;	top: 50%; }
.paper .node-4 { left: 60%;	top: 60%; }
.paper .node-5 { left: 15%;	top: 70%; }
.paper .node-3 .number { top: 180px; left: 200px; }
.paper .node-4 .image .icon { padding: 20px; }



.paper .node .drag-prompt {
    left: unset;
    right: 5%;
	top: 85%;
    opacity: 0.5;
}
.paper .node .drag-prompt .hand {
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
}
.paper .node .drag-prompt .arrow {
    position: absolute;
    left: 0;
    top: -20px;
    width: auto;
    height: 50px;
	transform: rotate(-90deg);
	animation: arrow-right 3s infinite;
}
.paper .node-rev .drag-prompt {
    left: 5%;
    right: unset;
}
.paper .node-rev .drag-prompt .arrow {
	transform: rotate(90deg);
	animation: arrow-left 3s infinite;
}






@keyframes arrow-down {
	0% { top: 50px; }
	50% { top: 100px; }
	100% { top: 50px; }
}
@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) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

	header { padding: 12px 48px; }
	header h1 { font-size: 28px; }
	
	
	.paper .title {
		top: 8%;
		font-size: 50px;
	}


	.paper .node-1 { left: 10%;	top: 30%; }
	.paper .node-2 { left: 55%;	top: 40%; }
	.paper .node-3 { left: 10%;	top: 50%; }
	.paper .node-4 { left: 55%;	top: 60%; }
	.paper .node-5 { left: 10%;	top: 70%; }
	
	.paper .node .drag-prompt { right: 15%; }
	.paper .node-rev .drag-prompt { left: 5%; }
	
}




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

	#info { transform: translate3d(0,35vw,0); }
	#info .paper { height: 800vw; }
	.paper .title {
		top: 4%;
		font-size: 44px;
	}
	.paper .drag-prompt.prompt-1 { top: 8%; }
	
	.paper .node-rev,
	.paper .node { flex-flow: column; max-width: 80vw; }
	.paper .node .number { left: 240px; top: -30px; }
	.paper .node-1 .number { left: 220px; }
	.paper .node-3 .number { left: 120px; top: 40px; }
	.paper .node-rev .image,
	.paper .node .image { margin: 0 0 32px; }
	.paper .node .text { text-align: center; }
	
	
	.paper .node .drag-prompt { top: 110%; right: 50%; }
	.paper .node-rev .drag-prompt { left: 50%; }
	
	
	
	.paper .node-1 { left: 9%;	top: 17%; }
	.paper .node-2 { left: 54%;	top: 27%; }
	.paper .node-3 { left: 9%;	top: 37%; }
	.paper .node-4 { left: 54%;	top: 47%; }
	.paper .node-5 { left: 9%;	top: 57%; }

}


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

	header { padding: 12px 24px; }
	
	#info { transform: translate3d(0,30vw,0); }
	#info .paper { height: 1100vw; }
	.paper .title {
		top: 3%;
		font-size: 38px;
	}
	.paper .drag-prompt.prompt-1 { top: 7%; }
	
	.paper .node-rev,
	.paper .node { max-width: 90vw; }
	.paper .node h2 { font-size: 36px; }
	
	.paper .node .number { left: 220px; top: -30px; }
	.paper .node-1 .number { left: 200px; }
	.paper .node-3 .number { left: 100px; top: 40px; }
	
	
	.paper .node-1 { left: 8%;	top: 17%; }
	.paper .node-2 { left: 51%;	top: 27%; }
	.paper .node-3 { left: 6%;	top: 37%; }
	.paper .node-4 { left: 51%;	top: 47%; }
	.paper .node-5 { left: 6%;	top: 57%; }
	
}


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

	header h1 { font-size: 20px; }
	#info { transform: translate3d(0,20vw,0); }
	#info .paper { height: 1600vw; }
	.paper .title {
		top: 2%;
		font-size: 32px;
	}
	.paper .drag-prompt.prompt-1 { top: 6%; }
	.paper .drag-prompt .hand { width: 14vw; height: 14vw; }
	.paper .drag-prompt .arrow { left: 11vw; height: 9vw; }
	
	.paper .node .image {
		width: 180px;
		height: 230px;
		margin: 0;
	}
	.paper .node .circle1 {
		left: -15px;
		top: 10px;
		width: 200px;
		height: 200px;
	}
	.paper .node .number {
		left: 140px;
		top: -20px;
		width: 60px;
		height: 60px;
		padding: 8px;
		font: 900 34px var(--fontB);
	}
	.paper .node-1 .number { left: 140px; }
	.paper .node-3 .number { left: 45px; top: 40px; }
	.paper .node h2 { font-size: 32px; margin: 0; }
	.paper .node p { font-size: 20px; }
	.paper .node .drag-prompt { top: 105%; }
	
	
	.paper .node-1 { left: 5%;	top: 15%; }
	.paper .node-2 { left: 51%;	top: 25%; }
	.paper .node-3 { left: 6%;	top: 35%; }
	.paper .node-4 { left: 51%;	top: 45%; }
	.paper .node-5 { left: 6%;	top: 55%; }
	
	
	@keyframes arrow-down {
		0% { top: 20px; }
		50% { top: 60px; }
		100% { top: 20px; }
	}
	@keyframes arrow-right {
		0% { left: 40px; }
		50% { left: 75px; }
		100% { left: 40px; }
	}
	@keyframes arrow-left {
		0% { left: -10px; }
		50% { left: -45px; }
		100% { left: -10px; }
	}
	
}