:root{
    --fuente-h1-cel: 1.4rem;
    --fuente-h1-web: 2rem;
    --fuente-h2-cel: 2.3rem;
    --fuente-h2-web: 4.5rem;
    --fuente-h3-cel: 2rem;
    --fuente-h3-web: 3.5rem;
    --fuente-h4-cel: 1.2rem;
    --fuente-h4-web: 2.5rem;
    --fuente-h5-cel: 1.4rem;
    --fuente-h5-web: 2.5rem;
    --fuente-parrafo-cel: 1.4rem;
    --fuente-parrafo-web: 1.6rem;
    --fuente-parrafo-encabezado-tabla: 1.4rem;
    --fuente-derechos: .6rem;
    --blanco:#fff;
    --negro: #000;
}

html{
	font-size: 62.5%;
	scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after{
    box-sizing: inherit;
} 

body{
    background: radial-gradient(ellipse at center, #535355 0%, #050505 100%);
	min-height: 100vh;
	width: 100%;
	font-size: 16px; /* 1 rem = 10px */
}

h1, h2, h3, h4, h5, h6, p, a, label, legend{
    color: var(--blanco);

}

p {
    font-size: var(--fuente-parrafo-cel);
    font-family: AvenirNext, Arial, Helvetica, sans-serif;
}

a {
    cursor: pointer;
    text-decoration: none;
    font-size: var(--fuente-parrafo-cel)
}

h4{
    font-size: var(--fuente-h4-cel);
}

img{
    max-width: 100%;
}

@media screen and (min-width: 360px){


    /*------ BUSCADOR ESTADISTICAS -------*/

    article{
        width: 95%;
        margin: 0 auto;
    }

    aside{
        padding-bottom: 1rem;
        max-width: 100rem;
    }


    h2 {
        margin: 4rem 0 3rem;
        text-transform: uppercase;
        font-family: 'Teko', sans-serif;
        font-size: 3rem;
        letter-spacing: .1rem;
        text-align: center;
    }

    h3 {
        text-transform: capitalize;
        margin: 2rem 0 1rem;
        font-family: 'Teko', sans-serif;
        line-height: 3rem;
        font-size: 2.6rem;
        letter-spacing: .1rem;
    }


    h4{
        font-size: 1.8rem;
        font-family: 'Roboto', sans-serif;
        text-transform: capitalize;
        margin: 2rem 0 1rem;
    }

    h5{
        font-size: var(--fuente-h5-cel);
        font-family: 'Baumans', cursive;
        margin-bottom: 1rem;
    }

    .buscador-individual{
        margin-top: 4rem;
    }
    

    .buscador-individual__info{
        position: relative;
    }

    .imagen-buscador_individual{
        background-image: url(../../clasificaciones/Imagenes/fondos/runner-PTDB7VM.jpg);
        width: 100%;
        height: 26rem;
        background-size: cover;
        background-position: right top;
    }


    .inputs-individual{
        display: flex;
        margin-top: 3rem;
    }

    .input-dorsal{
        width: 100%;
        height: 4rem;
        max-width: 20rem;
        position: relative;
        overflow: hidden;
    }
    

    .input-dorsal input{
        font-family: 'Megrim', cursive;
        font-size: 1.2rem;
        padding: .5rem 1.5rem;
        margin-bottom: 1rem;
        margin-right: 1rem;
        background: none;
        border: none;
        color: #fff;
        padding-top: 2rem;
        outline: 0rem;
        width: 100%;
        height: 100%;
    }

    .lbl-dorsal{
        position: absolute;
        bottom: 0;
        left: 0;
        pointer-events: none;
        border-bottom: 1px solid #c7c7c7;
        width: 100%;
        height: 100%;
    }

    .lbl-dorsal:after{
        content: '';
        position: absolute;
        left: 0;
        bottom: -.1rem;
        width: 100%;
        height: 100%;
        border-bottom: .3rem solid #2ecece;
        transform: translateX(-100%);
        transition: all .3s ease;
    }

    .text-dorsal{
        position: absolute;
        bottom: .5rem;
        left: 0;
        transition: all .3s ease;
        color: #fff;
    }

    .input-dorsal input:focus + .lbl-dorsal .text-dorsal,
    .input-dorsal input:valid + .lbl-dorsal .text-dorsal{
        transform: translateY(-200%);
        font-size: 1rem;
        color: #2ecece;
    }

    .input-dorsal input:focus + .lbl-dorsal:after,
    .input-dorsal input:valid + .lbl-dorsal:after{
        transform: translateX(0%);
    }


    .boton-consulta{
        font-family: 'Roboto', sans-serif; 
        font-size: var(--fuente-parrafo-cel);
        background-color: #18d658;
        color: var(--blanco);       
        border: none;
        padding: .7rem 1rem;
        border-radius: .4rem;
        margin-bottom: 2rem;
        margin: 1rem .5rem 3rem;
        height: 3rem;
    }


    #btn-comparador{
        opacity: 50%;
        display: none;
    }

    .dorsal-no-encontrada{
        background-color: #f72f2f;
        width: 80%;
        text-align: center;
        display: none;
        margin-top: 1rem;
    }

    .dorsal-no-encontrada h5{
        margin: 0 auto;
        text-transform: uppercase;
        padding: .3rem 0;
    }

    .contenedor__tabla-estadisticas{
        display: flex;
        justify-content: center;
        position: relative;
    }


    .tabla-estadisticas{
        background-color: #282828;
        margin: 2rem 0;
        min-width: 32rem ;
        border-radius: 2rem;
        box-shadow: 8px 16px 22px -1px rgba(0,0,0,0.75);
        display: none;
        z-index: 1000;
    }

    /* .tabla-estadistirecuadrocas span{
        position: relative;
        top: -.6rem;
    } */

    .tabla-estadisticas_porcentaje-posicion span{
        position: relative;
        top: 0;
    }

    .tabla-estadisticas_porcentaje-posicion{
        height: 8rem;
    }
    
    .recuadro{
        background: linear-gradient(to bottom, #585e53 0%, #292525 10%, #363236 90%, #050505 100%);
        gap: 1rem;
        margin: .6rem 0.2rem;
        min-height: 5rem;
        max-height: 13rem;
        text-align: center;
        border-radius: 1rem;
        box-shadow: .8rem .6rem 1.2rem -0.1rem rgba(0,0,0,0.75);
    }

    .tabla-estadisticas h4{
        font-size: 1.6rem;
    }

    

    .primer-recuadro .recuadro:nth-child(5){
        height: 10rem;
    }

    

    .recuadro p{
        font-size: 1rem;
        margin: 1rem .2rem ;
        text-transform: capitalize;
        font-weight: bold;
        line-height: 1.2rem;
        font-family: 'Merriweather Sans', sans-serif;
    }

    .recuadro span{
        font-style: italic;
        font-family: 'Montserrat', sans-serif;
        font-size: 1.4rem;
    }

    .tabla-estadisticas h4{
        font-family: 'Mukta', sans-serif;
    }

    .primer-recuadro{
        display: grid;
        grid-template-columns: repeat(1fr, 4);
        grid-template-rows:  repeat(20rem, 3 );
        margin: 0 .8rem;
    }

    .segundo-recuadro{
        display: grid;
        grid-template-columns: repeat(1fr, 3);
        grid-template-rows:  repeat(20rem, 2);
        padding-bottom: 2rem ;
        margin: 0 .8rem;
    }

    .ultima-fila{
        grid-row: 2/3;
        grid-column: 1/4;
        display: grid;
        grid-template-columns: repeat(1fr, 2);
    }

    .tabla-estadisticas_ritmo{
        grid-column: 1/2;
    }

    .tabla-estadisticas_velocidad{
        grid-column: 2/3;
    }



    .tabla-estadisticas_header{
        grid-row: 1/2;
        grid-column: 1/5;
        gap: 2rem;
        display: block;
    }

    .tabla-estadisticas_header h4{
        padding: 2rem 2rem 1rem;
        text-align: center;
        margin-top: 0;
    }

    .trofeos{
        display: flex;
        justify-content: center;
        
    }

    .trofeos-fondo{
        background-image: url(../../clasificaciones/Imagenes/trofeos/fondo-ganador-pedestal-redondo_png.png);
        background-size: cover;
        height: 9.5rem;
        position: relative;
        top: -.8rem;
    }

    .trofeo-posicion-general,
    .trofeo-posicion-sexo,
    .trofeo-posicion-edad{
        position: relative;
        top: .4rem;
    }

    .tabla-estadisticas_header img{
        box-shadow: none !important;
        height: 5rem;
        position: relative;
        top: .2rem;
    }

    .tabla-estadisticas_nombre{
        position: relative;
    }

    .tabla-estadisticas_nombre img{
        position: absolute;
        height: 3rem;
        margin: 1rem .3rem;
    }

    .rotary{
        height: 2.5rem !important;
    }

    .logo-derecha{
        position: absolute;
        top: 0;
        right: 0;
    }

    .tabla-estadisticas_competencia{
        grid-column: 1/2;
        grid-row: 2/3;
        
    }

    .tabla-estadisticas_dorsal{
        grid-row: 2/3;
        grid-column: 2/3;
    }

    .tabla-estadisticas_genero{
        grid-row: 2/3;
        grid-column: 3/4;
    }

    .tabla-estadisticas_edad{
        grid-row: 2/3;
        grid-column: 4/5;
    }

    .tabla-estadisticas_porcentaje-posicion{
        grid-row: 4/5;
        grid-column: 1/5;
    }

    .tabla-estadisticas_porcentaje-posicion span{
        color: #ffae00;
    }

    .primer-recuadro_segunda-fila{
        grid-column: 1/5;
        grid-row: 3/4;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .tabla-estadisticas_tiempo-oficial{
        grid-column: 1/2;
    }

    .tabla-estadisticas_running-team{
        grid-column: 1/3;
    }

    .tabla-estadisticas_posicion-general{
        grid-column: 2/3;
        grid-row: 1/2;
    }

    .tabla-estadisticas_posicion-edad{
        grid-column: 3/4;
        grid-row: 1/2;
    }

    

    .barra-fondo{
        width: 90%;
        height: 3rem;
        background-color: #464540 ;
        margin: auto;
        border-radius: 1.5rem;
        position: relative;
        overflow: hidden;
        box-shadow: 0px 0px 15px 5px rgb(36, 35, 35);
        position: relative;
        top: -1rem;
    }

    .barra-frontal{
        position: absolute;
        background: linear-gradient(to right, #f7792b 0%, #b34100 70%, #741d00 90%, transparent 100%);
        height: 3rem;
        min-width: 30%;
        max-width: 99%;
        width: 0%;
        margin: auto;
        transition: 1.2s;
        transition-delay: .5s;
    }

    .info-barra{
        position: absolute;
        right: 4rem;
        height: 3rem;
        display: flex;
    }

    .logo-corredor{
        height: 3rem;
        position: absolute;
        right: 0;
        box-shadow: none !important
    }

    /* ------------- DESCARGA IMAGEN ------------- */

    .button {
        position: relative;
        width: 163px;
        height: 40px;
        cursor: pointer;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        border: 1px solid #17795E;
        background-color: #209978;
        overflow: hidden;
        margin: 0 auto;
      }
      
      .button, .button__icon, .button__text {
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
      }
      
      .button .button__text {
        -webkit-transform: translateX(22px);
            -ms-transform: translateX(22px);
                transform: translateX(22px);
        color: #fff;
        font-weight: 600;
      }
      
      .button .button__icon {
        position: absolute;
        -webkit-transform: translateX(109px);
            -ms-transform: translateX(109px);
                transform: translateX(109px);
        height: 100%;
        width: 52px;
        background-color: #17795E;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
      }
      
      .button .svg {
        width: 20px;
        fill: #fff;
      }
      
      /* .button:hover {
        background: #17795E;
      }
      
      .button:hover .button__text {
        color: transparent;
      }
      
      .button:hover .button__icon {
        width: 148px;
        -webkit-transform: translateX(0);
            -ms-transform: translateX(0);
                transform: translateX(0);
      } */
      
      .button:active .button__icon {
        background-color: #146c54;
      }
      
      .button:active {
        border: 1px solid #146c54;
      }

    #downloadTable{
        display: none;
    }

    .info-descarga{
        margin-top: 1rem;
        display: none;
    }



     /*------ MENU CLASIFICACIONES -------*/

    
    .llegada-web{
        display: none;
    }

    

    .tabla{
        position: relative;
        margin: 2rem 1rem 1rem ;
        min-width: 90rem;
        max-width: 130rem;
    }

    .li,
    .li-filtrado{
        display: block;
    }

    .container{
        margin-top: 4rem;
    }
    

   

    .list{
        width: 100%;
        min-height: 0;
        max-height: 9rem;
        overflow: hidden;
        list-style: none;
        transition: 1s;
    }

    .list-submenu{
        max-height: 3rem;
    }

    .list-submenu .contenedor{
        width: 90%;
    }
    
    

    .encabezadomenu,
    .encabezadosubmenu{
        display: flex;
        position: relative;
        transition: .5s;
    }

    .menu{
        width: 100%;
        margin-bottom: 3rem;
    }

    .encabezadomenu {
        font-size: 15px;
        padding: 3rem 2.7em;
        letter-spacing: 0.06em;
        position: relative;
        font-family: inherit;
        border-radius: 0.6em;
        overflow: hidden;
        transition: all 0.3s;
        line-height: 1.4em;
        border: 2px solid ;
        background: linear-gradient(to right, rgba(71, 71, 71, 0.349) 1%, transparent 40%,transparent 60% , rgba(46, 48, 47, 0.541) 100%);
        color: #252525;
        box-shadow: inset 0 0 10px rgba(153, 152, 152, 0.4), 0 0 9px 3px rgba(94, 95, 95, 0.1);
        transition: 1s;
        display: flex;
        align-items: center;
      }
      
      .encabezadomenu:hover {
        box-shadow: inset 0 0 15px rgba(0, 253, 143, 0.753), 0 0 6px 3px rgba(2, 150, 86, 0.445);
      }

      .encabezadomenu:hover p{
        color: #09f38d;
      }
      
      .encabezadomenu:before {
        content: "";
        position: absolute;
        left: -6em;
        width: 10rem;
        height: 100%;
        top: 0;
        transition: transform .5s ease-in-out;
        background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);
      }
      
      .encabezadomenu:hover:before {
        transform: translateX(130rem);
      }


    li.li{
        transition: .2s;
    }


    .li a,
    .li-filtrado a,
    .team-filtrado a,
    .encabezadosubmenu p,
    .encabezadosubmenu-texto{
        font-family: 'Laila', sans-serif;        
        font-size: 1.4rem;
        transition: .1s;
        display: block;
        padding: .8rem 0 .8rem 2rem;
    }

    .encabezadomenu p,
    .encabezado p,
    .clasificacion-directa{
        font-family: 'Pragati Narrow', sans-serif;
        font-size: var(--fuente-parrafo-web);
        color: #fff;
        user-select: none;
        font-weight: bold;
    }

    

    /* .li:hover,
    .li-filtrado:hover,
    .team-filtrado:hover,
    .encabezadosubmenu:hover{
        transform: scale(1.02);
        border-bottom: 1px solid #333;
        background: linear-gradient( to bottom, #68e4ff, #3bafc8, #145a69);
        padding-left: 3rem;
    } */

    

    .li:hover a,
    .li-filtrado:hover a,
    .team-filtrado:hover a,
    .encabezadosubmenu p:hover{
        transform: scale(1.04);
        margin-left: 3rem;
    }

    .ul2{
        width: 98%;
        margin: 0 auto;
    }


    .ul2 .li,
    .ul2 .li-filtrado,
    .ul2 .team-filtrado,
    .ul2 .encabezadosubmenu {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: white;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        text-decoration: none;
        overflow: hidden;
        z-index: 1;
        border-radius: 0.4em;
        border: 2px solid #363636;
        font-family: inherit;
        box-shadow: inset 0 0 5px rgba(96, 118, 119, 0.6), 0 0 9px 3px rgba(66, 83, 87, 0.2);
    }

    .ul2 .li-filtrado{
        border: 2px solid #171718;
        width: 80%;
    }
       
    .li::before,
    .li-filtrado::before,
    .team-filtrado::before,
    .encabezadosubmenu::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 90%;
        height: 100%;
        /* background-color: #00a740; */
        background: radial-gradient(ellipse at center, #228543 0%, #01742d 100%);
        transform: translateX(-100%);
        transition: all .5s;
        z-index: -1;
        border-radius: 0.4em;
        border: 2px solid #00c257;
        width: 100%;
       }

       .li-filtrado::before{
        background: radial-gradient(ellipse at center, #2e7272 0%, #005a70 100%);
        border-radius: 0.2em;
        border: 2px solid #00fff2;
        width: 100%;
       }
       
    .li:hover::before,
    .li-filtrado:hover::before,
    .team-filtrado:hover::before,
    .encabezadosubmenu:hover::before {
        transform: translateX(0%);
       }

    i {
        margin-right: 2rem;
        color: #fff;
        position: absolute;
        right: 0;
        margin-top: 2.2rem;
        transform: scale(.5);
    }

    .encabezadosubmenu i {
        margin-top: 1rem;
        transform: scale(.5);
    }

    .fa-chevron-down {
        transition: 0.3s;
        position: absolute;
        top: 1.5rem;
    }

    .contenedor-TC{
        max-width: 105rem;
    }

    .scale{
        height: 100%;
        max-height: 197rem;
        transition: 1s;
    }

    .rotate{
        transform: rotate(180deg);
    }

    #tabclasificaciones{
        position: relative;
        display: none;
    }

    #tabclasificaciones .bloque{
        position: absolute;
        top: 0;
        transition: all 0.4s ease;
        margin: 0 auto;
        display: none ;
        opacity: 0;
    }

    #tabclasificaciones .bloque.activo{
        display: inline;
        opacity: 1;
        display: inherit;
    }

    .bloque-filtrado,
    .medallero-team{
        position: absolute;
        top: 0;
        transition: all 0.4s ease;
        margin: 0 auto;
        display: inline ;
        opacity: 1;
    }

    .encabezadosubmenu p{
        font-size: 1.4rem;
    }

    .encabezadosubmenu .fas{
        position: absolute;
        top: -.2rem;
    }


    /*------ TABLA CLASIFICACIONES -------*/

    .tabla-timestamp {
        font-size: 2rem;
        color: #bfbebe;
        margin: 4px 0 10px 0;
        font-style: italic;
        text-align: center;
        }


    .intro-tablas{
        margin-bottom: 3rem;
    }

    #tabclasificaciones h4{
        text-align: center;
    }

    .encabezado-tabla{
        background: linear-gradient( to bottom, #808080 0%, #333333 12%, #5f5b5b 88%, #172831 100%);
    }

    .encabezado-tabla p{
        font-size: var(--fuente-parrafo-encabezado-tabla);
    }

    #menu-clasificaciones{
        padding-bottom: 4rem;
    }

    .tabla-medallero table{
        max-width: 80rem;
    }
    
    .tabclasificaciones{
        position: relative;
        min-height: 10vh;
    }

    tr{
        color: #fff;
    }

    .encabezado-posicion{
        background: linear-gradient( to bottom, #ffb005 0%, #cc7d07 12%,#cc7d07 82%, #442b06 100%);
    }

    thead tr{
        position: sticky;
        top: 0;
    }

    thead th{
        border-left: 0.1rem solid #6b6b6b;
        padding: .8rem .4rem;
    }

    tr{
        background: linear-gradient( to bottom, #3d565e, #0d1112, #010203);
        transition: 0.1s;
    }



    .datos-corredores p{
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        padding-top: .3rem;
        padding-bottom: .3rem;

        
    }


    .datos-corredores tr:hover{
        background: linear-gradient( to bottom, #3d565e, #0d1112, #588ac4);
        transform: scale(1.02);
        transition: .2s;
        
    }

    table{
        width:100%;
        border-collapse:collapse;
        margin:.5em 0;
    }


    th, td{
        text-align:left;
        padding:.6rem 0.4rem;
        text-align: center;
        text-transform: capitalize;
    }

    .datos-corredores p{
        text-transform: capitalize;
        font-size: var(--fuente-parrafo-cel);
    }
    
    th :nth-child(1),
    th :nth-child(2){
        padding: .5rem .2rem;
    }

    tbody tr:nth-child(1){
        background: linear-gradient(to bottom, #f7dd88 0%, #baa145 40%, #24210e 100%);
    }

    tbody tr:nth-child(1):hover td{
        transform: scale(1.08);
        background: linear-gradient(to bottom, #f7dd88 0%, #baa145 40%, #24210e 100%);
    }

    tbody tr:nth-child(2){
        background: linear-gradient(to bottom, #dbdcde 0%, #8b8d96 40%, #262526 100%);
    }

    tbody tr:nth-child(2):hover td{
        transform: scale(1.08);
        background: linear-gradient(to bottom, #dbdcde 0%, #8b8d96 40%, #262526 100%);        
    }

    tbody tr:nth-child(3){
        background: linear-gradient(to bottom, #eabb91 0%, #ba6f4d 40%, #4b2013 100%);
    }

    tbody tr:nth-child(3):hover td{
        transform: scale(1.08);
        background: linear-gradient(to bottom, #eabb91 0%, #ba6f4d 40%, #4b2013 100%);
    }

   

}






@media (min-width: 768px) {

    h1{
        font-size: var(--fuente-h1-web);
    }

    h2{
        font-size: var(--fuente-h2-web);
    }

    h3{
        font-size: var(--fuente-h3-web);
    }

    h4{
        font-size: var(--fuente-h4-web);
    }

    p{
        font-size: var(--fuente-parrafo-web);
        line-height: 2.6rem;
    }

    a{
        font-size: var(--fuente-parrafo-web);
    }

    

    .detalles__buscador-individual{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
          "img title"
          "img text"
          "img input";
        gap: 20px;
        padding: 3rem ;
        box-shadow: 10px 10px 18px -7px rgba(0,0,0,0.75);
        background: radial-gradient(ellipse at center, #5f5e5e 0%, #52524f 11%, #1f1f1e 100%);
    }

    
    .imagen-buscador_individual{
        grid-area: img;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        clip-path: polygon(0% 0%, 100% 0%, 100% 30%, 70% 100%, 0% 99%);
    }

    .buscador-individual__info h4{
        grid-area: title;
    }

    .buscador-individual_parrafo{
        grid-area: text;
    }

    .inputs-individual{
        grid-area: input;
    }



    .container h3{
        padding: 2rem 0;
    }


    .competencias_2022 h4{
        text-transform: capitalize;
        margin-top: 2rem;
        font-size: var(--fuente-h4-web);
    }

    .contenedor__tabla-estadisticas{
        margin-top: 8rem;
    }



    .tabla-estadisticas h4{
        padding: 2rem 2rem 3rem ;
        font-size: 2.5rem;
    }


    .tabla-estadisticas_header img{
        height: 5rem;
    }

    .rotary{
        height: 4rem !important;
    }

    .trofeos-fondo{
        height: 14rem;
        position: relative;
        top: -3rem;
    }

    .trofeo-posicion-general img,
    .trofeo-posicion-sexo img,
    .trofeo-posicion-edad img{
        height: 7.5rem;
        top: 2rem;
    }

    .recuadro{
        gap: 2rem;
        margin: .6rem .6rem;
        height: 8rem;
    }

    .recuadro p{
        font-size: var(--fuente-parrafo-web);
        margin: 2rem 1.6rem;
        line-height: .9;
    }

    .recuadro span{
        font-size: 1.8rem;
    }

    .primer-recuadro{
        position: relative;
        top: -2rem;
    }

    .segundo-recuadro{
        position: relative;
        top: -2rem;
    }

    .tabla-estadisticas_porcentaje-posicion{
        height: 10rem;
    }

    .barra-fondo{
        margin-top: -1rem;
    }

    .info-barra p{
        position: relative;
        margin: auto;
    }
    
    .flyers-inscripcion{
        height: 20rem;
   }

   .botones-inscripcion img{
    height: 14rem;
    }



    /*------ ESTADISTICAS Y CLASIFICACIONES ------*/

    .intro-tablas{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "title img"
            "text img";
        gap: 20px;
        padding: 3rem;
        box-shadow: 10px 10px 18px -7px rgba(0,0,0,0.75);
        background: radial-gradient(ellipse at center, #5f5e5e 0%, #52524f 11%, #1f1f1e 100%);
        margin-bottom: 3rem;
    }

    .llegada-cel{
        display: none;
    }

    .llegada-web{
        display: inherit;
        grid-area: img;
    }

    .intro-tablas h4{
        grid-area: title;
    }

    .texto-tabla{
        grid-area: text;
    }


    .circular-amigos{
        display: flex;
        justify-content: space-evenly;
    }
    


    .inputs-individual{
        display: flex;
        margin-top: 3rem;
    }

    .input-dorsal{
        height: 5rem;
    }

   

    /*------ MENU CLASIFICACION ------*/

    .li:hover{
        padding-left: 2rem;
    }


    /*------ TABLA ------*/

    .list-submenu{
        max-height: 4rem;
    }

    .scale{
        max-height: 97rem;
        transition: 1s;
        height: auto;
    }

    .tabla{
        margin: 2rem auto;
    }

    /*---- FOOTER ----*/

    .contacto{
        display: inherit;
    }

    .contacto-mobile{
        display: none;
    }

    #div-img__mg2023{
        width: 30rem;
        height: 38rem;
    }

    footer{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 2rem;
    }

    .contacto,
    .contacto-mobile {
        grid-row: 1/2;
        grid-column: 1/2;
        margin: 2rem 0 2rem 3rem;
    }

    .contacto p:nth-child(1),
    .contacto-mobile p:nth-child(1){
        text-transform: uppercase;
    }

    .footer-redes{
        grid-row: 1/2;
        grid-column: 2/3;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logos-seguinos img{
		height: 4rem;
		width: 4rem;
		margin: 2.5rem auto;
	}

    .footer-nav{
        grid-row: 1/2;
        grid-column: 3/4;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: flex-end;
        margin: 1rem 3rem 2rem 0;
    }

    

    .derechos{
        grid-row: 2/3;
        grid-column: 1/4;
        text-align: center;
    }

    .derechos p{
        font-size: var(--fuente-parrafo-cel);
    }


    .seleccion-competencia{
        padding: 10rem;
    }
    
}

/* === Mejoras mobile-first === */

/* 2.1: Inputs del buscador, siempre visibles y legibles en móvil */
.inputs-individual {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

@media (max-width: 640px) {
  .inputs-individual {
    flex-direction: column;
    align-items: stretch;
  }
  .input-dorsal {
    max-width: 100%;
    height: 4.2rem;
  }
  .boton-consulta {
    width: 100%;
    height: 3.6rem;
  }
}

/* 2.2: Reducir impacto visual de imágenes en móvil */
@media (max-width: 640px) {
  .imagen-buscador_individual{
    height: 16rem;               /* antes 26rem */
    background-position: center; /* menos recorte de cara/cuerpo */
  }
}

/* 2.3: Ocultar video de fondo en móvil para ganar espacio y rendimiento */
@media (max-width: 768px) {
  #bg-video { display: none !important; }
}

/* 2.4: Contenedor con scroll horizontal para tablas anchas en móvil */
.tabla-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabla-scroll table {
  border-collapse: collapse;
  min-width: 720px; /* mantiene estructura y evita “romper” columnas */
}

.tabla-scroll::-webkit-scrollbar {
  height: 8px;
}
.tabla-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.25);
  border-radius: 4px;
}

/* 2.5: Header fijo de tabla opcional (si tu tabla tiene thead) */
@media (min-width: 769px) {
  .tabla-scroll table thead th {
    position: sticky;
    top: 0;
    background: #1f1f1f;
    z-index: 2;
  }
}

/* 2.6: Afinar tipografías en móvil para títulos */
@media (max-width: 640px) {
  h2 { font-size: 2.2rem; }
  h3 { font-size: 2.0rem; }
  h4 { font-size: 1.6rem; }
}


/* =====================================================
   MODOS DE TROFEOS SEGÚN TIPO DE COMPETENCIA
   ===================================================== */

/* ----- COMPETITIVA (default) ----- */
.trofeos.modo-competitivo.trofeos-fondo {
    height: 15.5rem;
    position: relative;
    top: -3rem;
}

.trofeos.modo-competitivo
.trofeo-posicion-general img,
.trofeos.modo-competitivo
.trofeo-posicion-sexo img,
.trofeos.modo-competitivo
.trofeo-posicion-edad img {
    height: 7.5rem;
    position: relative;
    top: 1.5rem;
}

/* ----- PARTICIPATIVA ----- */
.trofeos.modo-participativo.trofeos-fondo {
    height: 14rem;
    position: relative;
    top: -3rem;
}

.trofeos.modo-participativo
.trofeo-posicion-general img,
.trofeos.modo-participativo
.trofeo-posicion-sexo img {
    height: 7.5rem;
    position: relative;
    top: .5rem;
}



