body {
    font-family: 'Avenir Next', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 100%;
    line-height: 133%;
    margin: 0;
}

.index header {
    background-color: cadetblue;
}
.about header {
    background-color: burlywood;
}
.more header {
    background-color: orange;
}
.gallery header {
    background-color: greenyellow;
}
.gallery main {
    flex-direction: column;
}
.gallery section {
    flex: initial;
}

header {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    background-color: #ddd;
    justify-content: space-between;
}

h1 {
    font-size: 1.5rem;
    background-color: #0006;
    margin: 0;
    padding: .2em;
    color: #ccc;
}

h2 {
    font-size: 10vw;
    text-align: center;
}

ul.top-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.top-links li {
    outline: 1px dotted #aaa;
    margin-right: 20px;
    width: 60%;
    margin-top: .5em;
    text-align: center;
    background-color: #aaa;
    border-radius: 20px;
}

.top-links a {
    text-decoration: none;
    background-color: #363;
    outline: 1px bottm red;
    color: #fff;
    display: block;
    padding: .3em;
    border-radius: 4px;
}

main {
    padding: 0 1em;
}

@media (min-width: 600px) {
    main {
        display: flex;
        flex-direction: row;
        gap: 1em;
        justify-content: space-around;
    }
    section.primary {
        flex: 89;
    }
    section.secondary {
        flex: 55;
    }
    ul.top-links {
        flex-direction: row;
    }
    .top-links li {
        width: 20%;
    }
}