:root {
    --primary-color: #00017f;
    --secondary-color: #fff;
}

.header-image {
    display: grid;
    height: 300px;
    background-image: url('/images/piano-tutor-books-hero.jpg');
    background-position-y: 50%;
    place-items: center;
}

h1, h3 {
    margin-top: 0;
}

h1 {
    font-weight: 900;
    background-color: #00017f;
    padding: .4em;
    color: white;
}

.book p {
    color: #9d9d9d;
}

.book-details .book-desc {
    grid-area: details;
}

.book-details .buy-button {
    grid-area: book;
}

/* .featurette-heading {
    font-size: 1.875rem;
} */

.book {
    scroll-margin-top: 50px;

    .book-details {
        display: grid;
        gap: 1em;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        grid-template-areas:
            "book"
            "details"
        ;
    }
}

.book:nth-child(odd) {
    h2 {
        color: var(--primary-color);
        border-bottom: 1px solid var(--secondary-color);
        padding-bottom: 25px;

        & span {
            color: #999999;
        }
    }

    padding-bottom: 25px;
}

.book:nth-child(even) {
    h2 {
        color: #fff;
        border-bottom: 1px solid #fff;
        padding-bottom: 25px;
    }
}

.testimonials {
    border: 1px solid #00017f;
    margin-bottom: 50px;
}

.jump-list {
    width: 100%;

    nav {
        display: flex;
        flex-wrap: wrap;
        width: 100;
        place-content: center;
        gap: 2em;
        margin: 1em;
        font-size: 1.2em;
        font-weight: bold;
    }
}

.buy-button {
    text-align: center;
    grid-area: book;
}

.text-muted {
    display: block;
}

@media screen and (min-width: 768px) {
    .book {
        padding-bottom: 60px;
    }

    .text-muted {
        display: inline;
    }

    .featurette-heading {
        font-size: 50px;

        span {
            font-size: 50px;
        }
    }

    .book:nth-child(odd) .book-details {
        grid-template-columns: 3fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "details book";
    }

    .book:nth-child(even) .book-details {
        grid-template-columns: 1fr 3fr;
        grid-template-rows: 1fr;
        grid-template-areas: "book details";
    }
}