:root {
    --library-contrast-color: #87997d;
    --library-secondary-color: #7a6661;
}

.hide {
    display: none;
}

a {
    color: black;
}

a:hover {
    color: var(--library-contrast-color);
}

h1 {
    font-size: 30px;
}

h1 .part-number {
    font-size: 20px;
    margin-top: 8px;
}

.two-col-break {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 12px; /* = margin-top - h2 margin-top */
    flex-wrap: wrap;
    margin-top: 20px;
}

.blurb {
    font-size: 20px;
    width: calc(100% - 32px);
    text-align: start;
}

.blurb p:not(:first-child){
    margin-top: 16px;
}

.item.blurb {
    max-width: 500px;
}

.deets {
    color: gray;
    max-width: 300px;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 21px 21px 21px;
}

.audiobook-wrap {
    flex-basis: 100%;
}

a.link-button {
    background-color: var(--library-contrast-color);
    color: white;
    font-weight: bold;
    border-radius: 4px;
    padding: 10px;
    margin: 4px;
}

a.link-button.inactive {
    background-color: white;
    color: black;
    border: 1px solid var(--library-contrast-color);
}

a.link-button:hover:not(.inactive) {
    background-color: var(--library-secondary-color);
}

.spacer.divider {
    width: 80%;
    border-top: 3px solid var(--library-contrast-color);
    height: 32px;
}

.link-spacer {
    margin: 0px 8px;
}

/* Breakpoints meant to always keep margins left/right of at least 20px */
@media screen and (max-width: 540px) {
    .art {
        width: 400px;
    }
}

@media screen and (max-width: 490px) {
    .art {
        width: 350px;
    }
}

@media screen and (max-width: 440px) {
    .art {
        width: 300px;
    }
}

@media screen and (max-width: 390px) {
    .art {
        width: 250px;
    }
}

@media screen and (max-width: 340px) {
    .art {
        width: 200px;
    }
}