
body {
    margin: 0;
    font-family: serif;
    font-size: x-large;
    background-color: #fffffa;
    text-align: center;
}

#main {
    margin: 0;
}

div.jumbo {
    padding: 20px;
}
div.jumbo h1 {
    margin-top: 5px;
    margin-bottom: 10px;
}

#library {
    margin: 40px 10vw;
    display: flex;
    flex-wrap: wrap;
}
.author {
    margin: .5vw;
    padding: 5px;
    width: 250px;
}
.author h3 {
    font-size: 1em;
    line-height: 1.5em;
}
.author p a {
    text-decoration: none;
}
@media (max-width: 1000px) {
    #library {
        justify-content: center;
    }
}

br {
    display: block;
    margin-top: 10px;
}

#text {
    margin: 40px 8vw 40px 12vw;
}
#text:after {
    content: "";
    display: block;
    height: 25vh;
    width: 100%;
}
@media (max-width: 600px) {
    #text {
        margin: 4vw;
    }
}

div.line {
    display: flex;
    flex-wrap: wrap;
}
p.word {
    display: none;
    font-size: 1.8em;
    text-align: center;
    font-family: serif;
    margin: 1.5vw;
}

@media(max-width: 800px) {
    p.word {
        font-size: 1.5em;
        margin: 2vw;
    }
}

/* jsanker.com: note about books that were left out of this copy */
.note {
    margin: 0 10vw 40px;
    font-size: .7em;
    color: #555;
}

/* jsanker.com: touch screens have no keyboard, so pause / back / start over are buttons there
   (everyone else keeps the original look and uses Space, Left arrow and Home). */
#controls {
    display: none;
}
@media (pointer: coarse) {
    #controls:not([hidden]) {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        gap: 10px;
        justify-content: center;
        padding: 10px;
        background-color: rgba(255, 255, 250, .95);
        border-top: 1px solid #ccc;
    }
    #controls button {
        flex: 1;
        max-width: 140px;
        min-height: 44px;
        font-family: serif;
        font-size: .7em;
        background: #fffffa;
        border: 1px solid #555;
        border-radius: 4px;
    }
}
