#fondo-cancha {
    display: none; 
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 50000;
    background-color: black;
}

#div-cancha{
    display: none;
    width: 100%;
    height: auto; /* o podés usar una altura fija si querés limitarlo */
    display: flex;
    flex-direction: column;
}

#div-datos-cancha-contenedor{
    position: absolute;
    width: 70%;
    height: 100%;
    left: 15%;
}

#escudo-datos-cancha-izq{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
    height: 100%;
}

#img-escudo-datos-cancha-izq{
    width: 85%;
    height: auto;    
    object-fit: contain;
}

#escudo-datos-cancha-der{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
    height: 100%;
    left:85%;
}

#img-escudo-datos-cancha-der{
    width: 85%;
    height: auto;    
    object-fit: contain;
}

#div-datos-cancha{
    position: relative;
    display: flex;
    height: 10svh;
    width: 100%;
    background-color: black;
}

#cancha {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3; 
    background-image: url('img/cancha.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}


#dorsales-cancha {
    position:absolute;
    display: flex;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    justify-content: space-around;
    z-index: 200;
    flex-wrap: wrap;  /* Añadido para que los items se envuelvan */
    z-index: 20;
}

#dorsal_1{
    position: absolute;
    top: 2%;
    left: 43%;
}

#dorsal_2{
    position: absolute;
    top: 15%;
    left: 25%;
}

#dorsal_3{
    position: absolute;
    top: 15%;
    left: 64%;
}

#dorsal_4{
    position: absolute;
    top: 30%;
    left: 8%;
}

#dorsal_5{
    position: absolute;
    top: 40%;
    left: 43%;
}

#dorsal_6{
    position: absolute;
    top: 30%;
    left: 78%;
}

#dorsal_7{
    position: absolute;
    top: 70%;
    left: 8%;
}

#dorsal_8{
    position: absolute;
    top: 50%;
    left: 13%;
}

#dorsal_9{
    position: absolute;
    top: 80%;
    left: 43%;
}

#dorsal_10{
    position: absolute;
    top: 50%;
    left: 72%;
}

#dorsal_11{
    position: absolute;
    top: 70%;
    left: 78%;
}


.dorsales-cancha-item {
    justify-content: center;
    align-items: center;
    width: 12%;
    height: 10%;
    margin: 5px; /* Un pequeño margen para separación */
}

.dorsales-cancha-nombre{
    display: flex;
    font-family: poppins;
    font-size: 30px;
    color: white;
    white-space: nowrap; 
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: visible;   
    position: relative; /* Para que respete los límites del flujo */ 
    text-shadow: 4px 4px 3px black;
}

.dorsales-cancha-item img{
    object-fit: cover;
    width: 100%;
}

#cerrar-cancha {
    position: absolute;
    display: flex;
    width: 50%;
    top: 0%;
    height: 100%;
}

#enviar-cancha {
    position: absolute;
    display: flex;
    width: 50%;
    top: 0%;
    height: 100%;
    left: 50%;
}

#div-datos-cancha-fila1{
    display: flex;
    position: absolute;
    top:0%;
    height: 33.33%;
    width: 100%;
    justify-content: center;
    text-align: center;
    font-family: poppins;    
    font-size: 35px;
    color: white;  
    text-shadow: 3px 3px 5px black;           
}

#div-datos-cancha-fila2{ 
    display: flex;
    position: absolute;
    top:33.33%;
    height: 33.33%;
    width: 100%;
    justify-content: center;
    text-align: center;
    font-family: poppins;    
    font-size: 35px;
    color: white;  
    text-shadow: 3px 3px 5px black;                
}

#div-datos-cancha-fila3{
    display: flex;
    position: absolute;
    top:66.66%;
    height: 33.33%;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-family: poppins;    
    font-size: 35px;
    color: white;      
    text-shadow: 3px 3px 5px black;        
}

#escudo-local-datos-cancha,
#escudo-visitante-datos-cancha{
    display: flex;
    position: absolute;
    top: -50%;
    height: 200%;
    justify-content: center;
    align-items: center;
    object-fit: cover; 
    overflow: visible;    
}

#div-escudo-visitante-datos-cancha{
    position: absolute;
    display: flex;    
    height: auto;
    width: 15%;
    justify-content: center;
    align-items: center;
    object-fit: cover; 
    overflow: visible;    
}

#div-escudo-local-datos-cancha{
    position: absolute;
    display: flex;
    height: auto;
    width: 15%;
    justify-content: center;
    align-items: center;
    object-fit: cover; 
    overflow: visible;    
}

#botones-cancha{  
    display: flex;  
    position: absolute;
    align-items: center;
    justify-content: space-between;
    z-index: 50000;
    bottom:2%;
    height: 6%;
    width: 100%;
}

#div-cerrar-cancha{
    display: flex;
    justify-content: center;
    align-items: center;    
    height: 95%;
    width: 48%;
    left: 1%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;    
    border: 3px, solid white;
    overflow: hidden;
    margin-bottom: 1%;
    font-family: poppins;    
    font-size: 40px;
    color: white;      
}

#div-cerrar-cancha:hover{
    box-shadow: 0px 0px 40px white;  
}

#div-enviar-cancha{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 95%;
    width: 48%;
    right: 1%;
    background-color: rgba(255, 255, 255, 0.2); 
    border-radius: 20px;
    border: 3px, solid white;
    overflow:hidden;
    margin-bottom: 1%;
    font-family: poppins;    
    font-size: 40px;
    color: white;      
}

#div-enviar-cancha:hover{
    box-shadow: 0px 0px 40px white;  
}

#img-cerrar-cancha{
    height: 60%;
    width: auto;
}

#img-enviar-cancha{
    height: 60%;
    width: auto;
}

/**************************************************/
/************ AFICHE DE CITACION ******************/
/**************************************************/

#fondo-convocatoria{
    display: none; /* O 'flex' si lo necesitas visible */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    background-color: rgba(92, 6, 6, 1);
}

#convocatoria{
    display: block;
    width: 100%;
    height: 90%;   
    background-image: url('img/citacion16.jpg');
    background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;   
    opacity: 1;
    z-index: 200000;
}

#convocatoria-partido{
    position: absolute;
    top:2%;
    right: 5%;
    width: 100%;
    display: flex;
    font-family: poppins;
    font-size: 45px;
    color: white;
    justify-content: right;
    align-items: center;
}

#convocatoria-cancha{
    position: absolute;
    top:6%;
    right: 5%;
    width: 100%;
    display: flex;
    font-family: poppins;
    font-size: 30px;
    color: white;
    justify-content: right;
    align-items: center;
}

#convocatoria-fecha{
    position: absolute;
    top:9%;
    right: 5%;
    width: 100%;
    display: flex;
    font-family: poppins;
    font-size: 35px;
    color: white;
    justify-content: right;
    align-items: center;
}

#ul-convocatoria-jugadores{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;    
    top:14%;
    right: 5%;
    width: 100%;
    height: 72%;
}

#ul-convocatoria-jugadores li{

    /* los estilos están en citacion.js */

}

