@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url(/assets/OpenSans.woff2) format('woff2');
}

:root,
dialog,
input,
select,
option,
button,
textarea {
    color-scheme: dark;
    background-color: hsl(0, 0%, 10%);
    color: white;
    font-size: 1rem;
}

body {
    margin: 2rem;
}

* {
    font-family: 'Open Sans', system-ui;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    font-weight: bold;
}

a,
input,
select {
    color: inherit;
}

table {
    border-collapse: collapse;
}

thead tr {
    border-bottom: 1px solid white;
}

th {
    padding-inline: 1rem;
}

tbody tr {
    cursor: pointer;
}

tbody tr:nth-of-type(odd) {
    background-color: hsl(0, 0%, 25%);
}

tbody tr:hover {
    background-color: hsl(0, 0%, 40%);
}

th,
td {
    padding: 1em;
    text-align: center;
}

dd {
    font-weight: bold;
}

input,
select {
    border: 1px solid white;
    padding: 1em;
    border-radius: 5px;
}

button {
    border: none;
    background-color: hsl(0, 0%, 35%);
    padding: 0.75em;
    border-radius: 5px;
    cursor: pointer;
}