
: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; 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);
	height: calc(100vh - 96px);
	width: 100%;
	background: var(--colorC);
	overflow: hidden;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
}


button {
	padding: 6px 24px;
	font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	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); }



/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#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 */
	mix-blend-mode: color-dodge;
	mix-blend-mode: exclusion;
	mix-blend-mode: overlay;
}
#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;
}




/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#timeline {
    position: absolute;
    top: 0%;
    left: 0%;
	width: 100%;
	height: 100%;
    padding: 64px;
	overflow-y: auto;
    transition: 1s all;
    transform: translate3d( 0, 0, 0 );
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	text-align: center;
}

#message,
#intro {
    display: flex;
    flex-flow: column;
    align-items: center;
    place-content: center;
    position: absolute;
    top: 0%;
    left: 0%;
	width: 100%;
	height: 100%;
	padding: 0 7vw;
	pointer-events: none;
}
#intro .message {
    display: flex;
    flex-flow: column;
    align-items: center;
    place-content: center;
	position: absolute;
    left: 10vw;
    right: 10vw;
	padding: 48px 3vw;
	background: hsla(0, 0%, 0%, 0.77);
	box-shadow: 0 12px 24px hsla(0, 0%, 0%, 0.33);
	border-radius: 24px;
}
#intro .message p {
	color: white;
	font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	text-align: center;
}
#intro .message2 { top: 35%; width: 70%; }
#intro .message2 p {
	font-size: 20px;
	text-align: center;
}
#intro .message2 button {
	margin: 24px 0 12px;
	font-size: 20px;
}



#t-oroi {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	place-content: flex-start;
	position: absolute;
	top: 0%;
	right: 0%;
	width: 60%;
	height: 100%;
	padding: 10vh 0;
	pointer-events: none;
	transition: 1s all;
	z-index: 99;
}
.oros {
	min-width: 300px;
    height: fit-content;
	margin: 4vw 2vw;
	pointer-events:	all;
	cursor: move;
	z-index: 99;
}
.oros p {
	flex: 0 0 auto;
	display: inline-block;
    position: absolute;
    bottom: 20%;
	left: 0vw;
	margin: 0;
	padding: 4px 16px;
	background: var(--colorA);
	font-size: 16px;
	font-weight: 700;
	font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	border-radius: 30px;
	pointer-events:	all;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	z-index: 9;
	transition: 0.5s all;
}
.oros.fixed p {
	position: static;
    width: 100%;
    background: black;
    color: white;
}
.socket .oros {
    position: static !important;
	height: auto;
    min-width: 400px;
    margin: 0 0 0 8px !important;
    transform: unset !important;
}


#t-line {
	display: flex;
	flex-flow: column;
	position: absolute;
	top: 0;
	left: 0%;
	width: 100%;
	height: 100%;
	transition: 1s all;
}
#t-line .line {
	position: absolute;
    top: 0;
    left: 5vw;
	width: 1px;
	height: 150%;
	border-left: 4px dashed hsla(0, 0%, 100%, 0.5);
}
#t-line .socket {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
    flex: 0 0 auto;
	position: relative;
	top: 10%;
	width: 40px;
	height: 60px;
	margin: 0 0 16px 8vw;
	border: 2px solid white;
	border-right: 0;
	border-radius: 50px 0 0 50px;
	transition: 0.3s all;
}
#t-line .socket.hovered { background: white; }
#t-line .socket:nth-child(2) {  }
#t-line .socket:before {
	
	position: absolute;
	left: calc(0% - 2px);
	top: calc(0% - 2px);
	width: 100%;
	height: 100%;
	border: 2px solid hsla(0, 0%, 100%, 0.5);
	transition: 0.3s all;
	border-radius: 50%;
}
#t-line .socket:after {
	content: "";
	position: absolute;
	left: -3vw;
	top: 28px;
	width: 3vw;
	height: 2px;
	border-top: 2px dashed hsla(0, 0%, 100%, 0.5);
	transition: 0.3s all;
}
#t-line .socket.full {
	background: hsla(0, 0%, 100%, 0.3);
}
#t-line .socket.full:nth-child(2) { }
#t-line .socket.full:before {
	left: calc(-10% - 2px);
	top: calc(-10% - 2px);
	width: 120%;
	height: 120%;
	border: 2px dashed hsla(0, 0%, 100%, 0.3);
}
#t-line .socket.full:after {}


#message {
	background: hsla(0, 0%, 0%, 0.75);
	z-index: 999;
}
#message:empty { display: none; }
#message p {
	position: relative;
	display: inline-block;
	padding: 6px 32px;
	font-size: 18px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	text-align: center;
    color: white;
}
#message.success button {
    color: black;
	background: #36c4a3;
	cursor: pointer;
	transition: 0.3s all;
}


.stage-b #t-line,
.stage-b #t-oroi { top: -55%; }

.stage-b #t-line .socket.full {
	top: 62%;
	width: 7vw;
	height: 7vw;
	margin: 0vw 5vw;
}
.stage-b #t-line .socket.full:nth-child(2) { margin-left: 12vw; }
.stage-b #t-line .socket.full:after {
	left: calc(3.5vw - 1px);
    top: 7.8vw;
    height: 1vw;
}
.stage-b .oros img {
    position: relative;
    left: -2.5vw;
    top: -2.5vw;
    width: 12vw;
    height: 9vw;
}
.stage-b .oros.fixed p {}


.stage-b #t-oroi *,
.stage-b #t-oroi { pointer-events: none; }



#orismoi {
	position: absolute;
	right: 0;
    top: 0%;
	width: 350px;
	height: 100%;
	background: rgba(0, 0, 0, 0.65);
	transition: 0.5s all;
}
#orismoi .orismoi-list {
	height: 100%;
	padding: 24px;
	overflow-y: auto;
	transition: 0.5s all;
}
#orismoi .txt {
	margin: 0 0 24px;
	font-size: 14px;
	color: hsl(0, 0%, 80%);
}
#orismoi .txt.solved { color: #36c4a3; }
.close-orismoi {
	position: absolute;
	top: 8px;
	left: -32px;
	min-width: 20px;
	width: auto;
	height: 20px;
	color: var(--colorB);
	background: white;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	border-radius: 5px;
	text-align: center;
	box-shadow: -1px 4px 8px hsla(0, 0%, 0%, 0.47);
	transition: 0.5s all;
}
.close-orismoi:hover {
	background: var(--colorB);
	color: white;
}
.close-orismoi:after {
	content: "×";
	position: relative;
}


#orismoi.closed { right: -350px; }
#orismoi.closed .orismoi-list { opacity: 0; }
#orismoi.closed .close-orismoi {
	left: -120px;
	padding: 0 12px;
}
#orismoi.closed .close-orismoi:after {
	top: -2px;
	content: "ΟΡΙΣΜΟΙ";
	font-size: 14px;
	font-weight: 700;
}


#stage-b {
	position: absolute;
	top: calc(9vw + 96px);
	left: 0%;
	width: 100%;
	height: calc(100% - 220px);
	transition: 1s all;
}
#stage-b.out { top: 100%; }
#stage-b #containers {
	display: flex;
	padding: 0 3vw;
}
#stage-b #containers .container {
	position: relative;
	width: 20%;
	min-height: 200px;
	padding: 28px;
    padding-bottom: 56px;
}
#stage-b #containers .container:before {
	content: "";
	position: absolute;
	left: 16px;
	top: 16px;
	width: calc(100% - 32px);
	height: calc(100% - 32px);
	background: hsla(0, 0%, 100%, 0.3);
}
#stage-b #words {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	place-content: center;
	position: relative;
	padding: 48px;
}
#stage-b .word {
	max-width: calc(18vw - 32px);
	margin: 12px;
	text-align: center;
	cursor: pointer;
}
#stage-b .word p {
	margin: 0;
	padding: 4px 12px;
	font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	background: var(--colorA);
	border-radius: 5px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
#stage-b #containers .container.hovered:before {
	background: hsla(0, 0%, 100%, 0.6);
}

#stage-b .word.fixed {
    margin: 0 0 4px !important;
    position: static !important;
    transform: unset !important;
}

#timeline #stage-b .message { margin: 0; }





/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
/* ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ */
#actus-3D {
    position: absolute;
    top: 50%;
    left: 50%;
	padding: 0;
    transition: 1s all;
    transform: translate3d( 0, 0, 0 );
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
}

#A3D-SCENES {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
}
.A3D-scene {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
}
.actus-grid-01 {
    display: none;
    position: absolute;
    transform: translate3d( -70vw, -50vh, 400px );
}
.plane-3D {
    position: relative;
    width: 200vw;
    height: 100vh;
    background: url(img/pattern01-half.png);
    -webkit-mask: linear-gradient( 0deg, black, black, transparent );
    -webkit-mask-size: 100% 100%;
    -webkit-mask-type: alpha;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.actus-3D-floor {
    position: absolute;
    width: auto;
    height: auto;
    pointer-events: none;
}
.grid-plane {
    position: relative;
    width: 100%;
    height: 100%;
    background: url(img/pattern01-half.png);
    background-size: 100px;
}
#actus-3D * {
	shape-rendering: auto;
	image-rendering: auto;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	outline: 1px solid transparent;
}


.main-map {
	shape-rendering: auto;
	image-rendering: auto;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
	transform: translateZ(0);
}
.main-map img,
.main-map svg {
	width: 100%;
	height: 100%;
    transform-origin: top left;
	
	shape-rendering: auto;
	image-rendering: auto;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
	transform: translateZ(0);
}


.period {
	display: none;
}
.period.on { opacity: 1; }
.period svg {
	width: 100%;
	height: 100%;
    transform-origin: top left;
}
.period[data-name="mapC"] svg,
.period[data-name="mapB"] svg,
.period[data-name="mapA"] svg {
	width: 1000%;
	height: 1000%;
	transform: scale(0.1);
    transform-origin: top left;
}
.period svg path {}

X.period[data-name="mapA"] { opacity: 1; }

.A-timeline { position: relative; }
.A-timeline:hover .A-timeline-scale { opacity: 1; }
.A-timeline-scale {
	display: flex;
	flex-flow: column;
	place-content: space-between;
	position: absolute;
	left: -72px;
	top: 0;
	width: 64px;
	height: 100%;
	margin: -1vh 0; */
    transform-origin: top left;
	opacity: 0;
	transition: 0.4s all;
}
.A-timeline-scale p {
	position: relative;
	margin: 0;
	font-weight: 700;
	color: hsla(0, 0%, 100%, 0.6);
}
.A-timeline-scale p:after {
	content: "";
	position: absolute;
	top: 10px;
	right: 0px;
	width: 20px;
	height: 2px;
	background: hsla(0, 0%, 100%, 0.4);
}








/* PANEL */
/* ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅ */
.A3D-PANEL {
    display: flex;
    flex-flow: column;
    place-content: flex-end;
	position: fixed;
	right: 0;
	top: 0;
	width: 90px;
	height: 100vh;
	padding: 64px 8px 0;
	background: hsla(0, 0%, 100%, 0.7);
	background: hsla(0, 0%, 100%, 1);
	box-shadow: -8px 0 16px hsla(0, 0%, 0%, 0.42);
}
.A3D-PANEL .A3D-button {
	margin-bottom: 40px;
	text-align: center;
}
.A3D-PANEL .A3D-button svg {
	height: 36px;
	cursor: pointer;
	opacity: 0.5;
}
.A3D-PANEL .A3D-button p {
	margin: 2px 0 0;
	font: 700 16px var(--fontB);
	opacity: 0.2;
	transition: 0.3s all;
}
.A3D-PANEL .A3D-button:hover p { opacity: 1; }

.A3D-PANEL .A-timeline {
	position: relative;
	padding-bottom: 16px;
	margin-bottom: 24px;
	--div1 : 5;
}
.A3D-PANEL .A3D-period {
    display: flex;
    align-items: center;
    place-content: center;
	position: relative;
	padding: 8px;
	color: white;
	text-align: center;
	cursor: pointer;
	transition: 0.4s all;
}
.A3D-PANEL .A3D-period:hover {
	transform: scale(1.06);
	box-shadow: 0 0 12px hsla(0, 0%, 0%, 0.6);
	z-index: 9;
}
.A3D-PANEL .A3D-period.on {
	transform: scale(1.1);
	box-shadow: 0 0 12px hsla(0, 0%, 0%, 0.6);
	z-index: 99;
}
.A3D-PANEL .A3D-period[alt="A"] {
	height: calc(57vh / var(--div1));
	background: #872121;
}
.A3D-PANEL .A3D-period[alt="B"] {
	height: calc(32vh / var(--div1));
	background: #A03030;
}
.A3D-PANEL .A3D-period[alt="C"] {
	height: calc(123vh / var(--div1));
	background: #BA4A4A;
}
.A3D-PANEL .A3D-period[alt="D"] {
	height: calc(171vh / var(--div1));
	background: #CC6666;
}









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



}


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

	header h1 { font-size: 28px; }


	.oros { top: 15%; margin: 36px 2vw; }
	.oros p {
		padding: 4px 12px;
		font-size: 14px;
	}
	.oros.fixed p { bottom: -40%; }

	
	
}



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

	#t-oroi { width: 75%; }
	

	
	
}



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


	.oros {
		top: 10%;
		min-width: 70vw;
		margin: 24px 2vw;
	}
	.oros p {
		padding: 3px 8px;
    	font-size: 13px;
		font-weight: 400;
	}
	.socket .oros { min-width: 75vw; }

	
}



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

	header { padding: 12px 24px; }
	
	#intro .message2 { width: 100%; }
	#timeline .message.success { font-size: 16px; }
	.oros { top: 5%; }
	#t-line .socket { height: 52px; margin: 0 0 10px 8vw; }
	.socket .oros { margin: 0 0 0 4px !important; }
	

	
	
}
