/* Preloader */
@font-face {
  font-family: 'Khand';
  src: url('../Fonts/Khand_Complete/Khand_Complete/Fonts/WEB/fonts/Khand-Bold.ttf') format('truetype'); /* Ajusta la ruta si es diferente */
  font-weight: normal;
  font-style: normal;
}

body{
  font-family: 'Khand';
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #292929;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #0ff;
  font-family: 'Orbitron', sans-serif;
  flex-direction: column;
  overflow: hidden; /* Evita scrolls accidentales */
}

.loader span {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
  animation: flicker 0.5s infinite alternate;
}

.tech-bars {
  display: flex;
  gap: 5px;
  animation: flicker 0.65s infinite alternate;
}

.bar {
  width: 20px;
  height: 50px;
  background: #0ff;
  animation: pulse 1s infinite ease-in-out;
}

.bar:nth-child(2) {
  animation-delay: 0.2s;
}
.bar:nth-child(3) {
  animation-delay: 0.4s;
}

/* Animaciones */
@keyframes pulse {
  0% { height: 10px; }
  50% { height: 40px; }
  100% { height: 10px; }
}

@keyframes flicker {
  0% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Cubos celestes */
.cube-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(12, 1fr);
    z-index: 1;
    pointer-events: none;
  }
  
  .cube-grid div {
    background: #0ff;
    opacity: 0.05;
    transition: transform 1s ease, opacity 1s ease;
  }
  
  /* Capa glitch */
  .glitch-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0ff1;
    mix-blend-mode: screen;
    animation: glitch 0.3s infinite;
    opacity: 0.1;
    z-index: 2;
  }

  
  
  @keyframes glitch {
    0% { transform: translate(0, 0); }
    20% { transform: translate(5px, -2px); }
    40% { transform: translate(-3px, 3px); }
    60% { transform: translate(3px, -1px); }
    80% { transform: translate(-4px, 2px); }
    100% { transform: translate(0, 0); }
  }
  
  /* Fade-out final del preloader */
  #preloader.fadeout {
    animation: fadeout 1s forwards;
  }
  
  @keyframes fadeout {
    to {
      opacity: 0;
      pointer-events: none;
    }
  }

  .loader span {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
    color: #0ff;
    position: relative;
    animation: flicker 0.15s infinite alternate;
    text-shadow:
      0 0 5px #0ff,
      0 0 10px #0ff,
      0 0 20px #0ff,
      0 0 40px #0ff;
  }
  
  @keyframes flicker {
    0% {
      text-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 40px #0ff;
      opacity: 1;
    }
    50% {
      text-shadow:
        0 0 2px #0ff,
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 20px #0ff;
      opacity: 0.85;
    }
    100% {
      text-shadow:
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 30px #0ff,
        0 0 50px #00f;
      opacity: 1;
    }
  }

  @keyframes flicker_purple {
    0% {
      text-shadow:
        0 0 5px #d000ff,
        0 0 10px #d000ff,
        0 0 20px #d000ff,
        0 0 40px #d000ff;
      opacity: 1;
    }
    50% {
      text-shadow:
        0 0 2px #d000ff,
        0 0 5px #d000ff,
        0 0 10px #d000ff,
        0 0 20px #d000ff;
      opacity: 0.85;
    }
    100% {
      text-shadow:
        0 0 10px #d000ff,
        0 0 20px #d000ff,
        0 0 30px #d000ff,
        0 0 50px rgb(104, 5, 170)0ff;
      opacity: 1;
    }
  }

  @keyframes flicker_green {
    0% {
      text-shadow:
        0 0 5px #00ff6a,
        0 0 10px #00ff6a,
        0 0 20px #00ff6a,
        0 0 40px #00ff6a;
      opacity: 1;
    }
    50% {
      text-shadow:
        0 0 2px #00ff6a,
        0 0 5px #00ff6a,
        0 0 10px #00ff6a,
        0 0 20px #00ff6a;
      opacity: 0.85;
    }
    100% {
      text-shadow:
        0 0 10px #00ff6a,
        0 0 20px #00ff6a,
        0 0 30px #00ff6a,
        0 0 50px #00ff33;
      opacity: 1;
    }
  }

  .espacio_vacio {
    display: flex;
    flex-flow: row wrap;
    width: 60%;
    height: 800px;
    align-items: center;
    align-self: center;
    margin: auto;
    position: relative;
    background-color: transparent;
    overflow: hidden;
    cursor: crosshair;
  }
  
  .effect-shape {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: float-cube 0.8s linear forwards;
    pointer-events: none;
  }
  /*
  .effect-ray {
    position: absolute;
    width: 2px;
    height: 40px;
    background: rgba(0, 255, 255, 0.4);
    transform: rotateZ(20deg);
    animation: flicker-ray 0.6s linear forwards;
    pointer-events: none;
  }
  */
  @keyframes float-cube {
    0% {
      opacity: 1;
      transform: scale(1) rotate(0deg);
      /*top: 50;*/
    }
    100% {
      opacity: 0;
      transform: scale(1.5) rotate(90deg);
      /*top: -50px;*/
    }
  }
  
  @keyframes flicker-ray {
    0% {
      opacity: 1;
      transform: translateY(0) scaleY(1);
    }
    100% {
      opacity: 0;
      transform: translateY(-60px) scaleY(1.2);
    }
  }

.navegation{
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

nav {
      position: fixed;
      top: 0;
      width: 94.8%;
      height: 80px;
      background-color: #1a1a1a;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .logo {
      font-size: 1.8em;
      color: #ffffff;
      font-weight: bold;
      letter-spacing: 1px;
    }

    .nav-links {
      display: flex;
      gap: 30px;
    }

    .nav-links a {
      color: #ffffff;
      text-decoration: none;
      font-size: 1.1em;
      position: relative;
      transition: color 0.3s ease;
      animation: flicker_purple 0.15s infinite alternate;
      text-shadow:
        0 0 5px #cc00ff,
        0 0 10px #cc00ff,
        0 0 20px #cc00ff,
        0 0 40px #cc00ff;
      }
    

    .nav-links a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      left: 0;
      bottom: -5px;
      background-color: #00bfff;
      transition: width 0.3s ease;
    }

    .nav-links a:hover {
      color: #00bfff;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    @media (max-width: 768px) {
      nav {
        flex-direction: column;
        height: auto;
        padding: 20px;
      }

      .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 10px;
      }
    }

    .scroll{
      color: #0ff;
    position: relative;
    animation: flicker 0.15s infinite alternate;
    text-shadow:
      0 0 5px #0ff,
      0 0 10px #0ff,
      0 0 20px #0ff,
      0 0 40px #0ff;
    }

    .hueco { 
      width: 100%;
      height: 80px;
      background-color: rgb(0, 0, 0);
    }
    html, body {
      margin: 0;
      padding: 0;
      overflow-x: hidden; /* evita scroll horizontal */
      background-color: rgb(41, 41, 41);
    }
.apartado_introduccion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  padding: 80px; /* 4x más grande */
  padding-left: 16px;
  position: relative;
  min-height: 600px; /* más alto para mayor impacto visual */
  transition: background-color 0.5s ease;
  gap: 60px;
}

#search-input{
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  width: 250px; /* Igual al botón */
  font-weight: bold;
  background-color: #111;
  color: white;
  box-shadow: 0 0 5px #B026FF, 0 0 10px #B026FF, 0 0 15px #B026FF;
  outline: none;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#search-input:focus{
  box-shadow: 0 0 8px #B026FF, 0 0 20px #B026FF, 0 0 30px #B026FF;
  background-color: #1a1a1a;
}

#voice-search-btn{
  background-color: #B026FF;
  padding: 10px 18px;
  margin-right: 10px;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#voice-search-btn:hover{
  background-color: #39FF14; 
}

#voice-search-btn.listening{
  background-color:#ff073a ;
}

.siguiente-seccion {
  height: 100vh;
  background-color: white;
  color: black;
  padding: 80px;
  z-index: 0;
}


.contenido-izquierdo {
  flex: 1;
  position: relative;
}

@keyframes glow-blue {
  0% {
    box-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
  }
  50% {
    box-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff, 0 0 30px #00eaff;
  }
  100% {
    box-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
  }
}

.button-glow {
  background-color: #0d0d0d;
  color: black;
  border: 2px solid #0ff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  animation: glow-blue 1.5s infinite;
}

.botones-x {
  position: relative;
  width: 650px;   /* 4x más ancho */
  height: 370px;  /* 4x más alto */
  margin-top: 10px;
  border: 2px #B026FF solid;
  border-radius: 50px;
}

.botones-x button {
  position: absolute;
  width: 120px;  /* 2x más grandes que antes (estéticamente mejor que 240px) */
  height: 120px;
  background-color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  
}

.botones-x button:hover {
  background-color: #ccc;
  transform: scale(1.1);
}

/* Posicionamiento en forma de X */
.botones-x button:nth-child(1) {
  top: 0;
  left: 0;
  margin: 10px;
}

.botones-x button:nth-child(2) {
  top: 0;
  right: 0;
  margin: 10px;
}

.botones-x button:nth-child(3) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.botones-x button:nth-child(4) {
  bottom: 0;
  left: 0;
  margin: 10px;
}

.botones-x button:nth-child(5) {
  bottom: 0;
  right: 0;
  margin: 10px;
}

.imagen-derecha {
  margin-left: 30px;
  flex-shrink: 0;
}

.imagen-derecha img {
  width: 620px;  /* 4x más grande que 80px */
  height: 570px;
  object-fit: contain;
  border-radius: 10px;
  margin-top: -160px;
}

@font-face {
  font-family: 'Kola';
  src: url('../Fonts/Kola_Complete/Kola_Complete/Fonts/WEB/fonts/Kola-Regular.ttf') format('truetype'); /* Ajusta la ruta si es diferente */
  font-weight: normal;
  font-style: normal;
}

.Neo {
  font-size: 52px;
  font-weight: bold;
  margin: 0;
  margin-top: -190px;
  font-family:'Kola';
  animation: flicker 0.15s infinite alternate;
  text-shadow:
    0 0 5px #0ff,
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 40px #0ff;
  color: #00bfff;
}

.language-menu {
  position: absolute;
  top: 40px;
  right: -85px;
  background-color: #111;
  border: 1px solid #00ffff;
  border-radius: 10px;
  width: 200px;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 0 12px #00ffff;
  z-index: 999;
}

.language-options a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.language-options a:hover {
  background-color: #00ffff;
  color: black;
}

/* Scroll personalizado */
.language-menu::-webkit-scrollbar {
  width: 6px;
}
.language-menu::-webkit-scrollbar-track {
  background: #222;
}
.language-menu::-webkit-scrollbar-thumb {
  background-color: #00ffff;
  border-radius: 10px;
}


.crea {
  font-size: 20px;         /* Frase central destacada */
  font-weight: 600;
  margin: 10px 0;
  transition: color 0.3s ease;
      animation: flicker_green 0.15s infinite alternate;
      text-shadow:
        0 0 5px #00ff6a,
        0 0 10px #00ff6a,
        0 0 20px #00ff6a,
        0 0 40px #00ff6a;
}

.innov,
.ReVOL {
  font-size: 15px;         /* Subtextos */
  font-weight: 400;
  margin: 5px 0;
  transition: color 0.3s ease;
      animation: flicker_purple 0.15s infinite alternate;
      text-shadow:
        0 0 5px #cc00ff,
        0 0 10px #cc00ff,
        0 0 20px #cc00ff,
        0 0 40px #cc00ff;
      
}

.buenas{
  width: 95%;
  height: 700px;
  background-color: black;
  color: black;
}

.buenas {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px;
  gap: 40px;
}

/* Logo separado del borde izquierdo */
.buenas > div:first-child img {
  max-width: 1900px;
  height: 600px;
  margin-left: 40px;
  margin-top: 140px;
}

/* Contenedor derecho completo en columna */
.contenido-derecho {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: right;
  max-width: 600px;
  width: 100%;
  margin-top: 250px;
}

.explicacion,
.titulo_premios,
.premios {
  margin-bottom: 20px;
}
.explicacion{
  margin-top: -50px;
}
.titulo_premios,.titulo_explanation{
  font-style: italic;
  text-decoration: underline;
  transition: color 0.3s ease;
      /*animation: flicker_purple 0.15s infinite alternate;*/
      text-shadow:
        0 0 5px #cc00ff,
        0 0 10px #cc00ff,
        0 0 20px #cc00ff,
        0 0 40px #cc00ff;
}
.titulo_explanation{
  margin-left: 70px;
}
.premios{
  margin-right: 70px;
}

.logo-electrico {
  position: relative;
  width: 700px;
  height: 700px;
  overflow: hidden;
}

.rayos-svg {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
  
}

.nombre_premio{
  transition: color 0.3s ease;
  animation: flicker_green 0.15s infinite alternate;
  text-shadow:
        0 0 5px #00ff6a,
        0 0 10px #00ff6a,
        0 0 20px #00ff6a,
        0 0 40px #00ff6a;
        color: white;
}

.blanco {
  background-color: rgb(0, 0, 0);
  transition: background-color 0.5s ease-in-out;
}

.our-story-link {
  margin: 60px 0 40px 95px;
  padding: 12px 24px;
  background-color: #111111;
  border: 1px solid #00ffff;
  border-radius: 10px;
  width: fit-content;
  box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-story-link a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.our-story-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff inset;
}

.our-story-link a:hover {
  color: rgb(162, 0, 255);
}

.titulo_explanation {
  font-size: 2.5em;
  text-shadow: 0 0 10px 20px #00ff6a;
  margin-bottom: 30px;
  color: white;
}

.explicacion p {
  font-size: 1.2em;
  line-height: 1.6;
  color: white;
}

/* Efecto de destello en palabras clave */
@keyframes flash {
  0% { opacity: 0.7; }
  100% { opacity: 1; text-shadow: 0 0 8px #00ff6a; }
}

@keyframes flicker_purple {
  0%, 100% {
    opacity: 0.8;
    text-shadow: 0 0 5px #cc00ff;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 15px #cc00ff, 0 0 30px #cc00ff;
  }
}

/* Definición de las animaciones */
@keyframes flicker_green {
  0%, 100% {
    opacity: 0.8;
    /*text-shadow: 0 0 5px #00ff6a;*/
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 15px #00ff6a, 0 0 30px #00ff6a;
  }
}

strong {
  animation: flash 1.5s infinite alternate;
}

.language_menu_selector{
  position: relative;
  margin-left: 10px;
}
.login_menu_selector{
  position: relative; 
  margin-left: 10px;
}

/*
@media screen and (min-width: 834px) and (max-width: 1360px) {
  nav {
    padding: 0 20px;
    height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    width: 140px;
    height: auto;
    margin-left: 350px;
  }

  #language-selector,
  #user-icon-wrapper {
    margin: 10px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: -10px;
  }

  .nav-links a {
    font-size: 0.95em;
    padding: 6px 12px;
  }

  .search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto 10px;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -50px;
  }

  #search-input {
    width: 60%;
    max-width: 400px;
    font-size: 0.95em;
  }

  #voice-search-btn {
    font-size: 1.2em;
    padding: 10px 12px;
  }

  /* Ajuste para el selector de idioma 
  .language-menu {
    top: 45px;
    right: 0;
  }

  .language_menu_selector{
    right: 300px;
  }

  .login_menu_selector{
    top: -85px;
    left: 280px;
  }
}*/

/*
@media screen and (min-width: 834px) and (max-width: 1360px) {
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 80px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    background-color: #1a1a1a;
    flex-wrap: nowrap;
  }

  .logo {
    width: 140px;
    height: auto;
    flex-shrink: 0;
  }

  .nav-links {
    display: none; /* ocultar enlaces para simplificar, como en boceto 
  }

  .search-container {
    position: absolute;
    bottom: -55px; /* debajo del nav 
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }

  #search-input {
    flex: 1;
    max-width: 600px;
    padding: 12px 18px;
    font-size: 1em;
  }

  #voice-search-btn {
    padding: 12px 18px;
    font-size: 1.2em;
  }

  #language-selector,
  #user-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    flex-shrink: 0;
  }

  .language-menu {
    top: 45px;
    right: 0;
  }
}*/

@media screen and (min-width: 834px) and (max-width: 1360px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 40px;
    height: 110px;
    width: 100%;
    box-sizing: border-box;
    background-color: #1a1a1a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .logo {
    width: 140px;
    height: auto;
    flex-shrink: 0;
    display: none;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-grow: 1;
    margin: auto;
    white-space: nowrap;
  }

  .nav-links a {
    font-size: 1em;
    padding: 6px 10px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
  }

  #language-selector,
  #user-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
  }

  /* 🔒 Barra de búsqueda FIJA dentro del nav */
  .search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    /*margin-left: 30px;*/
    margin-right: 30px;
    flex-shrink: 0;
    margin-top: -65px;
  }

  #search-input {
    width: 250px;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 6px;
    border: none;
    background-color: #111;
    color: white;
    box-shadow: 0 0 5px #B026FF, 0 0 10px #B026FF;
    outline: none;
    transition: box-shadow 0.3s ease;
  }

  #search-input:focus {
    box-shadow: 0 0 12px #B026FF, 0 0 25px #B026FF;
  }

  #voice-search-btn {
    padding: 10px 15px;
    font-size: 1.1em;
    background-color: #B026FF;
    color: white;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  #voice-search-btn:hover {
    background-color: #00ffcc;
    color: black;
  }

  .language-menu {
    top: 65px;
    right: -150px;
  }
}

@media screen and (min-width: 834px) and (max-width: 1360px) {
  nav {
    flex-wrap: wrap;
    padding: 10px 20px;
  }

  .nav-left {
    flex-basis: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .nav-links {
    flex-basis: 100%;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: -110px;
  }

  .search-container {
    flex-basis: 00%;
    justify-content: center;
  }
  .login_menu_selector{
    top: -32px;
    left: 150px;
  }
  .language-menu_selector{
    margin-top: 20px;
  }
  #language-selector{
    margin-top: 50px;
  }
  
}

@media screen /*and (min-width:393px)*/ and (max-width:1360px) {
  .buenas > div:first-child img{
    margin-left: 0px;
  }
}

/*
@media (min-width: 393px) and (max-width: 834px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: auto;
    gap: 20px;
    background-color: #fff; /* ajusta si usas otro color 
  }

  .logo {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
  }

  #language-selector,
  #user-icon-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .nav-links a:nth-child(-n+4) {
    order: 1;
  }

  .nav-links a:nth-child(n+5) {
    order: 2;
  }

  .search-container {
    display: none !important;
  }

  #user-menu {
    position: static !important; /* para evitar menús flotantes molestos en mobile 
  }
}

*/
@media /*(min-width: 393px) and*/ (max-width: 834px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: auto;
    gap: 20px;
    background-color: #000; /* o el color que estés usando */
  }

  .logo {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
    margin-left: -25px;
  }

  #language-selector,
  #user-icon-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }

  /*
  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-template-rows: repeat(2, auto);
    gap: 20px 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
  }
    */

    .nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

  .nav-links a {
    font-size: 1rem;
    color: #fff; /* o tu color brillante */
    text-decoration: none;
    padding: 10px;
    box-shadow: 0 0 10px #f0f; /* efecto glow rosa */
    border-radius: 10px;
    transition: transform 0.2s;
  }

  #language-selector{
    display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        margin-top: -80px;
        margin-left: 70px;
  }

  #user-icon-wrapper{
    margin-top: 20px;
  }

  .nav-links a:hover {
    transform: scale(1.05);
  }

  .search-container {
    display: none !important;
  }

  #user-menu {
    position: static !important;
  }
}