table {
    border-collapse: collapse;
    width: 50%;
    margin: 20px;
}
th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}
th {
    background-color: #f2f2f2;
}
.header-row {
    background-color: #f2f2f2;
    font-weight: bold;
}
.sub-header {
    background-color: #e6e6e6;
}