:root {
    --fg: #1b2733;
    --muted: #4a5a69;
    --line: #c9d3dc;
    --link: #0b5cad;
}

html {
    background: #3d6f94 url("../img/port-chalmers.jpg") center / cover fixed no-repeat;
}

body {
    margin: 0;
    font: 1rem/1.5 system-ui, sans-serif;
    color: var(--fg);
}

.panel {
    box-sizing: border-box;
    max-width: 46rem;
    margin: 12rem auto 0;
    padding: 0 2.25rem;
    background: rgb(255 255 255 / 80%);
}

header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

a {
    color: var(--link);
}

header a {
    text-decoration: none;
    color: inherit;
}

header a + a {
    margin-left: .25rem;
}

footer {
    margin: 2rem 0;
    padding-bottom: 1rem;
    color: var(--muted);
    font-size: .875rem;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: .35rem .5rem;
    border-bottom: 1px solid var(--line);
}

.muted {
    color: var(--muted);
}

.grade {
    font-weight: 600;
}

@media (max-width: 40rem) {
    .panel {
        margin: 0.5em;
        padding: 0 .75rem;
    }

    table {
        font-size: .875rem;
    }
}

.bar {
    letter-spacing: .1em;
    white-space: nowrap;
}

main {
    overflow-x: auto;
}

ship {
    font-size: 30px;
}

.about {
    font-weight: 300;
    background-color: #cfc;
    border-radius: 30px;
    padding: 5px 10px;
}

/* keep line breaks from the spreadsheet data */
.notes {
    white-space: pre-line;
}
