.error-container {
    margin: 40px auto 0px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 680px;
}

.error-code {
	font-size: clamp(80px, 20vw, 140px);
	font-weight: 700;
	color: var(--blue-dark);
	line-height: 1;
	letter-spacing: -4px;
}

.bike {
	display: block;
	width: clamp(200px, 40vw, 300px);
	height: auto;
	color: var(--blue-dark);
}

.bike__body,
.bike__front,
.bike__handlebars,
.bike__pedals,
.bike__pedals-spin,
.bike__seat,
.bike__spokes,
.bike__spokes-spin,
.bike__tire {
	animation: bikeBody 3.5s ease-in-out infinite;
	stroke: var(--red);
	transition: stroke var(--transition);
}

.bike__front {
	animation-name: bikeFront;
}

.bike__handlebars {
	animation-name: bikeHandlebars;
}

.bike__pedals {
	animation-name: bikePedals;
}

.bike__pedals-spin {
	animation-name: bikePedalsSpin;
}

.bike__seat {
	animation-name: bikeSeat;
}

.bike__spokes,
.bike__tire {
	stroke: currentColor;
}

.bike__spokes {
	animation-name: bikeSpokes;
}

.bike__spokes-spin {
	animation-name: bikeSpokesSpin;
}

.bike__tire {
	animation-name: bikeTire;
}

.error-title {
	margin: 0;
	color: var(--blue-dark);
    text-align: center;
}

.error-description {
	margin: 0;
	color: var(--gray-dark);
    text-align: center;
}

/* Animations */
@keyframes bikeBody {
	from { stroke-dashoffset: 79; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -79; }
}

@keyframes bikeFront {
	from { stroke-dashoffset: 19; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -19; }
}

@keyframes bikeHandlebars {
	from { stroke-dashoffset: 10; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -10; }
}

@keyframes bikePedals {
	from {
		animation-timing-function: ease-in;
		stroke-dashoffset: -25.133;
	}
	33%, 67% {
		animation-timing-function: ease-out;
		stroke-dashoffset: -21.991;
	}
	to {
		stroke-dashoffset: -25.133;
	}
}

@keyframes bikePedalsSpin {
	from { transform: rotate(0.1875turn); }
	to { transform: rotate(3.1875turn); }
}

@keyframes bikeSeat {
	from { stroke-dashoffset: 5; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -5; }
}

@keyframes bikeSpokes {
	from {
		animation-timing-function: ease-in;
		stroke-dashoffset: -31.416;
	}
	33%, 67% {
		animation-timing-function: ease-out;
		stroke-dashoffset: -23.562;
	}
	to {
		stroke-dashoffset: -31.416;
	}
}

@keyframes bikeSpokesSpin {
	from { transform: rotate(0); }
	to { transform: rotate(3turn); }
}

@keyframes bikeTire {
	from {
		animation-timing-function: ease-in;
		stroke-dashoffset: 56.549;
		transform: rotate(0);
	}
	33% {
		stroke-dashoffset: 0;
		transform: rotate(0.33turn);
	}
	67% {
		animation-timing-function: ease-out;
		stroke-dashoffset: 0;
		transform: rotate(0.67turn);
	}
	to {
		stroke-dashoffset: -56.549;
		transform: rotate(1turn);
	}
}

@media (max-width: 1023px) {
    .error-container {
        margin: 32px auto 0px;
    }
}
@media (max-width: 767px) {
    .error-container {
        margin: 24px auto 0px;
    }
}