body {
    font-family: 'Arial', sans-serif;
    background: black;
    color: rgb(0, 255, 34);
    text-align: center;
}

  
.tateti {
    display: flex;
    flex-wrap: wrap; /* Permite que las celdas se acomoden en filas */
    justify-content: center;
    align-items: center;
    width: 310px; /* Ajuste del ancho total */
    margin: 20px auto;
}
  
.cell {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(0, 255, 34, 0.2);
    border: 2px solid rgb(0, 255, 34);
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
  
.cell:hover {
    background: rgb(0, 255, 55);
    color: black;
}
  
.cell:nth-child(3n + 1) {
    clear: left; /* Asegura que cada fila comience correctamente */
}

.cell.taken {
    pointer-events: none; /* Evita que se haga click en celdas ocupadas */
}

#message {
    margin-top: 20px;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
}
div .desktop-menu{ /*Sobreescribo esto (del css general porque el cambio en los estilos del body modifica el menu */
    text-align: left;
}
img{
    max-width: 100%;
    padding: .1em;
}
.startButton{
    max-width: 25%;
    cursor: pointer;
    margin: 0;
    animation-name: parpadeo;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    -webkit-animation-name:parpadeo;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}
.startButton:active{
    max-width: 20%;
}
.audio{
    display: none;
}
@-moz-keyframes parpadeo{  
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}

@-webkit-keyframes parpadeo {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes parpadeo {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}
article{
    flex-direction: column;
    justify-content: center;
    display: none;
   
}
article p{
    text-align: center;
}
section{
    height: 25em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#modo-juego{
    display: none;
}
.creditosMusica{
    width: 100%;
}
.imgLogos{
    pointer-events: stroke;
}
.imgLogos:hover{
    width: 30px;
    
}
@media (max-width:768px){
    #mensaje{
        width: 80%;
    }
    .startButton{
        max-width: 50%;
    }
    .startButton:active{
        max-width: 45%;
    }
}
