/* ---HEADER--- */

.rules-header-text {
	position: fixed;
	top: 20vh;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: -1;
	background: transparent;
}

.rules-header-text h1 {
	font-family: 'Orbitron', sans-serif;
	font-size: clamp(3rem, 12vw, 4rem);
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin: 0.5rem 0;
	line-height: 1.1;
}

.rules-header-text h1 .about {
	color: #ffffff;
	filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6))
	drop-shadow(0 0 40px rgba(200, 200, 255, 0.4));
}

.rules-header-text h1 .about {
	display: inline-block;
	margin-right: 0.3em;
}

/* ---RULES--- */

.rules-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	margin-top: 40vh;
	padding-bottom: 50px;
	background: linear-gradient(0deg,rgba(15, 15, 26, 1) 0%, rgba(15, 15, 26, 1) 94%, rgba(15, 15, 26, 0) 100%);
	width: 100%;
	padding-top: 30px;
}

.rule {
	margin: auto;
	display: flex;
	margin-top: 10px;
	border: 2px solid #222233;
	border-left:  8px solid #9900dd;
	padding: 20px 60px 20px 60px;
	min-height: 150px;
	width: 900px;
	border-radius: 15px;
	align-items: center;
	transition: transform 0.5s ease, border 0.3s ease;
}

.rule:hover {
	border: 2px solid #9900dd;
	border-left:  8px solid #9900dd;
	transform: translateY(-8px);
}

.number-box {
	width: 60px;
	height: 60px;
	aspect-ratio: 1 / 1;
	background: #222233;
	border-radius: 10px;
	border: 2px solid #444455;
	color: #aa00ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1;
}

.rule-text {
	margin-left: 20px;
}

.rule-text p {
	font-weight: bold;
	font-size: 1.5rem;
}
