/* --------------- SECCION --------------- */
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;
    transition: all .3s ease-in-out;
}

body {
    overscroll-behavior: none;
    touch-action: manipulation;
}

/* --------------- CONTENDOR TODO --------------- */

.contenedor-equipos-AFC {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* ---------- ----------  CONTENDOR BOTONES ---------- ---------- */

/* ---------- 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: 1rem;
    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);
}

/* ---------- ----------  CONTENDOR FIXTURE CATEGORIAS ---------- ---------- */

/*  ---------- SECCION FIXTURE ---------- */

.seccion-fixture-AFC {
    /* display: flex; */
    flex-direction: row;
    align-items: baseline;
    gap: 0rem;
    padding-bottom: 5.6rem;
}

/* ---------- CONTENDOR TITULO FIXTURE CATEGORIAS ---------- */

.contenedor-titulo-fixture-categorias {
    width: 100%;
    padding: 0 1rem;
    background-color: rgb(201, 51, 51);
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-titulo-fixture-categorias h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #F8F9FA;
}

/* ---------- CONTENDOR FIXTURE ---------- */

.primer-contenedor-fixture,
.segundo-contenedor-fixture {
    width: 100%;
    height: 100%;
    padding: 0 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.segundo-contenedor-fixture {
    border-left: 1px #131313 solid;
}

.contenedor-fixture-categorias {
    width: 100%;
    height: auto;
    /* padding: 1rem 0; */

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    /* display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center; */
}

.boton-fixture-categorias {
    border: .5px solid #131313;
    border-radius: 1rem;
    padding: .5rem 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    transition: all .2s ease-in-out;
}

/* .boton-fixture-categorias:hover {
    background-color: #b40000;
    color: #F8F9FA;
} */

.boton-fixture-categorias a {
    width: 90%;
    text-align: center;
    border: 0;
    padding: 0 1rem;
    border-radius: 1rem;
    color: #f2f1f4;
    background-color: #b40000;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.boton-fixture-categorias a:hover {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, .7);
    transform: scale(1.10);
    /* background-color: #b40000;
    color: #131313; */
}

.fecha-fixture {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

/* ---------- ---------- CONTENDOR FIXTURE FECHAS ---------- ---------- */

/* ---------- CONTENDOR TITULO FIXTURE CATEGORIAS ---------- */

.contenedor-titulo-fixture-general {
    width: 100%;
    padding: 0 1rem;
    background-color: rgb(201, 51, 51);
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-titulo-fixture-general h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #F8F9FA;
}


.contenedor-fixture-general-categorias {
    width: 100%;
    height: auto;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: .5rem;
}

.boton-fixture-general {
    border: .5px solid #131313;
    border-radius: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all .2s ease-in-out;
}

.boton-fixture-general:hover {
    background-color: #cc2a2a;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, .7);
    transform: scale(1.06);
}

.boton-fixture-general a {
    border: 0;
    padding: .5rem;
    border-radius: 1rem;
    color: #f2f1f4;
    color: #0048b4;
    color: #0054d1;
    /* color: #487cca; */
    /* background-color: #b40000; */
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.boton-fixture-general a p {
    font-weight: 500;
    color: #131313;
}

.fecha-2 {
    background-color: #fce28d;
}


@media screen and (max-width:1050px) {
    .contenedor-categorias-links {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .seccion-fixture-AFC {
        flex-direction: column;
        gap: 1rem;
    }

    .segundo-contenedor-fixture {
        border-left: 0px;
    }

    .seccion-fixture-AFC {
        padding-bottom: 1rem;
    }
}

@media screen and (max-width:650px) {
    .contenedor-categorias-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .contenedor-fixture-categorias {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .contenedor-fixture-general-categorias {
        /* padding: 0 1rem; */
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    }

    .contenedor-fixture-categorias {
        padding: 0 0.5rem;
    }

    .contenedor-titulo-fixture-categorias h2 {
        font-size: 1.3rem;
    }

    .contenedor-titulo-fixture-general h2 {
        font-size: 1.3rem;
    }

}

@media screen and (max-width:550px) {

    .contenedor-titulo-botones h2 {
        font-size: large;
    }

    .contenedor-fixture-general-categorias {
        padding: 0 0.5rem;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .contenedor-titulo-fixture-categorias {
        padding: 0 .5rem;
    }
    .contenedor-titulo-fixture-categorias h2 {
        font-size: large;
    }

    .contenedor-titulo-fixture-general h2 {
        font-size: large;
    }

    .primer-contenedor-fixture,
    .segundo-contenedor-fixture {
        padding: 0;
    }

    .boton-fixture-categorias a {
        font-size: 1rem;
    }
    .boton-fixture-categorias a p {
        font-size: .9rem;
    }

    .boton-fixture-general a {
        font-size: 1rem;
    }
    .boton-fixture-general a p {
        font-size: .9rem;
    }

}