* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: 100vh;
	padding: 10px;
}
body::before {
	z-index: -1;
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("/img/bg.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
body::after {
	content: "";
	z-index: -1;
	position: absolute;
	inset: 0;
	background-color: #ffffff88;
	backdrop-filter: blur(10px);
}
.wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	justify-content: center;
	padding-top: 100px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}
.links {
	position: absolute;
	bottom: 0;

	a {
		color: #000;
		text-decoration: none;
		font-weight: 700;

		&:hover {
			text-decoration: underline;
		}
	}
}
h3 {
	color: #1414b8;
	font-size: 24px;
	font-weight: 700;
}

@keyframes wobble-horizontal {
	16.65% {
		transform: translateY(-6px) rotate(2deg);
	}
	33.3% {
		transform: translateY(-6px) rotate(-1.5deg);
	}
	49.95% {
		transform: translateY(-6px) rotate(1deg);
	}
	66.6% {
		transform: translateY(-6px) rotate(-0.5deg);
	}
	83.25% {
		transform: translateY(-6px) rotate(0.2deg);
	}
	100% {
		transform: translateY(-6px) rotate(0);
	}
}

.link {
	position: relative;
	display: block;
	max-width: 500px;
	width: 100%;
	padding: 18px 55px;
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	text-decoration: none;
	color: #fff;
	background: #ae1f4b;
	border-radius: 20px;

	transform: translateY(0) translateZ(0);
	transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease,
		text-shadow 0.3s ease;

	overflow: hidden;
	z-index: 1;
}

.link:hover {
	animation: wobble-horizontal 0.8s ease-in-out both;

	background: #961a40;

	text-shadow: 0 4px 8px rgba(255, 255, 255, 0.4),
		0 0 15px rgba(255, 255, 255, 0.2);

	box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25),
		inset 0 -5px 12px rgba(0, 0, 0, 0.35);
}

.link:active {
	animation: none;
	transform: translateY(2px) scale(0.98);
	text-shadow: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (min-width: 744px) {
	h2 {
		font-size: 2rem;
	}
	h3 {
		font-size: 32px;
	}
	.link {
		font-size: 36px;
	}
	.wrapper {
		padding-top: 200px;
	}
}
