/* @import url("https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap"); */

@font-face {
	font-family: 'Chell Chrome';
	src: url('./CHELNU2.TTF') format('truetype');
	/* You can specify other font properties here, like font-weight and font-style */
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


.text-container {
	display: flex;
	justify-content: center;
	block-size: min(10rem, 23vw);
	min-inline-size: 22.5rem;
	position: relative;
	z-index: 2;		/* Place the text container above the logo */
	margin-top: -130px;		/* Adjust this value to control vertical alignment */
}

.text-stroke {
	font-size: 92px;
	font-family: 'Chell Chrome', Verdana, sans-serif;
	/* font-family: Verdana, sans-serif; */
	letter-spacing: 4px;
	fill: none;
	stroke: #000;
	stroke-width: 2;
	stroke-dasharray: 100%;
	stroke-dashoffset: 100%;
	animation: textStrokeAnim 10000ms linear both;
	animation-iteration-count: 1;
	-webkit-animation: textStrokeAnim 10000ms linear both;
}


@keyframes textStrokeAnim {
	0% {
		stroke-dasharray: 100%;
		stroke-dashoffset: 100%;
		fill: #0000;
	}

	95% {
		stroke-dasharray: 0%;
		stroke-dashoffset: 90%;
		fill: #0000;
	}

	100% {
		stroke-dasharray: 0%;
		stroke-dashoffset: 0%;
		fill: #2F2F2F;
		filter: drop-shadow(2px 2px 10px #0007);
	}
}

/*
  <button class="reset">Restart the Animation</button>
  <script src="text_stroke_ani.js"></script>
*/
.reset {
	width: max-content;
	margin-inline: auto;
	padding: 0.5em 1.25em;
	font-size: 1.5rem;
	border-radius: 1rem;
	border: 0;
	position: relative;
	background-color: hsl(49deg, 100%, 62%);
	color: #555;
}

.reset::after,
.reset::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	transition: all 66ms ease;
}

.reset::after {
	box-shadow: 0 0.25rem 0.5rem #0003, -0.124rem 0.5rem 0.45rem #0002;
	opacity: 1;
}

.reset::before {
	box-shadow: inset 0 1px 0.5px 0px #777, inset 0 -2px 0.5px 0px #fff9,
		inset 0 4px 10px 0px #0007, inset 0 -4px 16px 0px #fff7;
	opacity: 0;
}

.reset:focus-visible {
	outline: 2px solid #0ebeff;
	outline-offset: 1px;
}

.reset:active {
	scale: 0.98;
}

.reset:is(:active, :focus-visible)::after {
	opacity: 0;
}

.reset:active::before {
	opacity: 1;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
	.text-container {
		margin-top: -120px;	/* Adjust this value for mobile devices */
		/* background-color: rgb(0, 83, 128); */
	}
}
/* Media query for mobile devices */
@media screen and (max-width: 680px) {
	.text-container {
		margin-top: -120px;	/* Adjust this value for mobile devices */
		/* background-color: rgb(16, 128, 0); */
	}
}