.page {
	position: absolute;

	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	width: 100%;
}
.content,
.content-before,
.content-after {
	position: relative;
	font-size: 100px;

	padding: 50px;
}
.content-before {
	top: 0px;
	transition: top 2s;
}
.content-after {
	top: 100vh;
	top: 0px;
	transition: top 2s;
}
.content-before,
.content-after {
	display: none;
	transition: display 0s 2s;
}
.content {
	top: 0vh;
	transition: top 1s;
}
.moveDown {
	top: 100vh;
	transition: top 1s;
}
.moveUp {
	bottom: 100vh;
	transition: bottom 1s;
}
.fancytext {
	/* Font Styles */
	font-weight: 700;
	word-spacing: -1em;
	transform: skew(-10deg);
	text-decoration: none !important;
}
.fancytext:not(:hover),
.fancytext > span:hover {
	color: var(--green);
	transition: 0.25s;
	text-decoration: underline;
}

.slogan > :first-child {
	position: relative;
	left: -50%;
}
.slogan > :last-child {
	position: relative;
	right: -50%;
}
.before,
.after {
	font-weight: 600;
	font-size: 50px;
}
.before span,
.after span {
	font-weight: 900;
}
.red {
	color: var(--red);
}
.orange {
	color: var(--orange);
}
.yellow {
	color: var(--yellow);
}
.green {
	color: var(--green);
}
.blue {
	color: var(--blue);
}
.purple {
	color: var(--purple);
}
.page-selector {
	display: flex;
	align-items: center;
	position: absolute;
}
.page-selector .before[data-page='-1'],
.page-selector .before[data-page='-1'] + i {
	display: none;
}
.page-selector .after[data-page='5'],
.page-selector .after[data-page='5'] + i {
	display: none;
}
.page-selector.up {
	top: 25px;
}
.page-selector.down {
	bottom: 25px;
}
.page-selector > * {
	position: relative;
}

.page-selector > :first-child {
	z-index: 1;
	display: grid;
	grid-template-rows: auto;
	grid-auto-flow: column;
	gap: 10px;
}
.page-selector > :last-child {
	z-index: 0;
	font-size: 100px;
	color: rgba(255, 255, 255, 0.1);
	left: -50%;
}
.page-selector > .down-icon {
	transition: bottom 1s;
	bottom: -5px;
}
.page-selector:hover > .down-icon {
	bottom: -25px;
	transition: bottom 1s;
}
.page-selector > .up-icon {
	transition: top 1s;
	top: 0px;
}
.page-selector:hover > .up-icon {
	top: -25px;
	transition: top 1s;
}
.list {
	display: grid;
	grid-template-rows: auto;
	grid-auto-flow: column;
	justify-content: center;
	overflow-x: hidden;
	overflow-y: hidden;
	column-gap: 50px;
	width: 100vw;
}
.list-item {
	width: 40vw;
	max-height: 473px;
	aspect-ratio: 3 / 2;
	height: auto;
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.list-item > img {
	height: 200px;
	filter: drop-shadow(20px 20px 30px black);
	transition: 500ms;
}
.list-item:hover > img {
	height: 250px;
	transition: 500ms;
}

::-webkit-scrollbar-thumb {
	display: none;
}
.team .list-item {
	aspect-ratio: 1 / 1;
	height: 40vh;
	width: 40vh;
	max-height: 40vh;
	position: relative;
}
.list-item {
	position: relative;
}

.list-item .details {
	max-height: 0px;
	width: 100%;

	backdrop-filter: blur(0px);

	border-radius: 0 0 20px 20px;

	position: absolute;
	bottom: 0;
	z-index: 2;

	transition: 500ms;
}
.list-item:hover .details {
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	max-height: 40%;
	transition: backdrop-filter max-height 500ms ease-out;
}
.list-item .details * {
	position: relative;
	padding-left: 20px;
	visibility: hidden;
	opacity: 0;
	transition: 500ms;
}
.list-item:hover .details * {
	visibility: visible;
	opacity: 1;
	transition: 250ms;
	transition-delay: 250ms;
}
.list-item .details .name {
	font-size: 40px;
	padding-top: 20px;
}
.list-item .details .desc {
	font-size: 20px;
	padding-bottom: 20px;
}
.pages > *:not(.content-before):not(.content):not(.content-after) {
	display: none;
}
.bottom-img {
	position: fixed;
	bottom: -5vh;
	right: -5vh;
	height: 60vh;
	rotate: -30deg;
	opacity: 0.5;
	z-index: -1;
}
