table {
    border-collapse: collapse;
    width: 60%;
}

th,
td {
    border: 1px solid #333;
    padding: 8px 12px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

th[rowspan],
th[colspan] {
    background-color: #e0e0e0;
}