
html {
    -webkit-tap-highlight-color: transparent;
}
body {
    margin: 0px;
    padding: 0;
    background-color: rgb(0, 50, 90);
    color: rgb(245, 244, 244);
    font-family: 'Helvetica';
}

header {
    display: flex;
    justify-content: center;
    background-color: rgb(0, 30, 70);
    width: 100%;
    box-sizing: border-box;
}

#logo {
    width: 200px;
    height: auto;
}

h1 {
    margin: 11px;
    text-align: center;
    font-size: x-large;
    /*color:rgb(200, 200, 200);*/
    color: rgb(30, 125, 200);
    font-family: monospace;
    font-weight: 100;
}
@media (max-width: 670px) {
    h1 {
        font-size: large;
    }
}

.intro {
    margin: 11px;
    text-align: center;
    font-size: smaller;
    /*color:rgb(200, 200, 200);*/
    color: rgb(30, 125, 200);
    font-family: monospace;
    font-weight: 100;
    text-align: center;
}

#cont-escudos {
    display: flex;
    flex-direction: column;
    background-color: rgb(0, 30, 70);
}
#cont-escudos p {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: rgba(250, 250, 250, .5);
}
#barra_escudos {
    display:flex;
    justify-content: space-around;
    /* background-color: rgb(0, 30, 70); */
    padding: 10px;
}
.escudos {
    width: 40px;
    height: 40px;
    filter: drop-shadow(2px 3px 3px rgb(20, 0, 0))
}


nav {
    width: 90%;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.tab {
    width: 24%;
    border-radius: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    text-decoration: none;
    font-family: monospace;
    margin-bottom: 10px;
    box-shadow:5px 5px 5px rgb(0, 10, 40);
}

/* TABLAS */

.tablas_contenedor {
    margin-top: 150px;
    display:flex;
    justify-content: space-around;
}
/* tabla genérica */
.tabla {
    width: 240px;
    height: 350px;
    background-color: rgb(0, 30, 70);
    border-radius: 25px;
    display:grid;
    grid-template-rows: 50px 100px 100px 100px;
    box-shadow:5px 5px 5px rgb(0, 10, 40);
}
.tabla:hover {
    background-color: rgb(10, 40, 50);
}


#titulo_tabla {
    display:flex;
    justify-content: center;
    align-items: center;
    color: rgb(200, 200, 200);
    background-color: rgb(0, 30, 70);
    border-radius: 25px 25px 0px 0px;
    font-size: 18px;
    text-align: center;
    /*box-shadow: -2px 3px 5px rgba(0, 0, 0, 0.5);*/
}


.tarjetas-tabla {
    width: 100%;
    /* height: 140px; */
    /*background-color: rgb(0, 30, 70);*/
    /* display: flex;
    justify-content: space-around; */
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 1/6;
}

/* 
#tabla-tradicional {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    font-size: smaller;
} */

#tabla-tradicional-serieA {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    font-size: smaller;
}

#tabla-tradicional-serieB {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    font-size: smaller;
}

caption {
    height: 50px;
    position: relative;
    top: 15px;
    font-size: larger;
}

#tabla-tradicional-serieA th {
    height: 50px;
    font-size: smaller;
}
#tabla-tradicional-serieB th {
    height: 50px;
    font-size: smaller;
}
#tabla-tradicional-serieA td {
    border: 1px solid rgb(0, 30, 70);
    text-align: center;
    font-family: monospace;
    /* padding: 5px 10px; */
    white-space: nowrap;
    /* font-size: xx-small; */
}
#tabla-tradicional-serieB td {
    border: 1px solid rgb(0, 30, 70);
    text-align: center;
    font-family: monospace;
    /* padding: 5px 10px; */
    white-space: nowrap;
    /* font-size: xx-small; */
}
#tabla-tradicional-serieA td:nth-child(2){
  font-weight: bold;
}
#tabla-tradicional-serieB td:nth-child(2){
  font-weight: bold;
}
/* .pts-tabla {
    font-weight: 800;
} */

@media (max-width: 670px) {
    nav {
        width: 100%;
    }
    #tabla-tradicional-serieA {
        font-size: small;
    }
    #tabla-tradicional-serieB {
        font-size: small;
    }
    caption {
        font-size: large;
    }
    #tabla-tradicional-serieA th {
        font-size: xx-small;
    }
    #tabla-tradicional-serieB th {
        font-size: xx-small;
    }
    #tabla-tradicional-serieA td {
        font-size: smaller;
    }
    #tabla-tradicional-serieB td {
        font-size: smaller;
    }
    #tabla-tradicional-serieA td:nth-child(2){
        font-weight: bold;
        font-size: large;
    }
    #tabla-tradicional-serieB td:nth-child(2){
        font-weight: bold;
        font-size: large;
    }
}

.escudo-tabla {
    width: 20px;
    height: 20px;
}

/* BORDE INTERNOS DE LAS TABLAS */
.bordes_internos {
    border-bottom: 3px solid rgb(0, 50, 90);
}
.celdas_internas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
}

/* COLUMNAS DEL GRID DE LA PRIMER FILA DE LA PRIMER COLUMNA*/
.numero_primer_fila {
    color: rgb(0, 50, 90);
    font-size: 75px;
    align-self: center;
    font-family:'Roboto';
}

/* IMAGEN DE LAS FILAS */
.imagen {
    display: flex;
    align-items: center;
    justify-content: center;
}
.imagen_escudo {
    width: 80%;
    height: auto;
    justify-content: center;
    align-items: center;
    /*box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);*/
    filter: drop-shadow(2px 3px 6px rgb(20, 0, 0))
}
/* IMAFEN DE LA TABLA FIXTURE */
.imagen_fixture {
    display: flex;
    justify-content: center;
    align-items: center;
}
.imagen_escudo_fixture {
    width: 70%;
    height: auto;
    filter: drop-shadow(2px 3px 6px rgb(12, 0, 0))
}

.vs {
    color: rgb(0, 50, 90);
    font-size: 70px;
    text-align: center;
    align-self: center;
    font-family:'Roboto';
}

/************** TABLA RESULTADOS ***************/

.tabla_resultados {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}

.titulo_tabla_resultado {
    grid-column: 2 / span 2;
    justify-self: center;
    align-self: center;
}
.partidos {
    width: 240px;
    height: 80px;
    background-color: rgb(0, 30, 70);
    justify-self: center;
    align-self: center;
    border-radius: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
}

.partidos:hover {
    width: 250px;
}


.partido1_fecha_anterior {
    grid-column: 1;
    grid-row: 2;
}
.partido2_fecha_anterior {
    grid-column: 2;
    grid-row: 2;
}
.partido3_fecha_anterior {
    grid-column: 3;
    grid-row: 2;
}
.partido4_fecha_anterior {
    grid-column: 4;
    grid-row: 2;
}
.partido5_fecha_anterior {
    grid-column: 1;
    grid-row: 3;
}
.partido6_fecha_anterior {
    grid-column: 2;
    grid-row: 3;
}
.partido7_fecha_anterior {
    grid-column: 3;
    grid-row: 3;
}
.partido8_fecha_anterior {
    grid-column: 4;
    grid-row: 3;
}
.escudo_fecha {
    width: 70%;
    height: auto;
    filter: drop-shadow(2px 3px 6px rgb(0, 12, 1));
    justify-self: center;
    align-self: center;
}
.resultado {
    font-size: 25px;
    justify-self: center;
    align-self: center;
}


/*************** TABLA FECHA ACTUAL **************/
.tabla_fecha_actual {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}
.titulo_tabla_fecha_actual {
    grid-column: 2 / span 2;
    justify-self: center;
    align-self: center;
}
.partido1_fecha_actual {
    grid-column: 1;
    grid-row: 2;
}
.partido2_fecha_actual {
    grid-column: 2;
    grid-row: 2;
}
.partido3_fecha_actual {
    grid-column: 3;
    grid-row: 2;
}
.partido4_fecha_actual {
    grid-column: 4;
    grid-row: 2;
}
.partido5_fecha_actual {
    grid-column: 1;
    grid-row: 3;
}
.partido6_fecha_actual {
    grid-column: 2;
    grid-row: 3;
}
.partido7_fecha_actual {
    grid-column: 3;
    grid-row: 3;
}
.partido8_fecha_actual {
    grid-column: 4;
    grid-row: 3;
}





/************* COMPARAR DOS EQUIPOS *************/

#uno {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, auto);
    /* gap: 20px; */
    row-gap: 20px;
    margin-top: 30px;
    margin-bottom: 70px;
}
@media (max-width: 670px) {
    #uno {
        grid-template-columns: repeat(5, 1fr);
    }
}
/*#uno {
    grid-column: 2;
    justify-self: center;
    align-self: center;
}*/
/* TÍTULO PRINCIPAL COMPARAR EQUIPOS */
#titulo-compara-equipos {
    grid-column: 2/span 2;
    grid-row: 1;
    justify-self: center;
    align-self: end;
    /*color: rgb(200, 200, 200);*/
    color: rgb(30, 125, 200);
    font-size: 20px;
    font-family: monospace;
}
@media (max-width: 670px) {
    #titulo-compara-equipos {
        grid-column: 2/span 3;
    }
}
#selecciona-equipos {
    grid-column: 1/span 5;
    grid-row: 2;
    justify-self: center;
    align-self: end;
    /*color: rgb(200, 200, 200);*/
    color: rgb(30, 125, 200);
    font-size: 20px;
    font-family: monospace;
}
/* Titulo de los menús desplegables */
#local {
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
    align-self: end;
    color: rgb(30, 125, 200);
    font-family: monospace;
    font-size: 20px;
    text-align: center;
}
#visitante {
    grid-column: 3;
    grid-row: 3;
    justify-self: center;
    align-self: end;
    color: rgb(30, 125, 200);
    font-family: monospace;
    font-size: 20px;
    text-align: center;
}
@media (max-width: 670px) {
    #local {
        font-size: 16px;
    }
    #visitante {
        font-size: 16px;
        grid-column: 4;
    }
}

/* EQUIPO LOCAL */
.custom-dropdown {
    grid-column: 2;
    grid-row: 4;
    justify-self: center;
    align-self: center;
}
  
.dropdown-button {
    padding: 5px;
    cursor: pointer;
    border: 0px;
    border-radius: 20px;
    background-color: rgb(0, 30, 70);
}
  
.dropdown-button img {
  width: 50px;
  height: 50px;
}

#img-escudo-local {
    filter: grayscale(100%);
}

.dropdown-list {
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  border-radius: 20px;
  background-color: rgb(0, 30, 70);
  z-index: 1;
  box-shadow: 10px 30px 60px rgb(0 30 30);
}
@media (max-width: 670px) {
    .dropdown-list {
        left: 0%;
    }
}
  
.dropdown-list li {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
}
.dropdown-list img {
  width: 50px;
  height: 50px;
}

/* Mostrar la lista cuando se haga clic en el botón */
.custom-dropdown.active .dropdown-list {
  /*display: block;*/
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

/* PARA EL VISITANTE */
.custom-dropdown-visitante {
  grid-column: 3;
  grid-row: 4;
  justify-self: center;
  align-self: center;
}
@media (max-width: 670px) {
    .custom-dropdown-visitante {
        grid-column: 4;
    }
}
  
.dropdown-button-visitante {
  padding: 5px;
  cursor: pointer;
  border: 0px;
  border-radius: 20px;
  background-color: rgb(0, 30, 70);
}

.dropdown-button-visitante img {
  width: 50px;
  height: 50px;
}

#img-escudo-visitante {
    filter: grayscale(100%);
}

.dropdown-list-visitante {
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  border-radius: 20px;
  background-color: rgb(0, 30, 70);
  z-index: 1;
  box-shadow: 10px 30px 60px rgb(0 30 30);
}
@media (max-width: 670px) {
    .dropdown-list-visitante {
        right: 0%;
    }
}
  
.dropdown-list-visitante li {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
}
.dropdown-list-visitante img {
  width: 50px;
  height: 50px;
}

/* Mostrar la lista cuando se haga clic en el botón */
.custom-dropdown-visitante.active .dropdown-list-visitante {
  /*display: block;*/
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

/* BOTÓN COMPARAR */
#comparar-button {
    grid-column: 2 / span 2;
    grid-row: 5;
    justify-self: center;
    align-self: center;
    width: 100px;
    height: 40px;
    border-radius: 20px;
    /* border: none; */
    border: 1px solid rgba(30, 125, 200, 1);
    /* background-color: rgb(200, 200, 200); */
    background-color: rgba(30, 125, 200, 0.7);
    cursor: pointer;
}
@media (max-width: 670px) {
    #comparar-button {
        grid-column: 2 / span 3;
    }
}
#comparar-button:hover {
    background-color: rgb(150, 150, 150);
}




/* PRÓXIMA FECHA */
#cont-proxima-fecha {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}
#fecha-prox {
    width: 90%;
    max-width: 1200px;
    background: none;
    box-shadow: none;
}
#tit-prox-fecha {
    font-family: monospace;
    color: rgb(30, 125, 200);
    font-size: 18px;
    background: rgb(0, 30, 70);
    width: 100%;
    border-radius: 10px;
    text-align: center;
}
.prox-partidos-individuales {
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 20px;
    padding: 10px;
    margin: 5px 10px;
    cursor: pointer;
}
.mas {
    color: rgba(250, 250, 250, .2);
    font-size: xx-small;
    width: 100%;
    text-align: end;
    padding-right: 5px;
}
@media (max-width: 670px) {
    .prox-partidos-individuales {
        padding: 5px 5px;
        margin: 5px 2px;
    }
}
.cont-datos-partidos {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.datos-partidos {
    font-family: monospace;
    color: rgb(30, 125, 200);
    font-size: xx-small;
    /* margin: 10px 0; */
}




/* GRILLA */

#grilla {
  display: grid;
  /*grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));*/
  /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 45px 137px 450px 450px 390px 420px;
  gap: 16px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #grilla {
    grid-template-rows: 45px 142px 450px 450px 450px 300px 240px 405px 405px;
    gap: 7px;
    width: 98%;
  }
}

/* TITULO */
#titulo-torneo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    /* font-size: x-large; */
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 1/6;
    grid-row: 1;
}

@media (max-width: 768px) {
  #titulo-torneo {
    font-size: clamp(1.3rem, 3vw, 1.5rem);  
  }
}


/* TARJETAS */

#cantidad-equipos {
    grid-column: 1/3;
    grid-row: 2;
}

#valor-total {
    grid-column: 3/6;
    grid-row: 2;
}





.tarjetas {
    width: 100%;
    height: 140px;
    /*background-color: rgb(0, 30, 70);*/
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
}

h3 {
    margin: 10px 0px 0px 0px;
    /* font-size: x-large; */
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 100;
}
h2 {
    margin: 10px 0px 0px 0px;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 100;
}

.numeros {
    /*text-align: center;*/
    margin: 5px 0px 5px 0px;
    /* font-size: 80px; */
    font-size: clamp(3.125rem, 5vw + 2rem, 5rem);
    font-weight: 100;
}

/* ORDEN DE LAS TARJETAS EN LA GRILLA */
.cont-tarjetas {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#primeras-2-tarjetas {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-column: 4/6;
    grid-row: 4;
}
@media (max-width: 768px) {
  #titulo-valor-mercado {
    /* margin-top: 10px;
    margin-bottom: 13px; */
    margin: 10px;
  }
  #primeras-2-tarjetas {
    grid-column: 4/6;
    grid-row: 5;
  }
}
#numeros-tarjeta2 {
    /* font-size: xxx-large; */
    font-size: clamp(1rem, 8vw, 2.5rem);
    margin: 10px;
}
/* @media (max-width: 768px) {
  #numeros-tarjeta2 {
    margin-bottom: 10px;
  }
} */
#unidad-euro {
    font-size: clamp(0.9rem, 3vw, 1.5rem);
}
a {
  color: rgb(150, 150, 150);
  /* text-decoration: none; */
  /* font-size: 16px; */
  font-size: clamp(0.7rem, 1.5vw, 1rem);
}

#segundas-2-tarjetas {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-column: 1/3;
    grid-row: 3;
}
#promedio-goles-total {
    grid-column: 1/3;
    grid-row: 2;
}


#grafica-apertura {
    width: 100%;
    height: 450px;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 3/6;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#grafica-valor-equipos {
    width: 100%;
    height: 450px;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 1/3;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
@media (max-width: 670px) {
    #grafica-valor-equipos {
        grid-column: 1/6;
        grid-row: 3;
    }
    #grafica-apertura {
        grid-column: 1/6;
        grid-row: 4;
    }
}
#grafica-frecuencia-resultados {
    width: 100%;
    height: 450px;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 1/4;
    grid-row: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}




#grafica-dona {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 1/3;
    grid-row: 5;
}
#cont-grafica-dona {
    /* margin-top: 20px; */
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}


#grafica-gep-fecha {
    width: 100%;
    height: auto;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 3/6;
    grid-row: 5;
    display: flex;
    flex-direction: column;
    /* justify-content: space-evenly; */
    align-items: center;
}
#cont-grafica-fechas {
    display: flex;
    justify-content: center;
    align-items: center;
}

#grafica-gf {
    width: 100%;
    height: auto;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 1/4;
    grid-row: 6;
    display: flex;
    flex-direction: column;
    /* justify-content: space-evenly; */
    align-items: center;
}

#grafica-gc {
    width: 100%;
    height: auto;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
  );
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 4/6;
    grid-row: 6;
    display: flex;
    flex-direction: column;
    /* justify-content: space-evenly; */
    align-items: center;
}
.h2-tabla-gfgc {
    padding-bottom: 15px;
}
.h3-tabla-gfgc {
    padding-bottom: 15px;
}




@media (max-width: 768px) {
    #grafica-frecuencia-resultados {
    grid-column: 1/4;
    grid-row: 5;
    }
    #grafica-dona {
      grid-column: 1/6;
      grid-row: 6;
    }
    #primeras-2-tarjetas {
      grid-column: 4/6;
      grid-row: 5;
    }
    #grafica-gep-fecha {
        grid-column: 1/6;
        grid-row: 7;
    }
    #cont-grafica-dona {
        margin-top: 0px;
        height: 250px;
    }
    #grafica-gf {
        grid-column: 1/6;
        grid-row: 8;
    }
    #grafica-gc {
        grid-column: 1/6;
        grid-row: 9;
    }
}




/* Para pantallas de celular */
@media (max-width: 670px) {
    #barra_escudos {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    canvas {
        width: 100px;   /* ocupa todo el ancho del contenedor */
        height: auto;  /* mantiene la proporción */
    }
}





/* GRÁFICAS */

.grafica {
    border-radius: 20px;
    box-shadow:5px 5px 5px rgb(0, 10, 40),
    -5px -5px 5px rgb(0, 40, 70);
}


/* TABLA GOLES A FAVOR */
.gol_fav {
    margin: 100px;
    width: 250px;
    background-color: rgb(0, 30, 70);
    border-radius: 20px;
    grid-template-rows: 50px 100px 100px 100px;
    box-shadow:5px 5px 5px rgb(0, 10, 40),
    -5px -3px 5px rgb(0, 20, 50);
}
.titulo_tabla_secundaria {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(200, 200, 200);
    border-bottom: 1px solid rgb(0, 50, 90);
}
.columnas {
    height: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
    color: rgb(200, 200, 200);
    border-bottom: 1px solid rgb(0, 50, 90);
}
.fila_goles_favor {
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    border-bottom: 1px solid rgb(0, 50, 90);
}
.imagen_escudo_gol_fav img {
    width: 40px;
    height: auto;
}
.num_goles {
    font-size: xx-large;
    color: rgb(200, 200, 200);
}
.num_pos {
    font-size: x-large;
    font-style: italic;
    color: rgb(0, 50, 90);
}
.final_tabla { /* para que no se vea el borde del ultimo elemento de la lista */
    height: 1px;
    /*border-bottom: 1px solid rgb(0, 50, 90);*/
}






/* FECHAS */
.fechas {
    border-radius: 5px;
    background: linear-gradient(
    140deg,
    rgb(0, 30, 70) 30%,
    rgb(30, 60, 100)
    );
    box-shadow: 0px 16px 20px rgb(0, 10, 40);
    grid-column: 1/6;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.titulo-fecha {
    font-family: monospace;
    color: rgb(30, 125, 200);
    font-size: 18px;
}

.cont-partidos-individuales {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 1000px;
}

.series {
    width: 100%;
    display: flex;
    justify-content: space-around;
}
/* @media (max-width: 670px) {
    .cont-partidos-individuales {
        width: 105%;
}
} */
/* .partidos-prox-fecha {
    text-decoration: none;
} */
.partidos-prox-fecha,
.partidos-prox-fecha:visited,
.partidos-prox-fecha:hover,
.partidos-prox-fecha:active,
.partidos-prox-fecha:focus {
    text-decoration: none;
    -webkit-text-decoration: none;
}
.partidos-individuales {
    background-color: rgb(15, 50, 97);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 20px;
    padding: 10px;
    margin: 5px 10px;
}
.escudos-fechas {
    width: 35px;
    height: 35px;
}
.vs {
    font-family: monospace;
    font-size: 16px;
    color: rgb(30, 125, 200);
    user-select: none;
}
.numero-vs {
    font-family: monospace;
    font-size: 18px;
    color: rgb(30, 125, 200);
    margin: 5px;
}


/* @media (max-width: 670px) {
    .fechas {
        grid-column: 1/3;
}
} */





/* Clase para mejorar SEO y accesibilidad - oculta visualmente pero accesible para lectores de pantalla */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}



footer {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
}
#tit-pie {
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: large;
    font-weight: 100;
    text-align: center;
    margin: 10px 0;
}
#pie {
    color: rgb(30, 125, 200);
    border-radius: 5px;
    font-family: monospace;
    font-size: x-large;
    font-weight: 100;
    text-align: center;
    margin: 0;
    font-size: small;
    list-style: none;
    padding-inline-start: 0px;
}





