/* ------------Responsive Menu bars------ */
@media (max-width: 768px) {
  section {
    scroll-margin-top: 65px; /* o 100px si tu header es más alto en móviles */
  }
  header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .header-top {
    padding: 10px;
  }
  .header-bottom {
    display: none;
  }
  .header-container {
    padding: 0;
  }
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(250px, 100%);
    background-color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
    transition: right 0.3s ease-in-out;
  }
  .navbar.active {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
    overflow: auto;
    scrollbar-width: thin;
    /* scrollbar-width: none; */
    /* padding: 0.5rem 0.5rem; */
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    padding: 0.9rem 18px;
  }
  .nav-links a i {
    display: block;
    font-size: 1.2rem;
  }
  .menu-bars,
  .close-menu {
    display: block;
    font-size: 1.5rem;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu-bars,
  .close-menu {
    color: #fff;
  }
  .close-menu {
    align-self: flex-end;
    margin: 20px 15px 15px 0px;
    /* color: #fff; */
  }
}
