/* 
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 */
.gradient-avanza {
	background: linear-gradient(90deg, #90ADD1 0.02%, #356EB5 53.51%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.anteheader-fijo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 9999;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
}

#header-fijo {
  position: relative;
  /* Initial margin to prevent content from being hidden under the anteheader */
  margin-top: 50px;
  transition: all 0.3s ease;
  background-color: transparent;
}

#header-fijo.scrolled {
  position: fixed;
  top: 50px; /* Position directly below anteheader */
  left: 0;
  width: 100%;
  z-index: 9998;
  background-color: #fff;
  /* Important: Remove the margin when in fixed position */
  margin-top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow for better visibility */
}

/* Your color transitions for links and logo */
#header-fijo .elementor-item {
  color: #fff;
  transition: color 0.3s, border-color 0.3s;
}

#header-fijo.scrolled .elementor-item {
  color: #000;
}

#header-fijo .elementor-widget-image img {
  filter: none;
  transition: filter 0.3s;
}

#header-fijo.scrolled .elementor-widget-image img {
  filter: invert(1);
}