
:root {
    --light-gray: #ededed;
    --gray: #ccc;
}

body {
    font-family: var(--font-book) !important;
}
.font-title {
    font-family: var(--font-title);
}
.font-book {
    font-family: var(--font-book);
}

#board-but-not {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: var(--row-h);
    gap: 8px;

    width: min(100%, 475px);
    padding: 0px 8px;
    margin-inline: auto;

    font-size: min(1.15em, 4vw);
    text-transform: uppercase;
}

.cell > a {    
    text-decoration: none;
    color: var(--text);

    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

#main-centered {
    width: 900px;
    max-width: 100vw;
    padding: 0px var(--cell-gap);
}

h1 {
    font-size: 2rem;
}

#monthly:hover, #bonus:hover {
    filter: brightness(92%);
}
#monthly {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 120px;

    background-color: var(--light-gray);
    /* background-color: color-mix(in srgb, var(--purple) 35%, white); */
    border-radius: var(--cell-border-radius);

    text-align: start;
    text-decoration: none;
    color: var(--text);
}
#monthly > div {
    display: inline;
}
#monthly > div > h1, #bonus > h1 {
    margin-bottom: 0px;
}
#monthly > div > span {
    font-family: var(--font-book);
}
#monthly > img {
    height: 90px;
    width: auto;

    margin: 10px 20px;
}

#bonus {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 17px;
    width: 100%;
    height: 70px;

    margin-top: calc(var(--cell-gap) * 2);
    padding: 0px 20px;

    background-color: var(--light-gray);
    border-radius: var(--cell-border-radius);

    text-align: start;
    text-decoration: none;
    color: var(--text);
}
#bonus > h1 {
    text-wrap: nowrap;
}
span.dot {
    margin: 0px 12px;
}

#archive-year {
    font-family: var(--font-med);
}
#archive-year button {
    border-width: 0px;
    background-color: #00000000;
    font-size: 1em;
}
.year {
    width: 0ch;
}
.week {
    width: 5ch;
}

#archive-table {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;

    font-family: var(--fg);
}
#archive-table th[scope="row"] {
    font-weight: bold;
    width: 40%;
}
#archive-table th[scope="col"] {
    font-weight: normal;
}
#archive-table tr {
    height: 2em;
}
/* tr + tr {
    border-top: 1px var(--gray) solid;
} */
#archive-table > thead > tr {
    border-bottom: 1px var(--gray) solid;
}
#archive-table tr.spacer {
    height: 0.35em;
}