html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.book {
    flex-grow: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
}

@media screen {
    .book {
        padding-left: 10%;
        padding-right: 10%
    }
}

footer {
    font-family: monospace;
    padding: 1em;
    font-size: smaller;
    width: 100%;
    border-top: 1px solid lightgrey;
}

.definition {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 10rem;
    width: 20rem;
    border: 2px solid;
    background: rgb(255, 255, 200);
    padding: 0.5rem 1rem;

}

.definition.empty {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
