@charset "UTF-8";
@font-face {
    font-family: 'AtkinsonHyperlegibleNextVF';
    src: url("../fnt/atkinson.var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'AtkinsonHyperlegibleNextVF', sans-serif;
    margin: 0;
}

.page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.calendar {
    width: 100%;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calendar h1 {
    width: 100%;
    font-size: 3rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    background-color: #003049;
    color: white;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.year {
    width: calc(100% - 2rem);
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (min-width: 600px) {
    .year {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
        row-gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .year {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1.5rem;
        row-gap: 2rem;
    }
}

.year table {
    border-collapse: collapse;
}

.year table td, .year table th {
    padding-top: .15rem;
    padding-bottom: .15rem;
}

.year table thead th {
    color: #bbbbbb;
    font-weight: 500;
}

.year table thead td {
    width: 12%;
    text-align: center;
    font-weight: 500;
}

.year table tbody td {
    text-align: center;
}

.year table tbody th {
    color: #777777;
    font-style: italic;
    font-weight: normal;
    text-align: center;
}

.year table tbody td:nth-child(8) {
    color: #ff0000;
}

.year table tbody tr:nth-child(odd) {
    background: #f3f4f6;
}

.year table tbody tr:nth-child(even) {

}

.year table td.holiday {
    background-color: #ffcccc;
}

.year table caption {
    font-size: 1.15rem;
    font-weight: 500;
    padding: .5rem 1.5rem;
    text-align: end;
    color: white;
    margin-bottom: .5rem;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.year table:nth-child(1) caption {
    background-color: #0353a4;
}

.year table:nth-child(2) caption {
    background-color: #118ab2;
}

.year table:nth-child(3) caption {
    background-color: #907ad6;
}

.year table:nth-child(4) caption {
    background-color: #ef476f;
}

.year table:nth-child(5) caption {
    background-color: #e76f51;
}

.year table:nth-child(6) caption {
    background-color: #f4a261;
}

.year table:nth-child(7) caption {
    background-color: #e9c46a;
}

.year table:nth-child(8) caption {
    background-color: #8a6e00;
}

.year table:nth-child(9) caption {
    background-color: #688e26;
}

.year table:nth-child(10) caption {
    background-color: #550527;
}

.year table:nth-child(11) caption {
    background-color: #272640;
}

.year table:nth-child(12) caption {
    background-color: #264653;
}