/*
 Theme Name:   Astra Child
 Author:       Rafel Amengual
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Tags:         child-theme
 Text Domain:  astra-child
*/

/* Tus estilos aquí */


#navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  transition: background-color 0.3s ease;
  background-color: transparent;
}

#navbar a {
    color: #a80808;
}

#navbar a:hover {
    color: white;
}


#navbar.scrolled a{
    color: white;
}
#navbar.scrolled a:hover{
    color: #DA9595;
}


#scroll-img{
    display: none;
}

#navbar.scrolled #default-img{
    display: none;
}

#navbar.scrolled #scroll-img{
    display: block
}


#navbar.scrolled {
  color: white;
  background-color: #a80808; 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}



