body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f6fa;
  color: #333;
}

.encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #ffffff;
  color: #317926;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contenedor-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 90px;
  height: auto;
  border-radius: 50%;
  border: 4px solid #ffbd1e;
  background-color: #ffffff;
  padding: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.marca {
  font-weight: bold;
  font-size: 1.3rem;
  color: #317926;
}

/* Contenedor principal del menú */
.navbar {
  position: relative;
  display: block;
  align-items: end;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #ffffff; /* o el color que uses */
}

.menu-container a {
  margin-left: 20px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu-container a:hover {
  color: #f26163;
  text-decoration: none;
}

.presentacion {
  text-align: center;
  padding: 50px 20px;
  background-color: #f0f1f3;
}

.presentacion h1 {
  color: #317926;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.presentacion p {
  font-size: 1.1rem;
  color: #555;
}

.menu-toggle {
  display: none;
  background-color: transparent;
  color: #ffbd1e;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-container {
    display: none;
    background-color: #2e6a39;
    position: absolute;
    top: 100%;
    left: -50px;
    width: 175%;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    padding: 10px 0;
  }

  .menu-container.active {
    display: flex;
  }

  .menu-container a {
    margin: 10px 20px;
  }
}
.equipos-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  justify-content: center;
}

.equipo {
  background-color: #ffffff;              /* Fondo blanco */
  color: #2e6a39;                         /* Texto verde */
  padding: 10px 20px;
  border: 2px solid #2e6a39;              /* Borde verde */
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);  /* Sombra */
  transition: transform 0.2s, background-color 0.3s;
}

.equipo:hover {
  transform: scale(1.05);
  background-color: #f0fdf4;  /* Un ligero verde al pasar el mouse */
  cursor: default;
}

/* Combo oculto en desktop */
.equipos-combo { display: none; }

/* RESPONSIVO: en móvil se oculta la lista y se muestra el combo */
@media (max-width: 768px) {
  .equipos-lista { display: none; }
  .equipos-combo {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 2px solid #2e6a39;
    background-color: #f4f4f4;
    color: #2e6a39;
    font-weight: bold;
    margin-top: 1rem;
    text-align: center
  }
}
.titulo-equipos {
  text-align: center;
  font-size: 2rem;
  color: #2e6a39;
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.titulo-equipos::after {
  content: "";
  display: block;
  margin: 0.5rem auto 0;
  width: 60px;
  height: 4px;
  background-color: #ffbd1e; /* línea dorada */
  border-radius: 2px;
}


.tabla-posiciones {
  margin: 30px auto;
  max-width: 800px; /* más estrecha */
  padding: 15px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 100, 0, 0.2);
  border: 2px solid #2e6a39;
}

.tabla-posiciones h2 {
  text-align: center;
  color: #2e6a39;
  margin-bottom: 15px;
}

.tabla-posiciones table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem; /* texto más pequeño */
}

.tabla-posiciones th,
.tabla-posiciones td {
  border: 1px solid #ccc;
  padding: 6px 8px; /* menos espacio */
}

.tabla-posiciones th {
  background-color: #2e6a39;
  color: #fff;
  font-weight: bold;
}

.tabla-posiciones tr:nth-child(even) {
  background-color: #f9f9f9;
}
@media (max-width: 600px) {
  .tabla-posiciones {
    max-width: 95%;
    font-size: 0.75rem;
  }

  .tabla-posiciones table th,
  .tabla-posiciones table td {
    padding: 4px;
  }
}
.seccion-posiciones {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 250px;
  gap: 40px; /* más espacio entre columnas */
  background-color: #f8f8f8;
  flex-wrap: wrap; /* Para adaptarse a pantallas más pequeñas */
}

.galeria-lateral.izquierda {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  padding: 20px 0;
}

.galeria-lateral.derecha {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 500px;
  padding: 20px 0;
}


.galeria-lateral img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.tabla-posiciones {
  flex-grow: 1;            /* ocupa el espacio disponible */
  max-width: 600px;        /* ancho máximo para la tabla */
  background-color: white; /* fondo blanco para la tabla */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.tabla-posiciones h2 {
  margin-bottom: 15px;
}
.galeria-lateral {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 160px;
}

/* Verticales (izquierda) */
.izquierda .contenedor-imagenes {
  position: relative;
  width: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin: 10px 0;
}

/* Horizontales (derecha) */
.derecha .contenedor-imagenes {
  position: relative;
  width: 480px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin: 10px 0;
}


.izquierda .contenedor-imagenes img,
.derecha .contenedor-imagenes img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.izquierda .contenedor-imagenes img.activa,
.derecha .contenedor-imagenes img.activa {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}


.flecha {
 background-color: #121227;      /* Fondo oscuro elegante */
  color: #C09B57;                 /* Color dorado del ícono */
  border: 2px solid #C09B57;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;             /* Hace el botón circular */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.flecha:hover {
  background-color: #C09B57;
  color: #121227;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.flecha:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.titulo-galeria {
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  color: #2e6a39;
  margin-bottom: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.titulo-galeria::after {
  content: "";
  display: block;
  margin: 0.5rem auto 0;
  width: 60px;
  height: 4px;
  background-color: #ffbd1e; /* Línea dorada o color llamativo */
  border-radius: 2px;
}
#filtro-jornada {
  display: inline-block;
  width: 100%;
  max-width: 200px;
  padding: 8px 12px;
  margin-bottom: 15px;
  font-size: 1rem;
  border: 1.5px solid #555;
  border-radius: 6px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: border-color 0.3s ease;
  cursor: pointer;
}

#filtro-jornada:hover,
#filtro-jornada:focus {
  border-color: #007BFF;
  outline: none;
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  .seccion-posiciones {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .galeria-lateral {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .galeria-lateral .contenedor-imagenes {
    width: 100%;
    max-width: 100%;
  }

  .galeria-lateral.izquierda .contenedor-imagenes,
  .galeria-lateral.derecha .contenedor-imagenes {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    overflow: visible;
  }

  .galeria-lateral.izquierda .contenedor-imagenes img,
  .galeria-lateral.derecha .contenedor-imagenes img {
    position: static;
    opacity: 1 !important;
    width: 45%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    pointer-events: auto;
  }

  .flecha {
    display: none;
  }

  .tabla-posiciones {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
  }

  .tabla-posiciones table {
    font-size: 0.75rem;
  }

  #filtro-jornada {
    width: 100%;
    max-width: 100%;
  }
}

.barra-estadisticas {
  margin-top: 60px;
  padding: 15px 20px;
  background-color: #ffffff;
  color: #2e6a39;
  font-size: 1.2rem;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;

  /* Borde sólido */
  border: 2px solid #2e6a39;

  /* Sombra brillante */
  box-shadow:
    0 0 8px #2e6a39,
    0 0 15px #2e6a39,
    0 0 20px #2e6a39;

  /* Para que el texto y fondo no se vean opacos */
  position: relative;
}

#tabla-goleo {
  margin: 40px auto;
  width: 90%;
  max-width: 800px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  margin-left:13rem;
}

#tabla-goleo h2 {
  color: #2e6a39;
  margin-bottom: 15px;
}

.tabla-goleo {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #2e6a39;
  background-color: #ffffff;
}

.tabla-goleo thead {
  background-color: #2e6a39;
  color: #ffffff;
}

.tabla-goleo th,
.tabla-goleo td {
  padding: 12px;
  border: 1px solid #cccccc;
  font-size: 16px;
}

.tabla-goleo tbody tr:nth-child(odd) {
  background-color: #f4f4f4;
}

.tabla-goleo tbody tr:nth-child(1) {
  font-weight: bold;
  background-color: #ffbd1e; /* resaltar al líder */
  color: #000;
}
#mejor-delantera {
  background: #ffffff;
  color: #2e6a39;
  padding: 2rem;
  border-radius: 20px;
  border: 4px solid #2e6a39;  /* Aquí agregas el borde verde */
  min-width: 260px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 4rem;
  margin-left: 3rem;
}

#mejor-delantera:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

#mejor-delantera h2 {
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #2e6a39;
  text-transform: uppercase;
  font-weight: 700rem;
}

#mejor-delantera h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0.3rem 0 1rem;
  color: #2e6a39;
}

#mejor-delantera .numero-goles {
  font-size: 6rem;
  font-weight: 900;
  color: #ffbd1e;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#mejor-delantera .etiqueta-goles {
  font-size: 1.5rem;
  color: #2e6a39;
  font-weight: 700;
}
#mejor-defensa{
  background: #ffffff;
  color: #2e6a39;
  padding: 2rem;
  border-radius: 20px;
  border: 4px solid #2e6a39;  /* Aquí agregas el borde verde */
  min-width: 260px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 4rem;
  margin-left: 3rem;
  margin-right: 3rem;
}

#mejor-defensa:hover{
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

#mejor-defensa h2{
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #2e6a39;
  text-transform: uppercase;
  font-weight: 700rem;
}

#mejor-defensa h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0.3rem 0 1rem;
  color: #2e6a39;
}

#mejor-defensa .numero-goles{
  font-size: 6rem;
  font-weight: 900;
  color: #ffbd1e;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#mejor-defensa .etiqueta-goles{
  font-size: 1.5rem;
  color: #2e6a39;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  #contenedor-estadisticas {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
  }

  #mejor-delantera,
  #mejor-defensa {
    margin: 0 auto;
  }

  #tabla-goleo {
    margin: 0 auto;
    width: 100%;
    max-width: 95%;
  }
}

#calendario {
  padding: 3rem;
  background: #ffffff;
  text-align: center;
  color: #2e6a39;
  font-size: 22px;
}

.titulo-jornada {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2e6a39;
}

.tarjetas-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.tarjeta-partido {
  background: #f9f9f9;
  border: 2px solid #2e6a39;
  border-radius: 15px;
  padding: 1rem;
  width: 220px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.tarjeta-partido:hover {
  transform: scale(1.05);
}

.hora {
  font-size: 0.9rem;
  font-weight: bold;
  color: #2e6a39;
  margin-bottom: 0.5rem;
}

.equipos {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.vs {
  margin: 0 0.3rem;
  color: #666;
}

.campo {
  font-size: 0.85rem;
  color: #777;
}

.marcador {
  font-weight: bold;
  font-size: 1.2rem;
  color: #2e6a39;
}

.filtro-jornada {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 10px 15px;
  background: #1c1c1c;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  max-width: 300px;
  font-family: 'Arial Black', sans-serif;
}

.filtro-jornada label {
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
}

#jornada-select {
  padding: 6px 12px;
  border-radius: 5px;
  border: none;
  background-color: #2e6a39;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

#jornada-select:hover {
  background-color: #3c8d4f;
}

.seccion-facebook {
  padding: 20px;
  background: #ffffff;
  color: white;
  border-radius: 60px 140px 40px 140px;
  color: #2e6a39;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border: 3px solid #2e6a39;
}

.contenedor-facebook {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.imagen-promocional {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.widget-facebook {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.boton-facebook {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #2e6a39;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.4);
  transition: transform 0.2s, box-shadow 0.3s;
  text-align: center;
  font-size: 2rem;
}

.boton-facebook:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.6);
}

/* Frase debajo del botón */
.frase-futbol {
  margin-top: 1rem;
  font-style: italic;
  color: #444;
  font-size: 1.3rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .contenedor-facebook {
    flex-direction: column;
    align-items: center;
  }

  .boton-facebook {
    font-size: 1.6rem;
    padding: 10px 25px;
  }

  .widget-facebook iframe {
    width: 65% !important;
    height: 400px !important;
  }

  .frase-futbol {
    font-size: 1.1rem;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .boton-facebook {
    font-size: 1.4rem;
    padding: 8px 20px;
  }

  .widget-facebook iframe {
    height: 350px !important;
  }

  .frase-futbol {
    font-size: 1rem;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-contenido {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  position: relative;
}

.cerrar-modal {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.cerrar-modal:hover {
  color: #000;
}
.pie-pagina {
  background: linear-gradient(135deg, #2e6a39, #1c4523);
  color: #ffffff;
  padding: 40px 60px;
  border-top: 5px solid #ffbd1e;
  font-family: 'Arial', sans-serif;
}

.contenido-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-footer img {
  width: 120px;
  height: auto;
  border-radius: 20px;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  justify-content: center;
}

.info-footer {
  flex: 1;
  padding-left: 40px;
  text-align: left;
  text-align: center;
}

.info-footer h2 {
  font-size: 1.5rem;
  color: #ffbd1e;
  margin-bottom: 10px;
}

.info-footer p {
  margin: 5px 0;
  font-size: 1rem;
}

.info-footer a {
  color: #f26163;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.info-footer a:hover {
  color: #ffbd1e;
}

/* Responsivo */
@media (max-width: 768px) {
  .contenido-footer {
    flex-direction: column;
    text-align: center;
  }

  .info-footer {
    padding-left: 0;
    margin-top: 20px;
  }

  .logo-footer img {
    width: 100px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: #25d366;
  border-radius: 50px;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: bold;
  animation: slideIn 1s ease forwards;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  margin-left: 10px;
}

.whatsapp-label {
  font-size: 16px;
  white-space: nowrap;
  margin-right: 10px;
}

/* Animación de entrada desde la derecha */
@keyframes slideIn {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animación suave de la leyenda */
.animada {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}


