/* Intro text phases */
.intro-text-phase {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10001;
	opacity: 0;
}

.phase-text {
	font-family: 'ABCMonumentGrotesk', 'Arial', sans-serif;
	font-size: 4rem;
	font-weight: bold;
	color: white;
	white-space: nowrap;
}

/* Animated line styles */
.animated-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	height: 1px;
	background: white;
	z-index: 10001;
	opacity: 0;
}

/* Intro container animation */
.intro {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 9999;
	overflow: hidden;
	pointer-events: none;
}

.intro-top,
.intro-bottom {
	position: absolute;
	left: 0;
	width: 100%;
	height: 50%;
	background: rgba(94, 94, 94, 1);
	transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
}

.intro-top {
	top: 0;
	transform-origin: top;
}

.intro-bottom {
	bottom: 0;
	transform-origin: bottom;
}

/* Text animation styles */
.text-container {
	opacity: 0;
	position: absolute;
	width: 100%;
}

.intro-top .text-container {
	bottom: 0;
	left: 0;
	transform: translate(0, 50%);
}

.intro-bottom .text-container {
	top: 0;
	left: 0;
	transform: translate(0, -50%);
}

.text-left-wrapper,
.text-right-wrapper {
	display: block;
}

.text-left,
.text-right {
	font-family: 'ABCMonumentGrotesk', 'Arial', sans-serif;
	font-size: 4rem;
	font-weight: bold;
	color: white;
	white-space: nowrap;
}

.text-left {
	left: 50%;
	top: 50%;
	position: absolute;
	transform: translate(-100%, -50%);
	display: block;
	padding-right: 10px;
}

.text-right {
	right: 50%;
	top: 50%;
	transform: translate(100%, -50%);
	position: absolute;
	display: block;
	padding-left: 10px;
}
