body {
	margin: 0;
	padding: 0;
	font-family: 'Courier New', monospace;
	overflow-x: hidden;
}

.code-area {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 20px;
	font-size: 20px;
	line-height: 1.8;
}

.code-line {
	opacity: 0;
	transform: translateX(-20px);
	animation: slideIn 0.5s ease-out forwards;
}

.code-line:nth-child(1) {
	animation-delay: 0.1s;
}

.code-line:nth-child(2) {
	animation-delay: 0.3s;
}

.code-line:nth-child(3) {
	animation-delay: 0.5s;
}

.code-line:nth-child(4) {
	animation-delay: 0.7s;
}

.code-line:nth-child(5) {
	animation-delay: 0.9s;
}

.code-line:nth-child(6) {
	animation-delay: 1.1s;
}

.code-line:nth-child(7) {
	animation-delay: 1.3s;
}

@keyframes slideIn {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.glitch-text {
	position: relative;
	display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.glitch-text::before {
	animation: glitch-1 2.5s infinite;
	color: #4ca8ef;
	z-index: -1;
}

.glitch-text::after {
	animation: glitch-2 2.5s infinite;
	color: #d65562;
	z-index: -2;
}

@keyframes glitch-1 {

	0%,
	100% {
		transform: translate(0);
	}

	20% {
		transform: translate(-2px, 2px);
	}

	40% {
		transform: translate(-2px, -2px);
	}

	60% {
		transform: translate(2px, 2px);
	}

	80% {
		transform: translate(2px, -2px);
	}
}

@keyframes glitch-2 {

	0%,
	100% {
		transform: translate(0);
	}

	20% {
		transform: translate(2px, -2px);
	}

	40% {
		transform: translate(2px, 2px);
	}

	60% {
		transform: translate(-2px, -2px);
	}

	80% {
		transform: translate(-2px, 2px);
	}
}

.particle-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.particle {
	position: absolute;
	background: hsl(217.2 91.2% 59.8%);
	border-radius: 50%;
	opacity: 0;
	animation: float 4s ease-in-out infinite;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
		opacity: 0;
	}

	10% {
		opacity: 0.6;
	}

	90% {
		opacity: 0.6;
	}

	100% {
		transform: translateY(-100vh) rotate(360deg);
		opacity: 0;
	}
}

.typing-cursor {
	display: inline-block;
	width: 2px;
	height: 1em;
	background-color: hsl(217.2 91.2% 59.8%);
	margin-left: 2px;
	animation: blink 1s step-end infinite;
}

@keyframes blink {

	0%,
	50% {
		opacity: 1;
	}

	51%,
	100% {
		opacity: 0;
	}
}

.table-flip {
	display: inline-block;
	animation: flip 1s ease-in-out 1.5s;
	transform-origin: center;
}

@keyframes flip {
	0% {
		transform: rotate(0deg);
	}

	25% {
		transform: rotate(-15deg);
	}

	50% {
		transform: rotate(15deg);
	}

	75% {
		transform: rotate(-10deg);
	}

	100% {
		transform: rotate(0deg);
	}
}

a {
	color: #4ca8ef;
	text-decoration: none;
	position: relative;
	transition: color 0.3s;
}

a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: #4ca8ef;
	transition: width 0.3s;
}

a:hover::after {
	width: 100%;
}

a:hover {
	color: #2796ec;
}

.error-number {
	font-size: 120px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	background: linear-gradient(45deg, #4ca8ef, #d65562, #a6a61f);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

@media (max-width: 768px) {
	.code-area {
		font-size: 16px;
	}

	.code-container {
		padding: 20px;
	}

	.error-number {
		font-size: 80px;
	}
}