* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 18px;
    height: 20px;
    line-height: 20px;
    margin-top: 20px;
}

small {
    margin-left: 20px;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
}

td,
th {
    border: solid #999;
    border-width: 1px 0px 0px 1px;
    padding: 5px 2px;
    font-size: 12px;
}

table {
    border: solid #999;
    border-width: 0px 1px 1px 0px;
}

.table-main {
    margin: 20px 20px;
    height: calc(100vh - 430px);
    overflow: auto;
    box-shadow: 2px 2px 4px 2px #999, -2px -2px 4px 2px #999;
}

.table-main table {
    width: 100%;
}

.table-main table thead th {
    background: #eee;
}

/* .table-main table td {
    background: #ffffff;
} */

.table-main table th,
.table-main table td {
    min-width: 80px;
    text-align: center;
}

thead {
    position: sticky;
    top: 0px;
    z-index: 4;
    box-shadow: 0px 2px 2px #999;
}

table tr th:not(:first-child) {
    z-index: 2;
    position: unset;
}

table tr td:first-child,
table tr th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #eee;
    box-shadow: 2px 0px 2px #999;
}

table>tbody>tr:hover {
    cursor: pointer;
    background-color: rgb(153,204,255);
}

.chart-container {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    height: 300px;
}

.copy {
    margin-top: 10px;
    text-align: center;
}

.copy, .copy a {
    color: #333;
    font-size: 12px;
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 0.8rem;
    }
    small {
        font-size: 0.5rem;
        margin-left: 10px;
    }
    .table-main table th,
    .table-main table td {
        min-width: 60px;
        max-width: 70px;
    }
}