body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 20px;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(5, 60px);
    grid-template-rows: repeat(5, 60px);
    gap: 5px;
    margin: 20px auto;
    width: 325px; /* 5 * 60px + 4 * 5px */
    border: 2px solid #ccc;
    padding: 5px;
    background-color: #e0e0e0;
}

.cell {
    width: 60px;
    height: 60px;
    background-color: #a0a0a0;
    border: 1px solid #888;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.cell.revealed {
    background-color: #f0f0f0;
}

.cell.bomb {
    background-color: #ffcccc; /* Rood voor bom */
}

.cell.safe {
    background-color: #ccffcc; /* Groen voor veilig */
}

.cell .content {
    display: none;
}

.cell.revealed .content {
    display: block;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

button:hover {
    background-color: #45a049;
}

.instructions {
    margin-top: 30px;
    padding: 15px;
    background-color: #f0f8ff;
    border: 1px solid #cceeff;
    border-radius: 5px;
    text-align: left;
    font-size: 0.9em;
}