
/* .img-bg{
  object-fit: fill;
  width: 100%;
  height: auto;
  z-index: -2;
  position: absolute;
  align-self: center;
 }  */
.imgagen{
  flex: 1 1 auto;
  position: absolute;
  display: flex;
}
.img-logo{ 
  top: 25%; 
  max-width: 35%;
  width: auto;
  left: 16%;
 }
 .violeta {
  top: 6%;
  z-index: -2;
  max-width: 50%;
  width: auto;
  right:2%;
 }
 .container-home {
  width: auto;
  height: 100%;
  align-self: center;
 }
 
.menu-home{
  margin-top: 4rem;
   z-index: 1; 
  justify-content: center;
  .img-menu {
    img {
      width: 14vw;
      height: auto;
      margin: 4px;
     } 
  }
  .img-menu-active {
    width: 14vw;
  }
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

.menu-home2 {  
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 2em;
  > *:nth-child(n+4) {
    grid-row: 2;
  }
}


@media (max-width: 991px) {
  .menu-home2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 1em;
    justify-content: center;
    max-width: 80%; /* Ajusta este valor según sea necesario */
    margin-left: auto;
    margin-right: auto;
  }
  
  .menu-home2 > * {
    grid-column: auto;
    grid-row: auto !important;
  }
  
  .menu-home2 > *:nth-child(2n) {
    grid-column: 2;
  }
  
  .menu-home2 > *:nth-child(2n-1) {
    grid-column: 1;
  }

  .menu-home{
    margin: 8rem 4rem;
    display: flex;
    justify-content: center;
  }
  .img-logo{ 
    top: 20%; 
    left: 16%;
   }

   .violeta {
    top: 10%;
    right:2%;
   }
}



