*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[aos] {
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
}

html{
  scroll-behavior: smooth;
}
body{
    padding-top: 13vh;
    max-width: 100vw !important;
}

.nav{
    z-index: 5;
    font-family: 'Montserrat', sans-serif;
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 13vh;
    max-height: 13vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0d1b2a
}

.nav .logo{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
    transition: ease 0.5s;
}

.nav .logo:hover{
    transform: scale(1.1);
}

.nav .logo img{
    height: 80%;
}

.nav ul{
    list-style: none;
    display: flex;
}

.nav ul li{
    transition: 0.7s ease;
    height: 13vh;
}

.nav ul li:hover{
    background-color: #1b263b;
    font-size: 18px;
}


.nav ul li a{
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    transition: 1s ease;
    border-radius: 6px;
    height: 100%;
    width: 100%;
    color: white;
    text-decoration: none;
    padding: 0 50px;
}


.icon{
    color: white;
}


/* Botón de hamburguesa (solo visible en móvil) */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  color: white;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 13vh; /* debajo del nav */
    left: -100%; /* oculto */
    width: 100%;
    height: 70vh;
    background-color: #0d1b2a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.4s ease;
  }

  .nav-links.active {
    left: 0; /* aparece el menú */
  }

  .nav ul li {
    width: 100%;
    height: 50%;
  }

  .nav ul li a {
    height: 100%;
    width: 100%;
    font-size: 1.3rem;
  }
}