/* ---------- ---------- GENERALES ---------- ---------- */
section {
    width: 100%;
    height: auto;
    background-color: #f0f0f0;
    padding: 1rem 5% 1rem 5%;

    border-bottom: .5px #131313 solid;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

body {
    overscroll-behavior: none;
    touch-action: manipulation;
}

/* ---------- ---------- CONTENDOR TITULO BOTONES ---------- ---------- */

.contenedor-titulo-botones {
    width: 100%;
    padding: 0 1rem;
    background-color: rgb(201, 51, 51);
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-titulo-botones h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #F8F9FA;
}

/* ---------- CONTENDOR BOTONES LINKS ---------- */
.contenedor-categorias-links {
    width: 95%;
    height: auto;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
}

.contenedor-boton {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-boton a {
    width: 100%;
    text-align: center;
    border: 0;
    padding: .2rem 1rem;
    border-radius: 1rem;
    color: #f2f1f4;
    background-color: #b40000;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    cursor: pointer;
    font-size: medium;
    text-decoration: none;
    display: inline-block;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.contenedor-boton a:hover {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, .7);
    transform: scale(1.10);
}

.l-volver a{
    background-color: rgb(255, 155, 73);
}

/* ---------- ---------- SECCION DATOS JUNIORS ---------- ---------- */

.seccion-informacion-categoria {
    border: 0;
}


.contenedor-titulo-datos-junior {
    width: 100%;
    padding: 0 1rem;
    background-color: rgb(201, 51, 51);
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-titulo-datos-junior h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #F8F9FA;
}

/* ---------- CONTENEDOR OPCIONES ---------- */

.contenedor-opciones {
    width: 100%;

    /* max-height: 90dvh; */

    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr;
    gap: 1rem;
    /* overflow: scroll; */
}

.contenedor-buena-fe-forma-disputa,
.contenedor-resultado-fechas-tabla-goleadores,
.contenedor-lista-buena-fe,
.contenedor-forma-disputa,
.contenedor-resultado-fechas,
.contenedor-grilla-campeones {
    width: 100%;
    height: 100%;
    /* height: fit-content; */
    border: 1px solid #131313;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;

    gap: 1rem;
}

.contenedor-buena-fe-forma-disputa {
    border: 0;
    justify-content: baseline;
    padding: 0;
    gap: .5rem;
}

.contenedor-resultado-fechas-tabla-goleadores {
    height: 100%;
    max-height: 85dvh;
    border: 0;
    justify-content: baseline;
    padding: 0;
    gap: .5rem;
}

.contenedor-resultado-fechas {
    height: auto;
}

.contenedor-tabla-goleadores {
    width: 100%;
    height: 100%;
    border: 1px solid #131313;
    border-radius: 1rem;
    padding: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
    overflow: scroll;
    gap: 1rem;
}

.contenedor-opciones img {
    width: 100%;
    /* max-height: 50%; */
    border-radius: 1rem;
}

.contenedor-lista-buena-fe {
    justify-content: space-between;
}

/* ---------- CONTENEDOR TITULOS ---------- */

.contenedor-titulo {
    width: 100%;
    padding: 0 1rem;
    background-color: rgb(201, 51, 51);
    background-color: #135fab;
    border-radius: 20px;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.contenedor-titulo h2 {
    font-family: 'Poppins', sans-serif;
    font-size: large;
    text-align: center;
    font-weight: 600;
    color: #F8F9FA;
}

/* .contenedor-titulo i {
    font-size: large;
    font-weight: 600;
    text-align: center;
    color: #F8F9FA;
} */

.contenedor-item {
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    /* overflow: scroll; */
    gap: .3rem;
}

/* ---------- ---------- ---------- ---------- */
/* ---------- LISTAS BUENA FÉ ITEM ---------- */
/* ---------- ---------- ---------- ---------- */

.contenedor-lista-buena-fe .listas-buena-fe-item {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: .5rem;
}

.contenedor-lista-buena-fe .link-lista-buena-fe {
    width: 100%;
    /* height: 90%; */
    border-left: #131313 solid;
    border: 1px #131313 solid;
    padding: .5rem;
    border-radius: .5rem;

    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-block;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.contenedor-lista-buena-fe .link-lista-buena-fe {
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    /* font-size: large; */
    text-decoration: none;
    text-align: center;
    color: #131313;
    background-color: #69a87e;
    color: #F8F9FA;
    background-color: #F8F9FA;
    color: #69a87e;
    transition: all .2s ease-in-out;
}

.link-lista-buena-fe:hover {
    background-color: #F8F9FA;
    color: #69a87e;
    background-color: #69a87e;
    color: #F8F9FA;
    transform: scale(1.02);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, .5);
}

.contenedor-lista-buena-fe .parrafo-lista-buena-fe {
    font-family: 'Poppins', sans-serif;
    font-size: medium;
    /* Tamaño equilibrado */
    font-weight: 400;
    /* Peso regular para lectura fluida */
    color: #444;
    /* Un gris oscuro, más suave que el negro puro */
    text-align: balance;
    /* Distribuye las palabras de forma armónica (en navegadores modernos) */
    /* line-height: 1.5;      Espaciado entre líneas para que no se vea amontonado */
}

/* ---------- ---------- ---------- ---------- */
/* ---------- FORMA DISPUTA ITEM ---------- */
/* ---------- ---------- ---------- ---------- */

.contenedor-forma-disputa .forma-disputa-item {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: .5rem;
}

.contenedor-forma-disputa .link-forma-disputa {
    width: 100%;
    /* height: 90%; */
    border-left: #131313 solid;
    border: 1px #131313 solid;
    padding: .5rem;
    border-radius: .5rem;

    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-block;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.contenedor-forma-disputa .link-forma-disputa {
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    /* font-size: large; */
    text-decoration: none;
    text-align: center;
    color: #131313;
    background-color: #69a87e;
    color: #F8F9FA;
    background-color: #F8F9FA;
    color: #69a87e;
    transition: all .2s ease-in-out;
}

.link-forma-disputa:hover {
    background-color: #F8F9FA;
    color: #69a87e;
    background-color: #69a87e;
    color: #F8F9FA;
    transform: scale(1.02);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, .5);
}

.contenedor-forma-disputa .parrafo-forma-disputa {
    font-family: 'Poppins', sans-serif;
    font-size: medium;
    /* Tamaño equilibrado */
    font-weight: 400;
    /* Peso regular para lectura fluida */
    color: #444;
    /* Un gris oscuro, más suave que el negro puro */
    text-align: balance;
    /* Distribuye las palabras de forma armónica (en navegadores modernos) */
    /* line-height: 1.5;      Espaciado entre líneas para que no se vea amontonado */
}

/* ---------- ---------- ---------- ---------- */
/* ---------- RESULTADO FECHAS ITEM ---------- */
/* ---------- ---------- ---------- ---------- */

.contenedor-resultado-fechas .resultado-fechas-item {
    width: 100%;
    height: 100%;
    height: auto;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.boton-fixture-fecha {
    padding: .3rem;
    border: 1px solid #131313;
    border-radius: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all .2s ease-in-out;
}

.boton-fixture-fecha:hover {
    background-color: #cc2a2a;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, .7);
    transform: scale(1.04);
}

.boton-fixture-fecha a {
    border: 0;
    /* padding: .1rem; */
    color: #0054d1;
    /* color: #487cca; */
    /* background-color: #b40000; */
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    font-size: .9rem;
    text-decoration: none;
    display: inline-block;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.boton-fixture-fecha a p {
    font-weight: 500;
    color: #131313;
}

/* ---------- ---------- ---------- ---------- */
/* ---------- TABLA GOLEADORES ITEM ---------- */
/* ---------- ---------- ---------- ---------- */

.tabla-goleadores-item {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: baseline;
    overflow: scroll;
    /* scrollbar-width: 1rem; */
}

.encabezado-datos-tabla-goleadores {
    width: 100%;
    border-radius: none;
    border-top: #333 1px solid;
    border-bottom: #333 1px solid;
    border-left: #333 1px solid;
    /* border-right: #333 1px solid; */
    display: grid;
    grid-template-columns: 1fr 1fr 4fr 3fr;
}

.datos-tabla-encabezado {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    padding: .2rem;
    text-align: center;
    border-right: 1.5px#333 solid;
    background-color: #8aa587;

    display: flex;
    justify-content: center;
    align-items: center;
}

.datos-tabla-goleadores {
    width: 100%;
    border-radius: 15px;
    background-color: #e1e1e1;
    border-left: 1px transparent solid;
    /* overflow: scroll; */

    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 1fr 4fr 3fr;
}

.datos-goleadores {
    height: 90%;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    padding: .2rem;
    text-align: center;
    border-right: 1.5px #333 solid;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* ---------- ---------- ---------- ---------- */
/* ---------- GRILLA CAMPEONES ITEM ---------- */
/* ---------- ---------- ---------- ---------- */

.grilla-campeones-item {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.grilla-campeones-item img {
    height: 30%;
}

.contenedor-posiciones {
    width: 100%;
}

.posiciones {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-align: center;
    font-weight: 600;
    color: #5e2b3b;
}

.primer-puesto,
.segundo-puesto,
.tercer-puesto {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 900;
    color: #F8F9FA;
    /* border-top-left-radius: 1rem;
    border-top-right-radius: 1rem; */
}

.primer-puesto {
    background-color: #FFD700;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.segundo-puesto {
    background-color: #C0C0C0;
}

.tercer-puesto {
    background-color: #CD7F32;
}

.primero,
.segundo,
.tercero {
    width: 100%;
}

.primero {
    background-color: #ffee8a;
}

.segundo {
    background-color: #d3d3d3;
}

.tercero {
    background-color: #cf9962;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* ---------- ---------- SECCION EQUIPOS ZONAS ---------- ---------- */

/* ---------- CONTENEDOR EQUIPOS PARTICIPANTES ---------- */

.contenedor-equipos-participantes {
    width: 100%;
    height: auto;
    /* padding: 1rem; */

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}

.primer-zona,
.segunda-zona {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: baseline;
    gap: .5rem;
}

.tabla-equipos {
    width: 45%;
    padding: 1rem;
    border: 1px solid #131313;
    border-radius: 1rem;
    background-color: #dfbdbd;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.tabla-posiciones {
    width: 55%;
    padding: 1rem;
    border: 1px solid #131313;
    border-radius: 1rem;
    background-color: #dfbdbd;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

/* ---------- CONTENEDOR DATOS EQUIPOS PARTICIPANTES ---------- */

.contenedor-datos-equipos-participantes {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.encabezado-datos-equipos-participantes {
    width: 95%;
    border-radius: none;
    border-top: #333 1px solid;
    border-bottom: #333 1px solid;
    border-left: #333 1px solid;
    /* border-right: #333 1px solid; */
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;

}

.datos-equipos-encabezado {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    padding: .2rem;
    text-align: center;
    border-right: 1.5px#333 solid;
    background-color: #8aa587;

    display: flex;
    justify-content: center;
    align-items: center;
}

.datos-equipos-participantes {
    width: 95%;
    border-radius: 15px;
    background-color: #e1e1e1;
    border-left: 1px transparent solid;
    overflow: hidden;

    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.datos-equipos {
    height: 90%;
    width: auto;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    padding: .2rem;
    text-align: center;
    border-right: 1.5px #333 solid;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.ult {
    border: none;
}

/* ---------- CONTENEDOR TABLA POSICIONES ---------- */

.contenedor-tabla-posiciones {
    width: 100%;
    height: auto;
    /* padding: 1rem; */

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: .5rem;
}

.encabezado-datos-tabla-posiciones {
    width: 95%;
    border-radius: none;
    border-top: #333 1px solid;
    border-bottom: #333 1px solid;
    border-left: #333 1px solid;
    /* border-right: #333 1px solid; */
    display: grid;
    grid-template-columns: 1fr 5fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.datos-tabla-posiciones-encabezado {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    padding: .2rem;
    text-align: center;
    border-right: 1.5px#333 solid;
    background-color: #8aa587;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-datos-tabla-posiciones {
    width: 95%;
    border-radius: 15px;
    background-color: #e1e1e1;
    border-left: 1px transparent solid;
    overflow: hidden;

    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 5fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.datos-tabla-posiciones {
    height: 90%;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    padding: .2rem;
    text-align: center;
    border-right: 1.5px #333 solid;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.ult {
    border: none;
}

@media screen and (max-width:1050px) {
    .contenedor-categorias-links {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .contenedor-opciones {
        grid-template-columns: 1fr;
        grid-template-rows: .5fr 1.5fr 1fr;
    }

    .contenedor-buena-fe-forma-disputa {
        flex-direction: row;
    }

    .contenedor-resultado-fechas-tabla-goleadores {
        max-height: 125dvh;
    }

    .contenedor-grilla-campeones {
        height: fit-content;
    }

    .grilla-campeones-item img {
        width: 90%;
        height: auto;
    }


    .primer-zona,
    .segunda-zona {
        width: 100%;
        flex-direction: column;
    }

    .contenedor-resultado-fechas-tabla-goleadores {
        max-height: 105dvh;
    }

    .tabla-equipos,
    .tabla-posiciones {
        width: 100%;
    }
}


@media screen and (max-width:650px) {
    .contenedor-categorias-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .contenedor-buena-fe-forma-disputa {
        flex-direction: column;
    }

    .contenedor-resultado-fechas .resultado-fechas-item {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }

    .contenedor-grilla-campeones {
        height: 100%;
    }

}

@media screen and (max-width:550px) {

    .contenedor-titulo-botones h2 {
        font-size: large;
    }

    .contenedor-titulo-datos-junior h2 {
        font-size: large;
    }

    .contenedor-resultado-fechas .resultado-fechas-item {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    }

}

@media screen and (max-width:550px) {
    .contenedor-resultado-fechas .resultado-fechas-item {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .contenedor-datos-tabla-posiciones,
    .encabezado-datos-tabla-posiciones{
        width: 100%;
    }

    .datos-goleadores {
        font-size: small;
    }
}