:root{
  --morado: #6d52df;
  --morado_hover: #4B389B;
  --lila: #A597E6;
  --lila_hover: #6A5BAE;
  --blanco: #ffffff;
  --gris_claro: #f3f3f3;
  --negro: #16141d;
  --fila_gris: #f3f3f3;
  --fila_blanca: #ffffff;
  --fila_letra: #16141d;
  --fila_borde: #ddd;
  --icono-visto: url("icon/visibility_dark.png");

  /*Modo oscuro activo*/
  --color-bg-dark-active: #6d52df;
  --color-text-dark-active: #ffffff;

  /*Modo claro activo*/
  --color-bg-light-active: #b30c25;
  --color-text-light-active: #fff;

  /*Colores cuando están inactivos*/
  --color-text-inactive-dark: #6d52df;
  --color-text-inactive-light: #b30c25;

  --color-bg-inactive: transparent;
}

/*En modo dark reemplazo el color de fondo de las filas */
[data-theme="dark"] {
  --fila_blanca: #221f2D;
  --fila_gris: #16141d;
  --fila_letra: #ffffff;
  --fila_borde: #434343;
  --icono-visto: url("icon/visibility_white.png");
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--negro);
  color: var(--blanco);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 120px;
  overflow-x: hidden;
}

body.chapter-page {
  padding: 0px;
}

a {
  color: var(--blanco);
  text-decoration: none;
}

.icon-default:hover, .icon-default:focus{
  transform: scale(1.05);
  transition: 0.5S;
}

a:hover, a:focus{
  color: var(--morado);
}

.header {
  display: flex;
  align-items: flex-start;
  padding: 20px 40px;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 18px;
}

.logo img {
  width: 200px;
  height: 110px;
}

nav a {
  margin: 0 15px;
  font-weight: bold;
}

.main {
  padding: 40px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: left;

}

.hero-img {
  margin-left: auto;  /* Empuja la imagen a la derecha */
  margin-right: 40px;
}

.hero-img img {
  width: 300px;
  max-width: 100%;
}

.hero-text {
  max-width: 800px;
  padding-right: 10%;
}

.hero-text h1, .proyect-text h1 {
  font-size: 60px;
  line-height: 1.2;
  font-family: Impact, sans-serif;
  letter-spacing: 0.05em;
}

.hero-text p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
}

.proyect-text p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--blanco);
}

.proyect-text ul{
   padding-left: 4%;
}

.proyect-text li {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--blanco);
}

.buttons {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-primary {
  display: inline-flex; /* Permite alinear el texto y el ícono */
  align-items: center;  /* Centra verticalmente */
  justify-content: center; /* Centra horizontalmente */
  gap: 10px; /* Espacio entre texto e ícono */
  background: linear-gradient(to right, var(--morado) 60%, var(--lila));
  color: var(--blanco);
  padding: 6px 15px;
  border-radius: 30px;
  font-family: Impact;
  border: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.icon-hover{
  display: none;
}

.btn-primary:hover, .btn-primary:focus   {
   background: linear-gradient(to right, var(--morado_hover) 60%, var(--lila_hover));
   color: var(--blanco);
}

.search-box {
  display: flex;
  background: var(--blanco);
  border-radius: 30px !important;
  overflow: hidden;
}

.search-box input {
  border: none;
  padding: 10px 15px;
  outline: none;
  color: var(--negro);
  font-family: Impact;
}

.search-box button {
  background: none;
  border: none;
  padding: 0 15px;
  font-size: 16px;
  cursor: pointer;
}

.search-box button:hover, .search-box button:focus {
  background: none;
  border: none;
  padding: 0 15px;
  font-size: 16px;
  cursor: pointer;
  transform: scale(1.1);
}

.numero-caps{
  display: flex; /* Permite alinear el texto y el ícono */
  align-items: center;  /* Centra verticalmente */
  justify-content: center; /* Centra horizontalmente */
  gap: 10px; /* Espacio entre texto e ícono */
  color: var(--blanco) !important;
  border-radius: 30px;
  font-family: Impact;
  margin-top: 0  !important;
}

.hero-img img {
  width: 300px;
  max-width: 100%;
}

.arcs {
  margin-top: 60px;
}

.grid {
  display: grid;
   grid-template-columns: repeat(3, 1fr); /* Por defecto: 3 */
  gap: 20px;
}

.card {
  background-color: #1c1c2b;
  border-radius: 12px;
  border: 2px solid var(--blanco);
  height: 240px;
  display: flex;
  align-items: flex-end;
  font-size: 48px;
  text-align: left;
  padding: 10px 10px 10px 20px;
  background-size: cover;
  background-position: center;
  font-family: Impact, sans-serif;
  -webkit-text-stroke: 1px var(--negro);
  transition: 0.5S;
}

.card:hover, .card:focus{
  color: var(--blanco);
  border: 3px solid var(--morado);
  transform: scale(1.05);
}

/* Imágenes de fondo de las card */

.elbaf {
  background-image: url("icon/Elbaf.webp");
}
.egghead {
  background-image: url("icon/Egghead.webp");
}

.wano {
  background-image: url("icon/Wano_bw.webp");
}

.levely {
  background-image: url("icon/Levely_bw.webp");
}

.wholecake {
  background-image: url("icon/Wholecake_bw.webp");
}

.zou {
  background-image: url("icon/Zou_bw.webp");
}

.dressrosa {
  background-image: url("icon/Dessrosa_bw.webp");
}

.punkhazard {
  background-image: url("icon/Punk_hazar_bw.webp");
}

.gyojin {
  background-image: url("icon/Pescaos_bw.webp");
}

.footer {
  text-align: right;
  padding: 20px 0;
  background-color: var(--negro);
  margin-top: 40px;
  margin-right: 40px;
}

.footer a {
  margin: 0 10px;
  font-size: 14px;
}

.search-bar {
      padding: 20px;
      border-radius: 30px;
      margin-bottom: 30px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      display: flex;
      gap: 20px;
      align-items: center;
      flex-wrap: wrap; /* Muy importante para que se acomode en móviles */
      justify-content: space-between;
    }

    .search-bar input {
      flex: 1;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 8px;
      height: 40px;
    }

    .search-bar button {
      padding: 10px 16px;
      background-color: var(--morado);
      color: var(--blanco);
      border: none;
      border-radius: 8px;
      cursor: pointer;
    }

      .search-bar button:hover, button:focus {
      background-color: var(--lila);
      color: var(--negro);
      cursor: pointer;
    }

    .table-wrapper {
      overflow-x: auto;
      margin-bottom: 40px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    thead {
      position: relative;
      background-color: transparent;
      color: var(--blanco);
    }

    thead::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgba(108, 82, 223, 0.5);
      z-index: -1;
    }

    th, td {
      padding: 12px 15px;
      text-align: center;
      font-family: Arial, Helvetica, sans-serif;
      letter-spacing: 0.05em;
    }

    td{
      color: var(--negro);
      background-color: var(--gris_claro);
    }

      /* Filas pares con fondo ligeramente gris */
      tbody tr:nth-child(even) td {
        background-color: var(--fila_gris);
        color: var(--fila_letra);
      }

      /* Filas impares mantienen el fondo por defecto */
      tbody tr:nth-child(odd) td {
        background-color: var(--fila_blanca);
        color: var(--fila_letra);
      }

    /* Opcional: que toda la fila se vea “clicable” */
    .clickable-row {
      cursor: pointer;
      /* quitamos cualquier fondo por defecto para que el hover se aprecie */
      background-color: transparent;
      transition: background-color 0.2s;
    }

    .clickable-row:hover td, .clickable-row:focus td {
      background-color: rgba(108, 82, 223, 0.7) !important;
      color: var(--blanco);
    }

    th img {
      vertical-align: middle;
      margin-right: 3px;  /* separación entre icono y texto */
    }

    tbody tr {
      border-bottom: 1px solid var(--fila_borde);
    }

    .toggle-visto-btn.visto{
      background-image: var(--icono-visto);
      background-repeat: no-repeat;
    }

    .toggle-visto-btn {
      padding: 4px 10px;
      width: 40px;
      height: 30px;
      font-weight: bold;
      background-image: url("icon/visibility_off.png");
      background-repeat: no-repeat;
      background-position: center;
      border-radius: 8px;
      border: none;
      background-color: transparent;
      cursor: pointer;
    }

    .toggle-visto-btn:hover,
    .toggle-visto-btn:focus {
      transform: scale(1.2);
      transition: 0.5S;
      color: white;
    }


    .estado {
      display: inline-block;
      padding: 5px 10px;
      border-radius: 15px;
      font-size: 0.9em;
      color: white;
    }

    .publicado {
      background-color: #218739;
    }

    .pendiente {
      background-color: #EB000C;
    }

    .leer-btn {
      text-align: center;
      padding: 6px 12px;
      border: 1px solid #ccc;
      color: var(--negro);
      background-color: var(--blanco);
      border-radius: 6px;
      cursor: pointer;
      font-family: Impact, sans-serif;
      letter-spacing: 0.05em;

    }

     .leer-btn:hover, .leer-btn:focus {
      padding: 6px 12px;
      border: 1px solid #ccc;
      color: var(--negro);
      background-color: var(--morado);
      border-radius: 6px;
      cursor: pointer;
    }

    .page {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .manga-img {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 20px 0;
    }
    audio {
      display: none;
    }

    .dropdown-container {
      position: relative;
      display: inline-block;
    }

    .dropdown-toggle {
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }

    .dropdown-toggle:hover, .dropdown-toggle:focus {
      transform: scale(1.2);
      transition: 0.5;
      background-color: transparent;
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 120%;
      right: 0;
      background-color: var(--morado);
      border: 1px solid #ccc;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      border-radius: 8px;
      padding: 10px;
      z-index: 1000;
      min-width: 180px;
    }

    .dropdown-menu button {
      width: 100%;
      background: none;
      border: none;
      padding: 8px 10px;
      text-align: left;
      display: flex;
      gap: 8px;
      align-items: center;
      cursor: pointer;
      color: var(--blanco);
    }

    .dropdown-menu button:hover, .dropdown-menu button:focus {
      transition: 0.5;
      transform: scale(1.05);
    }


  .theme-toggle {
    display: flex;
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid #ccc;
    width: 50%;
    max-width: 150px;
  }

  /* Estilo base para los botones inactivos */
  .theme-btn {
    background-color: transparent;
    color: inherit;
    border: none;
    padding: 10px;
    flex: 1;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
  }

  .theme-btn span {
    text-transform: uppercase;
  }

  /* Activo: Redondeado completo */
  .theme-btn.active {
    border-radius: 50px;
  }

  /* Tema oscuro activo */
  [data-theme="dark"] .theme-btn.dark.active {
    background-color: var(--color-bg-dark-active);
    color: var(--color-text-dark-active);
  }

  /* Tema claro activo */
  [data-theme="light"] .theme-btn.light.active {
    background-color: var(--color-bg-light-active);
    color: var(--color-text-light-active);
  }

  /* Botón oscuro inactivo en modo claro */
  [data-theme="light"] .theme-btn.dark {
    background-color: var(--color-bg-inactive);
    color: var(--color-text-inactive-dark);
  }

  /* Botón claro inactivo en modo oscuro */
  [data-theme="dark"] .theme-btn.light {
    background-color: var(--color-bg-inactive);
    color: var(--color-text-inactive-light);
  }

  .icon-theme{
    width: 24px;
    height: 24px;
  }

  .scan-label {
  font-weight: bold;
  color: white;
}
.scan-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

  /*Estilos para el select */
  .select-wrapper {
    display: flex;           /* fila, no columna */
    align-items: center;     /* alineación vertical centrada */
    gap: 8px;                /* espacio entre label y select */
    /*max-width: 300px;        /* ancho máximo para que no crezca mucho */
    margin-bottom: 0;        /* para no dar espacio abajo */
  }

  .select-wrapper label {
    font-weight: bold;
    color: var(--blanco);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-align: center;
  }

 .custom-select {
  position: relative;
  width: 240px;
  font-family: sans-serif;
  cursor: pointer;
}

.selected-option, .options-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, var(--morado) 70%, var(--lila));
  color: var(--blanco);
  padding: 8px 10px;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  width: 100%;
  font-family: Arial, sans-serif;
  font-weight: bold;
  gap: 8px;
  text-align: left;
}

.options-list li p {
  margin: 0;
  flex: 1;
  text-align: left;
}

/* Icono de flecha (a la derecha) */
.selected-option::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("icon/arrow_drop_down.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  margin-left: 0px;
}

.select-icon {
  width: 28px;
  height: 28px;
}

.options-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 4px;
  background: linear-gradient(to right, var(--morado) 70%, var(--lila));
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
  font-weight: bold;
}


.options-list.hidden {
  display: none;
}

.options-list li:hover, .options-list li:focus  {
  background: linear-gradient(to right, var(--morado_hover) 60%, var(--lila_hover));
}

  /* Acordeon preguntas y respuestas*/
  .faq-section {
    margin: 0 auto;
    color: var(--blanco);
    font-family: Arial, sans-serif;
  }

  .faq-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .faq-item {
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--blanco);
    color: #16141d;
    transition: all 0.3s ease;
  }

  .faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 24px;
    font-size: 1rem;
    text-align: left;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .faq-question:hover, .faq-question:focus {
    background: linear-gradient(to right, var(--morado_hover) 70%, var(--lila_hover));
    color: var(--blanco);
  }

  .faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
  }

  .faq-answer {
    padding: 0 24px 16px;
    display: none;
    font-size: 0.95rem;
    color: var(--blanco);
    line-height: 1.6;
  }

  .faq-item.active {
    background: linear-gradient(to right, var(--morado_hover) 70%, var(--lila_hover));
    color: var(--blanco);
  }


  .faq-item.active .faq-answer {
    display: block;
  }

  .faq-item.active button{
    color: var(--blanco);
  }

  .faq-item.active .faq-question .icon {
    transform: rotate(45deg);
  }

  input[type="range"] {
    appearance: none;
    background: transparent;
    width: 150px; /* o el tamaño que quieras */
    outline: none;
    cursor: pointer;
  }

  input[type="range"]::-webkit-slider-runnable-track {
    height: 3px;
    background: var(--lila);
    border-radius: 3px;
  }

  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--lila);
    border-radius: 50%;
    border: none;
    margin-top: -5px; /* Ajuste fino si hace falta */
  }

  input[type="range"]::-moz-range-track {
    height: 3px;
    background: var(--lila);
    border-radius: 3px;
  }

  input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--lila);
    border-radius: 50%;
    border: none;
  }


  /* Hamburguesa oculta en escritorio */
  .hamburger {
    display: none;
    background: none;
    font-size: 28px;
    border: none;
    color: var(--blanco);
    cursor: pointer;
  }

  .hamburger:hover,
  .hamburger:focus {
    color: var(--morado);
  }

  .menu-wrapper {
    position: relative;
  }

  .logo-img {
    width: 64px;
    height: 64px;
    display: flex;
    transition: transform 0.3s ease; /* Agrega transición suave */
  }

  .logo-img:hover {
    transform: scale(1.1); /* Agranda un 10% al pasar el mouse */
  }

  .navegacion-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* permite que baje a dos filas si no cabe */
  gap: 40px;
  padding: 10px;
}

.navegacion-botones {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.volumen-controles {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 30px 0;
}

  .logo-link{
    width: 64px;
    height: 64px;
  }

  .logo-img {
    width: 72px;
    height: 72px;
    display: flex;
  }


  @media (max-width: 1403px){
    .hero-img{
      width: 250px;
    }
  }

  @media (max-width: 1346px){
    .hero-img{
      width: 190px;
    }
        .navegacion-wrapper {
    flex-direction: column !important;
    align-items: center;
  }
  .volumen-controles {
    margin: 0 0;
  }

  .navegacion-botones{
     margin: 0 0;
  }
  }

    @media (max-width: 1304px){
    .hero-img{
      width: 190px;
    }
         .navegacion-wrapper {
    flex-direction: column !important;
    align-items: center;
  }
  .volumen-controles {
    margin: 0 0;
  }

  .navegacion-botones{
     margin: 0 0;
  }
  }

   @media (max-width: 1290px){
    .hero-img{
      width: 150px;
    }
    .navegacion-wrapper {
    flex-direction: column !important;
    align-items: center;
  }
  .volumen-controles {
    margin: 0 0;
  }

  .navegacion-botones{
     margin: 0 0;
  }
  }

  @media (max-width: 1235px){
    .hero-img{
     display: none;
    }
    .navegacion-wrapper {
    flex-direction: column !important;
    align-items: center;
  }
   .volumen-controles {
    margin: 0 0;
  }

  .navegacion-botones{
     margin: 0 0;
  }
  }

  /* Responsive para tablets y pantallas medianas */
  @media (max-width: 1024px) {
    .grid{
      grid-template-columns: repeat(2, 1fr);
    }

    .hero {
      flex-direction: column;
      text-align: center;
    }

    .hero-text {
      max-width: 100%;
    }

    .hero-img{
      display: none;
    }

    .buttons {
      flex-direction: column;
    }


    .logo-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .header {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
    }

    .footer {
      text-align: center;
      margin-right: 0;
    }

    .table-wrapper {
        margin: 0 -20px 40px;
        padding: 0 20px;
    }

    th, td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .logo-img {
    width: 64px;
    height: 64px;
    display: flex;
  }

    .navegacion-wrapper {
    flex-direction: column;
    align-items: center !important;
  }

  .volumen-controles, .navegacion-botones {
    justify-content: center;
    width: 100%;
    align-items: center !important;
  }

  }


  /* ---------- Estilos para móvil ---------- */
  @media (max-width: 768px) {

    body {
      padding: 0px;
    }

    .hero-img{
      display: none;
    }

    .hero-text{
      padding-right: 0px;
    }

    .grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
      display: block;
    }

    .nav-links {
      display: none;
      position: absolute;
      top: 100%; /* Justo debajo del botón */
      right: 0;
      background-color: #1c1c2b;
      padding: 15px 20px;
      border-radius: 10px;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .nav-links a {
      color: var(--blanco);
      font-size: 16px;
      font-weight: bold;
      text-decoration: none;
    }

    .nav-links a:hover {
      color: var(--morado);
    }

    .nav-links.active {
      display: flex;
    }

    /* Acentuamos la cabecera para que siga visible */
    thead {
      display: table-header-group;
    }

    /* Scroll horizontal */
    .table-wrapper {
      padding: 0 10px;
    }

    .search-bar {

    align-items: center;
  }

  .theme-toggle {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .search-box {
    width: 100%;
  }

  .volumen-controles {
    flex-direction: column;
    gap: 20px;
    margin: 0px;
  }

  .navegacion-botones{
    margin: 0px;
    gap: 25px;
  }


  #volume-controls {
    width: 70%;
    justify-content: center;
  }

  #volume-controls > div {
    width: 90%;
    justify-content: space-between;
  }

  .text-volumen{
    justify-content: center !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
  }

  #volume-controls input[type="range"] {
    max-width: 150px;
  }
  }

  /* Extra pequeño (teléfonos en vertical) */
  @media (max-width: 580px) {
    /* Grid y hero */
    .grid {
      grid-template-columns: 1fr;
    }

    header .logo img {
      width: 200px;
      height: auto;
    }

    nav a {
      display: block;
      margin: 10px 0;
    }

    .hero-text h1 {
      font-size: 32px;
      line-height: 1;
      font-weight: bold;
    }

    .search-bar {
    flex-direction: column;
    align-items: center;
  }

  .volumen-controles {
    flex-direction: column;
    gap: 20px;
    margin-top: 0px !important;
  }

  #volume-controls {
    width: 70%;
    justify-content: center;
  }

  #volume-controls > div {
    width: 90%;
    justify-content: space-between;
  }

  .text-volumen{
    justify-content: center !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
  }

  #volume-controls input[type="range"] {
    max-width: 150px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
    display: flex;
  }

  .logo-link{
      width: 32px !important;
      height: 32px !important;
  }

    .navegacion-botones a {
      min-width: 2.5em;
      max-width: 6.875em;
      max-height: 2.75em;
  }


  .navegacion-botones a div{
    font-weight: 600 !important;
    padding-top: 0 !important;
  }

  .navegacion-botones a span{
      font-size: 7px !important;
      margin-top: 3px !important;
  }

   .navegacion-botones a span.texto-boton {
    font-size: 8px !important;
  }

  }

   @media (max-width: 448px) {


  .volumen-controles {
    flex-direction: column;
    gap: 20px;
    margin-top: 0px !important;
  }

 .navegacion-botones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-shrink: 1;
  padding: 0px;
  box-sizing: border-box;
  flex-direction: row;
}

.logo-img {
    width: 40px ;
    height: 40px;
    display: flex;
  }

.logo_link{
    width: 32px !important;
    height: 32px !important;
  }

 .navegacion-botones a {
      min-width: 2.5em;
      max-width: 5.7em;
      max-height: 2.4em;
  }

  .navegacion-botones a div{
    font-weight: 600 !important;
    padding-top: 0 !important;
  }

  .navegacion-botones a span{
      font-size: 5.7px !important;
      margin-top: 2px !important;
  }

   .navegacion-botones a span.texto-boton {
    font-size: 7.5px !important;
  }


  #volume-controls {
    width: 70%;
    justify-content: center;
  }

  #volume-controls > div {
    width: 100%;
    justify-content: space-between;
  }

  .text-volumen{
    justify-content: center !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
  }

  #volume-controls input[type="range"] {
    max-width: 150px;
  }

   }

  @media (max-width: 400px) {

.logo-img {
    width: 36px ;
    height: 36px;
    display: flex;
  }

.logo-link{
    width: 32px !important;
    height: 32px !important;
  }

 .navegacion-botones a {
      min-width: 2.5em;
      max-width: 5.6em;
      max-height: 2.4em;
  }

  .navegacion-botones a div{
    font-weight: 600 !important;
    padding-top: 0 !important;
  }

  .navegacion-botones a span{
      font-size: 5.5px !important;
      margin-top: 2px !important;
  }

  .navegacion-botones a span.texto-boton {
    font-size: 7px !important;
  }

  }

body.index::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("icon/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.06; /* Puedes ajustar la transparencia aquí */
  z-index: -1; /* Asegura que esté detrás del contenido */
  pointer-events: none; /* Evita que bloquee clics */
}

.icon-link {
  display: inline-flex;
  align-items: center;
}

.icon-link img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* blanco */
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
