
:root {

	--colorA: #BCA27D;
	--colorB: #843333;
	--colorC: #273960;
	--colorD: #21221c;
	
	
}


/* ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅ */
html {
	box-sizing: border-box;
	font-family: sans-serif; 
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	margin: 0;
	overflow: hidden;
	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;
}



/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#actus-clouds,
#actus-slider {
    position: absolute;
    top: 0%;
    left: 0%;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#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;
}


/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#fill-blanks { padding: 64px 10vw; }
#words,
#text {
	position: relative;
	padding: 32px;
	font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	font-size: 18px;
	line-height: 1.8;
	color: hsla(0, 0%, 100%, 0.7);
}
#text { background: rgba(0, 0, 0, 0.35); }
#text i {
	display: inline-block;
	position: relative;
	top: 2px;
	min-width: 180px;
	height: 20px;
	margin: 0 2px;
	background: hsla(0, 0%, 100%, 0.15);
    font-style: normal;
}
#text i.hovered {
	background: hsla(0, 0%, 100%, 0.5);
}

#words {
	display: flex;
	flex-flow: row wrap;
	place-content: center;
	width: 100%;
}
#fill-blanks .word {
	margin: 12px;
	padding: 8px 16px;
	font-weight: 700;
	color: black;
	background: var(--colorA);
	cursor: move;
	border-radius: 5px;
}
#fill-blanks .word.dragged {
	padding: 3px 8px;
	font-size: 16px;
}
#fill-blanks .word.fixed {
    margin: 0 0 4px !important;
    position: static !important;
    transform: unset !important;
    padding: 0 6px;
	
    position: relative !important;
    left: 0 !important;
    top: -2px !important;
    line-height: 1.4;
    text-align: center;
}


#final:empty { padding: 16px 10vw; }
#final {
	display: flex;
	place-content: center;
	align-items: center;
	position: relative;
	pointer-events: none;
	width: 100%;
	padding: 32px 10vw;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 16px;
	opacity: 0;
	transition: 0.5s all;
	z-index: 9999;
}
#final * { pointer-events: all; }
#final .message {
	padding: 6px 32px;
	font-size: 18px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.5;
	text-align: center;
    color: white;
	background: var(--colorB);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.46);
	border-radius: 30px;
	cursor: pointer;
}
#final .message.success {
	background: #36c4a3;
	color: black;
}



#space { width: 100%; height: 400px; }





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

	#final:empty { padding: 8px 10vw; }
	
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
	header { padding: 16px 24px; }
	header h1 { font-size: 28px; }
	
	#space { height: 550px; }
	#final:empty { padding: 0 10vw; }

	
}



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

	#fill-blanks { padding: 48px 3vw; }
	#words, #text { font-size: 16px; }
	#fill-blanks .word { margin: 8px; padding: 6px 12px; }
	
}


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

	header { padding: 16px 24px; }
	header h1 { font-size: 24px; }
	#fill-blanks { padding: 32px 3vw; }
	#text { padding: 12px 24px; }
	#space { height: 700px; }
	
}


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

	header { padding: 12px 16px; }
	header h1 { font-size: 20px; }
	#text { padding: 8px 16px; }
	#words { padding: 32px 8px; }
	#words, #text { font-size: 14px; }
	#fill-blanks .word { padding: 4px 8px; }
	#fill-blanks .word.fixed { padding: 2px 12px; }
	
}