a{
    color: #1d3492;
}

a:visited{
    color: #2d695c;
}

.container {
    width: 1000px;
    margin: auto;
    display: grid;
    grid-gap: 10px;
    grid-template:
        "header"
        "main"
        "footer"
        / 1fr;
}

header {
    grid-area: header;
    max-width: 1000px;
    max-height: 150px;
    padding: 20px 10px 10px;
    font-family: 'Courier New', Courier, monospace;
}

nav{
    display: inline-block;
}

nav a, nav a:visited{
    color: #292929;
    font-family: "Courier New", Courier, monospace;
}

main {
    grid-area: main;
}

/* flexbox gallery code taken from tim van danne on csstricks. thank you! */

ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
    list-style-position: inside;
    height: 40vh;
    flex-grow: 1;
}

li:last-child {
    flex-grow: 10;
}

img {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

/* end gallery */

footer {
    grid-area: footer;
    margin: 20px;
    text-align: center;
    font-family: "Spectral", serif;
    font-size: 12px;
    color: #595959;
}
