@font-face {
    font-family: "Snap";
    src: url( "/assets/snap.ttf" );
}

* {
    box-sizing: border-box;
    font-family: 'system-ui', sans-serif;
}

html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}

header {
    text-align: center;
}

header .logo {
    height: 15rem;
    max-width: 100%;
}

.button {
    width: 20em;
    max-width: 100%;
    padding: 0.75em;
    border-radius: 0.5em;
    background-color: #33D;
    border: none;
    font-weight: bolder;
    color: white;
    transition: all 200ms;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.button:hover {
    background-color: #11a;
    transition: all 200ms;
}

.button-danger {
    background-color: #d00;
}

.button-danger:hover {
    background-color: #a00;
}

.button:disabled {
    background-color: grey;
}

.button:disabled:hover {
    background-color: grey;
}

.button-small {
    width: 10em;
}

.center {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: .5em;
}

.pb-1 {
    padding-bottom: 1em;
}

.m-1 {
    margin: 1em;
}

.mb-1 {
    margin-bottom: 1em;
}

.puzzle-links {
    display: flex;
    gap: 3em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3em;
}

.puzzle-links .puzzle-link {
    flex-shrink: 0;
}

.puzzle-links .puzzle-link a {
    color: black;
    text-decoration: none;
}

.puzzle-links .puzzle-link a img {
    width: 100%;
    max-width: 13em;
}

.puzzle-links .puzzle-link a .puzzle-label {
    font-family: 'Snap', 'Snap ITC', 'Impact', sans-serif;
    font-size: 3em;
    margin-top: -0.5em;
    line-height: 0.95em;
    isolation: isolate;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
}

.puzzle-links .puzzle-link a .puzzle-label .line {
    font-family: 'Snap', 'Snap ITC', 'Impact', sans-serif;
    display: block;
    isolation: isolate;
}

.historical-dates {
    max-width: 25em;
    margin: 0 auto;
}

.historical-dates .historical-date {
    border-top: 1px solid lightgrey;
    padding: 0.5em 0;
}

.historical-dates .historical-date.no-top-border {
    border-top: none;
}

.historical-dates .historical-date > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    text-decoration: none;
    color: black;
    padding: 0.5em 1em;
}

.historical-dates .historical-date > a img {
    height: 1.5em;
}