.ports-header {
    font-size: 0.8rem;
    font-weight: 400;
    text-align: left;
    margin-left: 8px;
    text-wrap-style: balance;
}

.ports-subheader {
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
    margin: 0;
    display: flex;
}

.divider {
    border: none;
    border-top: 1px dashed black;
}

.divider-flex {
    flex: 1 1;
}

.divider-width {
    width: 8px;
}

.hidden {
    display: none;
}

.flex-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

body {
    max-width: 600px;
    width: 100%;
    margin: 0;
    font-family: monospace, arial, sans-serif;
    font-size: 0.75rem;
}

header {
    justify-items: center;
}

footer {
    margin: 8px
}

table {
    flex-grow: 0;
    flex-basis: 50%;
    width: 240px;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 8px 0px;
}

th {
    font-weight: 500;
}

td:first-child,
th:first-child {
    text-align: left;
    min-width: 120px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
}

td:nth-child(1n+2),
th:nth-child(1n+2) {
    text-align: right;
    min-width: 30px;
    max-width: 60px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .flex-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    table:nth-child(2) thead {
        display: none;
    }
}