    
  nav a {
    text-decoration: none;
    font-size: 24px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

/* Efecto de subrayado que aparece desde el centro */
nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}
    /* Estilos para el menú móvil */
    @media (max-width: 768px) {
      #menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #fff;
        padding: 1rem;
      }
      #menu.show {
        display: flex;
      }
    }

    /* Estilos para que el footer quede siempre abajo */
    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
    }
    .wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100vh; /* Ocupa al menos el alto completo de la ventana */
    }
    .content {
      flex: 1; /* Ocupa el espacio restante */
    }
    
      .logo-img {
    height: 160px; /* Usa height en lugar de max-height */
    width: auto;
    transition: height 0.3s ease-in-out, margin 0.3s ease-in-out; /* Suaviza la animación */
    margin-top: 80px;
    margin-bottom: 80px;
    margin-right: 50px;
}

/* Cuando se hace scroll */
.logo-img.shrink {
    height: 80px !important; /* Ajusta el tamaño */
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    margin-right: 20px !important;
}