
: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: 50%;
	top: 50%;
	z-index: 29;
	transform: translate3d(0,-70vw,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%;
}
#info .paper2 {
	top: 250vw;
}





.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;
	animation: arrow-right 3s infinite;
}
.paper .node-rev .drag-prompt {
    left: 5%;
    right: unset;
}
.paper .node-rev .drag-prompt .arrow {
	animation: arrow-left 3s infinite;
}
.paper .node .drag-prompt .arrow.down {
	left: 70px;
    animation: arrow-down 3s infinite;
}
.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%
}



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

.paper .title {
	position: absolute;
	left: 30%;
	top: 40%;
	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: 43%;
    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 .drag-prompt.prompt-1 {
	transform: scale(0.6);
}

.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 .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 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);
    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 .gfx {
	left: -10%;
	top: 10vw;
    width: 120%;
    height: 32vw;
	mix-blend-mode: multiply;
}

.paper .node-1 { top: 55%;  }
.paper .node-2 { top: 70%; }
.paper .node-3 { top: 85%; }



.paper .node {
	display: flex;
    align-items: center;
	position: absolute;
	left: 64vw;
	width: 80vw;
	text-align: left;
}


.paper .node .text {
	flex: 0 0 auto;
	width: 40%;
}
.paper .node .photo {
    width: 100%;
    height: 40vw;
	margin-left: 2vw;
	margin-right: -10%;
    mix-blend-mode: multiply;
	opacity: 0.8;
}
.paper .node-3 .drag-prompt,
.paper .node-3 .drag-prompt,
.paper .node-2 .drag-prompt,
.paper .node-1 .drag-prompt {
    left: 25%;
    top: 75%;
}


.paper .node-2 .gfx {
    left: 35%;
    top: 25%;
	opacity: 0.2;
}

.paper .node-2.on h2 { opacity: 1; }
.paper .node-2.on .arrow1 {
	top: -7vw;
    left: 45%;
    width: 10%;
}








.paper .node-3 {
    max-width: unset;
}



.paper .node .sections {
	display: flex;
	flex-flow: column;
	position: relative;
	padding-left: 32px;
	border-left: 3px solid black;
    mix-blend-mode: overlay;
}
.paper .node .sections div {
	flex: 0 0 auto;
	position: relative;
    padding: 16px;
    margin: 12px 0;
	color: white;
	background: black;
	opacity: 0;
	transition: 2s;
}
.paper .node .sections div:before {
	content: "";
	position: absolute;
	left: -32px;
	top: calc(50% - 1px);
	width: 32px;
	height: 3px;
	background: black;
}
.paper .node-3 .sections h3 {
	margin: 0 0 4px;
	font-size: 18px;
}
.paper .node-3 .sections p {
	color: white;
	mix-blend-mode: unset;
}
.paper .node-3 ul { padding: 0 0 0 16px; }
.paper .node-3 ul li { margin: 16px 0; }

.paper .node-3 .images {
	display: flex;
    mix-blend-mode: overlay;
}
.paper .node-3 .images img {
	flex: 0 0 auto;
    position: relative;
    width: auto;
    height: 52vh;
	transition: 4s all;
	-webkit-mask-composite: source-in; /* For Chrome */
	mask-composite: intersect; /* For Firefox */
	mix-blend-mode: exclusion;
	mask-repeat: no-repeat;
	mask-size: 100%;
}
.paper .node-3 .images .img2 {
	-webkit-mask-image:
		linear-gradient(to bottom,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 1) 90%,
			rgba(0, 0, 0, 0) 100%
		);
 	mask-image:
		linear-gradient(to bottom,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 1) 90%,
			rgba(0, 0, 0, 0) 100%
		);
	mask-position: 0vw -50vw;
}
.paper .node-3 .images .img1 {
	-webkit-mask-image:
		linear-gradient(to left,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 1) 90%,
			rgba(0, 0, 0, 0) 100%
		);
 	mask-image:
		linear-gradient(to left,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 1) 90%,
			rgba(0, 0, 0, 0) 100%
		);
	mask-position: 70vw;
}
.paper .node-3 .images .img3 {
	-webkit-mask-image:
		linear-gradient(to right,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 1) 90%,
			rgba(0, 0, 0, 0) 100%
		);
 	mask-image:
		linear-gradient(to right,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 1) 90%,
			rgba(0, 0, 0, 0) 100%
		);
	mask-position: -70vw;
}


.paper .node-3.on .text,
.paper .node-3.on h2 { opacity: 1; }

.paper .node-3.on .images .img2,
.paper .node-3.out .images .img3 {
	mask-position: 0vw 0vw;
	mask-size: 110%;
}
.paper .node-3.out2 .images .img1 {
	mask-position: -10vw 0vw;
	mask-size: 130%;
}



.paper .node.on .sections div { opacity: 1; }
.paper .node-3.on .sections div:nth-child(1) {
	transition-delay: 1s;
}
.paper .node-3.on .sections div:nth-child(2) {
	transition-delay: 2.5s;
}
.paper .node-3.on .sections div:nth-child(3) {
	transition-delay: 4s;
}
.paper .node-3.on .sections div:nth-child(4) {
	transition-delay: 5.5s;
}
.paper .node-3 .drag-prompt { transition: 1s; }

.paper .node-3 .sections div:after {
	content: "";
	position: absolute;
	left: 100%;
	top: calc(50% - 1px);
	width: 0vw;
	height: 3px;
	background: black;
	transition: 1s;
}
.paper .node-3.out .sections div:after { width: calc(10.1vw - 32px); }
.paper .node-3.out .sections div:nth-child(3):after { width: calc(10.1vw - 80px); }
.paper .node-3.out .sections div:last-child:after { width: 10.1vw; }
.paper .node-3.out .drag-prompt { opacity: 0; }


.paper .node-4 { flex-flow: column; }
.paper .node-4 h2 {
    margin-top: 64px;
	opacity: 0;
	transition: 2s;
	transition-delay: 0.5s;
}
.paper .node-4 .sections p {
	color: white;
	mix-blend-mode: unset;
}
.paper .node-4 .sections {
	border: 0;
}
.paper .node-4 .sections div:nth-child(1) {
	margin-bottom: 48px;
}
.paper .node-4 .sections div:nth-child(2) {
	margin-bottom: 96px;
}
.paper .node-4 .sections div:nth-child(2):before {
	left: -80px;
	width: 80px;
}
.paper .node-4 .sections div:nth-child(1):after {
	content: "";
	position: absolute;
	left: -32px;
	top: -12px;
	width: 3px;
	height: calc(100% + 54px);
	background: black;
}
.paper .node-4 .sections div:nth-child(2):after {
	content: "";
	position: absolute;
	left: -80px;
    bottom: -34px;
    width: 3px;
    height: calc(100% + 168px);
	background: black;
}
.paper .node-4 .drag-prompt {
    left: -20%;
    top: 65vh;
}

.paper .node-4.on h2 { opacity: 0.8; }
.paper .node-4.on .sections div:nth-child(1) {
	transition-delay: 1s;
}
.paper .node-4.on .sections div:nth-child(2) {
	transition-delay: 2.5s;
}
.paper .node-4.on .sections div:nth-child(3) {
	transition-delay: 4s;
}
.paper .node-4.on .sections div:nth-child(3):before {
	content: unset;
}


.paper .node-5 h2 {
    position: relative;
    left: -13vw;
    margin-top: 48px;
	text-align: center;
	opacity: 0;
	transition: 2s;
	transition-delay: 0.5s;
}
.paper .node-5.on h2 { opacity: 0.8; }





.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) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

	header h1 { font-size: 28px; }
	
	.paper .drag-prompt.prompt-1 {
		transform: unset;
	}
	.paper .node-3 .drag-prompt,
	.paper .node-2 .drag-prompt,
	.paper .node-1 .drag-prompt { top: 110%; }
	
	.paper .drag-prompt { top: 44%; }
	.paper .title { font-size: 50px; }


	.paper .node-1 { top: 60%; }
	.paper .node-2 { top: 80%; }
	.paper .node-3 { top: 100%; }
	
	
}


.bottom-bar { display: none; }

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

	X#info { transform: translate3d(0,35vw,0); }
 	

	X.bottom-bar {
		display: block;
		position: absolute;
		bottom: -200px;
		left: 0;
		width: 100%;
		height: 200px;
		background: var(--colorB);
		box-shadow: 0 -8px 16px hsla(0, 0%, 0%, 0.4);
	}

	.paper .node {
		left: 60vw;
		flex-flow: column;
	}
	.paper .node .text {
		width: 100%;
		margin-top: 16px;
	}
	.paper .node .photo {
		height: 56vw;
		margin-right: -25%;
	}
	
	.paper .node-1 { top: 60%; }
	.paper .node-2 { top: 90%; }
	.paper .node-3 { top: 120%; }


	.paper .node-3 .drag-prompt,
	.paper .node-2 .drag-prompt,
	.paper .node-1 .drag-prompt {
        top: 100%;
        left: 5%;
    }


	.outro .box {
		width: 80vw;
		padding: 12px;
	}

}


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

	header { padding: 32px 24px; }
	
	#info .paper2 {
		top: 300vw;
	}
	
	.paper .title {
		top: 37%;
        font-size: 44px;
    }
	.paper .drag-prompt { top: 45%; }

	.paper .node h2 { font-size: 32px; }
	.paper .node p { font-size: 18px; }

	
	.paper .node-1 { top: 70%; }
	.paper .node-2 { top: 110%; }
	.paper .node-3 { top: 150%; }



	.paper .node-3 .drag-prompt,
	.paper .node-2 .drag-prompt,
	.paper .node-1 .drag-prompt {
		transform: scale(0.8);
    }

}


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

	header h1 { font-size: 20px; }



	.paper .title {
        font-size: 40px;
    }

	
	
	@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; }
	}
	
}