:root {
	--tile-width: 550px;
	--tile-height: 270px;
	--tile-padding: 25px;
	--row-margin: 15px;
	--tile-background: linear-gradient(75deg, #90ecf5 37%, #6ae370);
}

body {
	position: fixed;
	margin-top: 12px;
	margin-left: 15px;
	font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
	background: linear-gradient(45deg, #2a42ad, #2affed, #199624);
	background-size: 400% 400%;
	animation: backgroundAnimation 15s ease infinite;
}

@keyframes backgroundAnimation {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.hidden {
	visibility: hidden;
}

.collapsedPage {
	width: var(--tile-width);
	height: var(--tile-height);
	display: block;
	position: absolute;
	margin: var(--row-margin);
	padding: var(--tile-padding);
	/*border-radius: 10px;*/
	/*background-color: #f3efff85;*/
	background-color: #00000014;
	backdrop-filter: blur(25px);
	/*border: 1px solid black;*/
	/*box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2) inset , 0px 0px 5px 0px rgba(0, 0, 0, 0.2) inset;*/
}

.collapsedPageTitle {
	font-size: xx-large;
	font-weight: bolder;
	text-align: center;
	margin: auto;
	width: fit-content;
	height: fit-content;
	padding: 110px 0;
	color: white;
	text-shadow: 2px 2px 2px black;
}
#titleContent {
	font-size: 4vh;
	font-weight: bolder;
	width: fit-content;
	margin: auto;
	margin-bottom: 20px;
	color: white;
	text-shadow: 2px 2px 2px black;
}
#page9 > .collapsedPageTitle {
	padding: 61px 50;
}
#page2 > .collapsedPageTitle {
	padding: 97px 50;
}

.unfolded {
	width: 97.4vw;
	height: 94.7vh;
	left: 0px;
	top: 6px;
	z-index: 500;
	box-shadow: 0px 0px 20px 5px black;
	margin: -15px 0px 0px -15px;
	/*background-image: linear-gradient(75deg, #bae5ff, #dec1ff);*/
	/*background: var(--tile-background);*/
}

.row1 {
	top: var(--first-Row-Top);
}

.row2 {
	top: var(--second-Row-Top);
}

.unfold {
	/*background-image: linear-gradient(75deg, #bae5ff, #dec1ff);*/
	/*background: var(--tile-background);*/
	animation-name: unfold;
	animation-duration: 3000ms;
	animation-direction: normal;
	animation-fill-mode: forwards;
}

.unfold #titleContent {
	opacity: 1;
}

.fold {
	/*background-image: linear-gradient(75deg, #bae5ff, #dec1ff);*/
	/*background: var(--tile-background);*/
	animation-name: unfold;
	animation-duration: 3000ms;
	animation-direction: reverse;
	animation-fill-mode: backwards;
}
.fold#Page1 {
	background: transparent !important;
}

.fadeIn {
	animation-name: fadeIn;
	animation-duration: 250ms;
	animation-direction: normal;
	animation-fill-mode: forwards;
}

.fadeOut {
	animation: fadeOut;
	animation-duration: 250ms;
	animation-direction: normal;
	animation-fill-mode: forwards;
}
.moveTitleUp {
	animation: moveTitle;
	animation-duration: 1000ms;
	animation-direction: normal;
	animation-fill-mode: forwards;
}
#Page9 > .moveTitleUp {
	animation-name: moveTitleAGH !important;
	animation-duration: 1000ms;
	animation-direction: normal;
	animation-fill-mode: forwards;
}

.moveTitleDown {
	animation: moveTitle;
	animation-duration: 1000ms;
	animation-direction: reverse;
	animation-fill-mode: backwards;
}

@keyframes moveTitle {
	from {
		padding: 110px 0;
	}
	to {
		padding: 0px 0;
	}
}
#Page9 > .moveTitleDown {
	animation-name: moveTitleAGH !important;
	animation-duration: 1000ms;
	animation-direction: reverse;
	animation-fill-mode: backwards;
}
@keyframes moveTitleAGH {
	from {
		padding: 61px 50;
	}
	to {
		padding: 0px 0;
	}
}

@keyframes unfold {
	0% {
		/*matrix(scaleX(), skewY(), skewX(), scaleY(), translateX(), translateY())*/
		width: var(--tile-width);
		height: var(--tile-height);
		z-index: 500;
		box-shadow: 0px 0px 0px 0px black;
		left: var(--collapsed-left);
		top: var(--collapsed-top);
		/* background: linear-gradient(90deg, #757fac00, #c5fdf900, #719c7500);*/
		/*background: var(--tile-background);*/
		opacity: 0.1;
	}

	20% {
		width: var(--tile-width);
		height: var(--tile-height);
		z-index: 500;
		box-shadow: 0px 0px 20px 5px black;
		left: var(--collapsed-left);
		top: var(--collapsed-top);
		/*background: var(--tile-background);*/
		opacity: 0.5;
	}

	100% {
		width: 97.4vw;
		height: 94.7vh;
		margin: -15px 0px 0px -15px;
		left: 0px;
		top: 6px;
		z-index: 500;
		box-shadow: 0px 0px 20px 5px black;
		/*background: var(--tile-background);*/
		opacity: 1;
	}
}

@keyframes backgroundAnimationBody {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}
