body, input {
    font-family: "Verdana", "Arial", "Tahoma", sans-serif;
    box-sizing: border-box;
}

h1 {
    margin-top: 32px;
}

h1, h2, h3 {
    font-family: "Rockwell", "Georgia", "Garamond", "Times New Roman", serif;
    font-weight: 900;
    letter-spacing: -0.05rem;
    text-align: center;
}

.monotype {
    font-family: 'Courier New', Courier, monospace;
}

.san-serif {
    font-family: "Verdana", "Arial", "Tahoma", sans-serif;
}

.page {
    width: 90vmin;
    margin: 18px auto;
}

#menu-button {
    float: left;
    background-color: transparent;
    cursor: pointer;
    border: none;
}

#menu {
    height: 100%; /* 100% Full-height */
    width: 300px;
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: -300px;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    overflow-x: hidden; /* Disable horizontal scroll */
    padding: 44px 0 0;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    margin: 0;
}

#menu a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
#menu a:hover {
    color: #818181;
}

#menu .icon {
    height: 20px;
    width: 20px;
    margin-right: 8px;
}

/* Position and style the close button (top right corner) */
#menu .close-button {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 36px;
    margin-left: 50px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    #menu { padding-top: 15px; }
    #menu a { font-size: 18px; }
}

footer {
    text-align: center;
    color: #818181;
    margin: 24px;
    font-size: 10pt;
}

/* homepage */
.puzzle-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.puzzle-card {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 40px 20px;
    color: #000;
    border-radius: 12px;
}

.puzzle-card h2 {
    margin-bottom: 0;
}

.puzzle-card .icon {
    height: 80px;
    width: 80px;
}

.puzzle-card.crossword .icon {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 60px;
    width: 60px;
}

.puzzle-card.crossword {
    background-color: #4d88f9;
}

.puzzle-card.wordle {
    background-color: #e3e3e1;
}

.puzzle-card.connections {
    background-color: #b4a8ff;
}

.puzzle-card.strands {
    background-color: #c0ddd9;
}

.puzzle-card.bracket {
    background-color: #f7da21;
}

.puzzle-card.sudoku {
    background-color: #fb9b00;
}

@media screen and (max-width: 600px) {
    .puzzle-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 450px) {
    .puzzle-card-grid {
        grid-template-columns: 1fr;
    }
}