@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

body {
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Poppins", sans-serif;
	overflow: hidden;
	margin: 0;
}

.main {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: #212121;
	border-radius: 2rem;
}
.main-title {
	background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
	background-size: 400% 400%;
	animation: gradient 10s ease infinite;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.locations {
	display: flex;
	flex-direction: row;
	border-radius: 2rem;
	overflow: hidden;
}

.button-wrapper {
	--clr-button-bg: #212121;
	--clr-button: 72, 39, 236;
	--clr-text: #ffffff;
}

.button-wrapper {
	text-decoration: none;
	color: inherit;
	display: flex;
}

.button {
	appearance: none;
	outline: none;
	border: none;
	padding: 14px 24px 14px 20px;
	margin: 0;
	background-color: var(--clr-button-bg);
	color: var(--clr-text);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	z-index: 1;
	transform: scale(var(--button-scale, 1)) translateZ(0);
	box-shadow: 0px 0px 120px var(--button-shadow-wide, transparent), 0px 4px 12px rgba(0, 0, 0, 0.05), 0px 1px 2px rgba(0, 0, 0, 0.1), inset 0px 1px 1px var(--button-shadow-inset, rgba(255, 255, 255, 0.04)), 0 0 0 var(--button-shadow-outline, 0px) rgba(var(--clr-button), 0.4);
	transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.button:before {
	content: "";
	display: block;
	position: absolute;
	right: 20%;
	height: 20px;
	left: 20%;
	bottom: -10px;
	background: rgba(204, 204, 204, 0.4);
	filter: blur(12.5px);
	z-index: 2;
	clip-path: inset(-200% -30% 10px -30% round 29px);
	opacity: 0;
	transition: opacity 0.4s;
	transform: translateZ(0);
}

.button span {
	position: relative;
	z-index: 1;
	font-family: "Poppins", Arial;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.005em;
	display: block;
	user-select: none;
}

.button:hover {
	--button-scale: 1.01;
	--button-shadow-wide: rgba(var(--clr-button), 0.4);
	--button-shadow-inset: rgba(255, 255, 255, 0.35);
	--button-shadow-outline: 3px;
	color: var(--clr-text);
	background-color: rgba(var(--clr-button));
}

.button:hover .stroke svg {
	animation: stroke 2s linear infinite;
}

.button:hover:before {
	opacity: 1;
}

.button:hover span:before {
	opacity: 0;
}

.button:hover:active {
	--button-scale: 1.05;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@media screen and (max-width: 1024px) {
	body {
		max-height: 100vh;
	}
}
