
: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 {
	display: flex;
	align-items: center;
	position: relative;
	height: 96px;
	padding: 0 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: 55%;
    left: 0%;
    width: 100%;
    height: 50%;
	pointer-events: none;
    opacity: 0.5;
}
#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);
}


.paper {
	position: absolute;
	left: 0vw;
	top: 0vw;
	width: 100vw;
	height: 100vh;
	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); }

.title {
	position: absolute;
	left: 20%;
	top: 36%;
	width: 60%;
	font: 700 56px var(--fontC);
	text-align: center;
	opacity: 0.8;
    mix-blend-mode: overlay;
	transition: 5s all;
	transform: scale(0.1);
	opacity: 0;
}

.title.in {
	transform: scale(1);
	opacity: 1;
	transition: 0.1s all 4.9s, 5s opacity, 5s transform, 5s top;
}
.title.out {
	top: 3%;
	left: 0%;
	width: 100%;
	transform: scale(0.6);
}
.title.off { opacity: 0; }

.text-1 {
	position: absolute;
	left: 10%;
	top: 36%;
	width: 80%;
	font: 700 28px var(--fontD);
	text-align: center;
	opacity: 0.8;
    mix-blend-mode: overlay;
	transition: 5s all;
	transform: scale(0.1);
	opacity: 0;
}
.text-1.in {
	transform: scale(1);
	opacity: 1;
}
.text-1.out {
	top: 7%;
	transform: scale(0.6);
}
.text-1.off { opacity: 0; }

.container {
	position: absolute;
	left: 5%;
	top: 30%;
	width: 90%;
	height: auto;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
}
.columns {
	display: flex;
	width: 100%;
}

.columns-A .column {
	flex: 0 0 31.333%;
	position: relative;
	margin: 0 1%;
	padding: 16px;
	border: 12px double rgb(85, 85, 85);
    mix-blend-mode: overlay;
	transition: 5s all;
	opacity: 0;
}

.column h3 {
	margin: 0 0 16px;
	font: 700 34px var(--fontC);
	opacity: 0.8;
	transition: 5s all 2s;
	opacity: 0;
}
.column p {
	margin: 0;
	font: 700 20px var(--fontD);
	opacity: 0.8;
	transition: 5s all 4s;
	color: rgb(45, 45, 45);
	opacity: 0;
}
.column i {
	text-decoration: underline;
	cursor: pointer;
}
.columns .column.in,
.column.in { opacity: 1; }
.columns .column.in p,
.columns .column.in h3,
.column.in h3,
.column.in p { opacity: 1; }

.column.step2 {
	transform: scale(0.7) translateY(-90%);
}

.columns-B {
	position: absolute;
	left: 0;
	top: 30%;
	pointer-events: none;
}
.columns-B .column {
	flex: 0 0 15.666%;
	margin: 0 0.5%;
	height: 10vw;
	border: 12px double rgb(85, 85, 85);
    mix-blend-mode: overlay;
	transition: 5s all;
	opacity: 0;
}

.text-2 {
	position: absolute;
	left: 0;
	top: 33vh;
    mix-blend-mode: overlay;
	text-align: center;
	pointer-events: none;
}



.photo {
	position: absolute;
	width: 30vw;
	border: 12px solid #9a6645;
    box-shadow: 0 16px 20px hsl(0deg 0% 0% / 45%);
	opacity: 0;
	transform: scale(0);
	pointer-events: none;
	transition: 1s all;
}
.photo.on { opacity: 1; transform: scale(1); pointer-events: all; }
.pic-1 {
    left: 22%;
    top: 20%;
}
.pic-2 {
    left: 52%;
    top: 50%;
}
[data-scene="1"] .pic-1 {
    left: 4%;
    top: -30%;
}
[data-scene="1"] .pic-2 {
    left: 32%;
    top: -15%;
}





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

	.title {
		left: 10%;
		width: 80%;
		font: 700 48px var(--fontC);
	}
	.title.out {
		top: 2%;
		left: -20%;
		width: 140%;
	}
	.text-1 { font-size: 24px; }
	.text-1.out { top: 5%; }
	

		
	.columns-A .column {
		flex: 0 0 32.333%;
		margin: 0 0.5%;
		padding: 12px;
		border: 8px double rgb(85, 85, 85);
	}
	.column h3 {
		margin: 0 0 12px;
		font: 700 24px var(--fontC);
	}
	.column p {
		font: 700 16px var(--fontD);
	}
	.column.step2 {
		transform: scale(0.7) translateY(-100%);
	}

	.columns-B { top: 40%; }
	.text-2 { top: 30vh; }
	.photo { width: 50vw; }

	
}


.bottom-bar { display: none; }

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

	.container { top: 25%; }
	.columns-A { flex-flow: column; }
	.column.step2 { transform: scale(0.7) translateY(-140%); }
	.col-2.step2 { transform: scale(0.7) translateY(-180%); }
	.col-3.step2 { transform: scale(0.7) translateY(-290%); }
	.columns-B { top: 50%; }
	.text-2 { top: 36vh; }
	
}


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

	header { padding: 0 24px; }
	.title { font-size: 38px; }
	
}


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

	header h1 { font-size: 20px; }
	.title { font-size: 30px; }
	.text-1 { top: 25%; font-size: 18px; }
	.title.out { top: -15%; }
	.text-1.out { top: -30%; }
	.container { top: 5%; }

	.column.in p { overflow: hidden; }
	.column.in2 h3 { margin-bottom: 0; }
	.column.in2 p {
		height: 0;
		padding: 0;
	}
	.column.step2 { transform: scale(0.7) translateY(-60%); }
	.col-2.step2 { transform: scale(0.7) translateY(-100%); }
	.col-3.step2 { transform: scale(0.7) translateY(-140%); }
	

	.photo { width: 90vw; }
	.pic-1 {
		left: 0;
		top: 20%;
	}
	.pic-2 {
		left: 0%;
		top: 50%;
	}

	.columns-B { top: 80%; }
	


}