@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}

body {
	display: flex;
	background: #000;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
}

.content {
	position: relative;
	text-align: center; /* Center text on smaller screens */
}

.content h2 {
	color: mintcream; /* Changed to mint green */
	font-size: 6vw; /* Responsive font size */
	position: absolute;
	transform: translate(-50%, -50%);
	cursor: pointer; /* Change cursor to pointer on hover */
}

.content h2:nth-child(1) {
	color: transparent;
	-webkit-text-stroke: 2px green; /* Changed stroke to green */
}

.content h2:nth-child(2) {
	color: mintcream; /* Changed to mint green */
	animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
	0%,
	100% {
		clip-path: polygon(
			0% 45%,
			16% 44%,
			33% 50%,
			54% 60%,
			70% 61%,
			84% 59%,
			100% 52%,
			100% 100%,
			0% 100%
		);
	}

	50% {
		clip-path: polygon(
			0% 60%,
			15% 65%,
			34% 66%,
			51% 62%,
			67% 50%,
			84% 45%,
			100% 46%,
			100% 100%,
			0% 100%
		);
	}
}

/* Media Queries for Additional Responsiveness */
@media (max-width: 768px) {
	.content h2 {
		font-size: 12vw; /* Adjust for tablets */
	}
}

@media (max-width: 480px) {
	.content h2 {
		font-size: 15vw; /* Adjust for mobile phones */
	}
}
