
:root {

	--colorA: #BCA27D;
	--colorB: #843333;
	--colorC: #273960;
	--colorD: #21221c;
	
	--fontA: 'EB Garamond', 'Times New Roman', Times, serif;
	--fontB: '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: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
body, body * { box-sizing: border-box; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }
html, body { overflow-x: hidden; }

.abs {
    position: absolute;
    width: 100%;
    height: 100%;
}



/* ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅ */
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: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }

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



/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#activity,
#slideshow,
#slideshow-text,
#slideshow #intro,
#slideshow .slideshow,
#slideshow .slideshow img,
#actus-clouds,
#actus-slider {
    position: absolute;
    top: 0%;
    left: 0%;
	width: 100%;
	height: 100%;
}
#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 */
}
#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;
}


/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
main { overflow: hidden; }
#slideshow #intro {
	display: flex;
	flex-flow: column;
	padding: 64px 10vw;
	align-items: center;
	place-content: center;
	text-align: center;
}
#slideshow #intro h1 {
	position: relative;
	margin: 0;
	color: white;
	font-family: var(--fontB);
	font-size: 48px;
	transform: scale(0.75);
	transition: 10s transform linear, 2s opacity;
	opacity: 0;
}
#slideshow #intro h1.anim {
	opacity: 1;
	transform: scale(1.5);
}


#slideshow .slideshow {
	display: flex;
    align-items: center;
    place-content: center;
	top: 5%;
	max-height: 80%;
}
#slideshow .slideshow-0 img { opacity: 0; }
#slideshow .slideshow img {
	object-fit: scale-down;
	object-position: center;
}

#slideshow-text {
	font-family: var(--fontB);
	font-size: 18px;
	color: white;
}
#slideshow-text .text:empty { display: none; }
#slideshow-text .text {
	position: absolute;
	left: 24px;
	bottom: -250px;
	max-width: 60%;
	height: auto;
	padding: 24px;
	font-size: 20px;
    font-family: var(--fontA);
	background: rgba(0, 0, 0, 0.5);
	border-radius: 24px;
	transition: 0.4s all;
}
#slideshow-text .text.in { bottom: 24px; }
#slideshow-text .lezanta {
	position: absolute;
	right: -40%;
	bottom: 48px;
	max-width: 35%;
	height: auto;
	font-size: 14px;
	text-align: right;
	transition: 0.4s all;
}
#slideshow-text .lezanta.in { right: 24px; }
#slideshow-text .lezanta span {
	display: block;
	color: rgba(255, 255, 255, 0.5);
}
#slideshow-text .lezanta span:first-child {
	color: white;
	font-weight: 700;
}
#slideshow-text .lezanta span:last-child {
	font-size: 12px;
}


#activity {
	display: block;
	top: 100vh;
	overflow-y: auto;
	padding: 48px 0;
	text-align: center;
	transition: 0.6s all;
	pointer-events: none;
}


#activity.in {
	top: 0vh;
	pointer-events: all;
}
#activity h2 {
	margin: 0;
	font-size: 40px;
    font-family: var(--fontA);
	text-align: center;
	color: white;
	text-shadow: 0 11px 10px rgba(0, 0, 0, 0.7);
}
#activity h3 {
	margin: 0 0 16px;
	font-size: 24px;
    font-family: var(--fontA);
	text-align: center;
	color: white;
	text-shadow: 0 11px 10px rgba(0, 0, 0, 0.7);
}
#activity ul,
#activity p {
	max-width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 24px;
	text-align: center;
	font-size: 20px;
    font-family: var(--fontA);
	color: rgba(255, 255, 255, 0.67);
	background: rgba(0, 0, 0, 0.5);
	border-radius: 24px;
	transition: 0.4s all;
}
#activity ul { text-align: left; margin: 8px auto; }
#activity ul li {
    margin-left: 24px;
	font-size: 20px;
    font-family: var(--fontA);
	color: rgba(255, 255, 255, 0.67);
}
#activity ul li b {
	font-size: 20px;
    font-family: var(--fontA);
	font-weight: 700;
}
#activity p.source { margin-bottom: 48px; }
#activity p.source b {
	display: block;
	font-size: 24px;
    font-family: var(--fontA);
	font-weight: 700;
	color: white;
	text-shadow: 0 11px 10px rgba(0, 0, 0, 0.7);
}
#activity p.source i {
	font-size: 16px;
}
#activity textarea {
	display: block;
    width: 60vw;
    min-height: 200px;
	margin: 0 auto 24px;
	padding: 24px;
    font-size: 18px;
	background: rgba(255, 255, 255, 0.65);
    border-radius: 24px;
	border: 0;
	outline: 0;
}
#activity button {
	display: inline-block;
	padding: 8px 24px;
	margin: 0 0 24px;
	background: var(--colorB);
	color: white;
	border: 0;
	outline: 0;
	font-size: 20px;
	border-radius: 40px;
	pointer-events: all;
	cursor: pointer;
	box-shadow: 0 12px 16px rgba(0, 0, 0, 0.4);
	transition: 0.3s all;
}
#activity button:hover {
	transform: scale(0.9);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.65);
}










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

}


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

	header h1 { font-size: 28px; }

	
}



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

	header { display: none; }
	main { height: 100vh; }
	#slideshow #intro h1 { font-size: 40px; }
	#activity { top: 120vh; }
	#activity textarea { width: 80%; }
	#activity p { max-width: 80%; }

	#slideshow-text .text {
		left: 16px;
		bottom: -250px;
		max-width: calc(100% - 32px);
		height: auto;
		padding: 20px;
		font-size: 18px;
		font-family: var(--fontA);
	}
	#slideshow-text .text.in { bottom: 16px; }
	#slideshow-text .lezanta {
		right: -100%;
		bottom: unset;
		top: 20px;
		max-width: 90%;
		height: auto;
		font-size: 13px;
	}
	#slideshow-text .lezanta.in { right: 16px; }
	
}


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

	#slideshow #intro h1 { font-size: 32px; }
	#activity p {
		max-width: 90%;
		padding: 16px;
		font-size: 16px;
	}
	#activity textarea {
		width: 90%;
		padding: 16px;
    	font-size: 16px;
	}
	#slideshow-text .text {
		left: 8px;
		max-width: calc(100% - 16px);
		padding: 16px;
		font-size: 16px;
	}
	
}


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

	#slideshow #intro h1 { font-size: 28px; }
	
}