body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

#grid {
    display: inline-grid;
    grid-template-columns: repeat(5, 100px);
    grid-template-rows: repeat(5, 100px);
    gap: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 10px;
    background-color: #fff;
}

.cell {
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center; /* Centra el texto horizontalmente */
    vertical-align: middle; /* Centra el texto verticalmente */
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
    border-radius: 5px; /* Añade bordes redondeados a las celdas */
    transition: background-color 0.3s; /* Añade una transición suave al cambiar el color de fondo */
}

.cell:hover {
    background-color: #eee; /* Añade un efecto "hover" a las celdas */
}