/*Fondo home*/
.bg-gradient-home{
  background: linear-gradient(0deg, rgba(228,182,253,1) 25%, rgba(109,152,247,1) 75%);
  background: -webkit-gradient(linear, left top, left bottom, from(#E4B6FD), to(#6D98F7)) fixed;
  background-size: cover;
 }
 
 /*menu*/
 .menu-principal { 
   display: flex;
   flex-wrap: wrap; 
   justify-content: center; 
   width: 100%; 
   position: relative; 
   z-index: 1000; 
   padding-left: 10rem; 
   top: 3rem; 
   font-family: "Montserrat-Medium"; 
     img { 
       z-index: 1000;
       width: 8rem;
       max-width: 100%;
     } 
     ul { 
       list-style: none;
       padding: 0;
       margin: 0;
       display: flex;
      flex-wrap: wrap; 
      justify-content: start;
     } 
     .img-menu-active { 
       /* z-index: 1000;
       width: 8rem;
       max-width: 100%; */
       display: none; /* Ocultar la imagen activa por defecto */ 
   }
 }
 
 .menu-header {
   display: flex; 
   flex-wrap: wrap; 
   gap: 2em; 
 }

 
 .current-menu-item .img-menu-active {
   display: block; /* Mostrar la imagen activa solo cuando el menú está activo */
 }
 
 .img-bg-h {
   z-index: -2;
   position: absolute;
   height: auto;
   width: 100%;
 }
 .img-bg-home {
   height: auto;
   width: 100%;
 }
 
 /*fin-menu*/
 
 @media (max-width: 992px) {
   .menu-principal {
     padding-left: 10rem; /* Mantener el padding existente */
     margin-bottom: 1em;
   }
    
   .menu-header {
     flex-direction: row;
     flex-wrap: wrap;
     gap: 1em;
     width: calc(100% - 10rem); /* Ajustar al espacio disponible después del padding */
   }

   .menu-header > * {
     margin-bottom: 1em; /* Espacio entre filas */
   }
 
 }
 @media (max-width: 881px) {
  .menu-principal {
    
    margin-bottom: 0.8em;
    top: 1rem;
    img {
      width: 6rem;
    }
  }
  .menu-header > * {
    margin-bottom: 1%; /* Espacio entre filas */
  }
}

 @media (max-width: 679px) {
  .menu-principal {
    padding-left: 5%; /* Mantener el padding existente */
    img {
      width: 4rem;
    }
  }
}

@media (max-width: 400px) {
  .menu-principal {
    margin-bottom: 0.2em;
    top: 0.2rem;
    img {
      width: 2rem;
    }
  }
  .menu-header > * {
    margin-bottom: 1%; /* Espacio entre filas */
  }
}