/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.animated-header {
	--text-color: #ffffff00; /* Text fill color */
	--stroke-color: #0f172a; /* Outer stroke and fill color */
	--animation-duration: 5s; /* Duration of the animation */

	color: var(--stroke-color);
	-webkit-text-stroke: 1px var(--stroke-color); /* Outer stroke */
	background: linear-gradient(90deg, var(--text-color) 50%, var(--stroke-color) 0) 0 0 / 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: text-fill var(--animation-duration) linear infinite; /* Animation plays in loop */
}

/* Text fill animation starting from left to right */
@keyframes text-fill {
	0% {
		background-position: 200% 0; /* Start from the right */
	}
	100% {
		background-position: 0 0; /* End at the left */
	}
}