html {
    scroll-behavior: smooth;
}

body {
    --content-width: 720px;
}

.main {
    max-width: var(--content-width);
    background-color: white;
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.66;

    margin: 2em auto;
}


.main img {
    max-width: var(--content-width);
}

img.outline {
    border: 1px solid #000;
}

a {
    color: #977154;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #807e6b;
}

.book {
    padding-top: 4em;
    padding-bottom: 1em;
}

.book-cover {
    padding-bottom: 1em;
}

.indented {
    margin-inline-start: 40px;
    margin-top:0px;
    transform: translateY(-1px); /* offset 1px discrepancy */
}

.no-margin-top {
    margin-top: 0px;
}

.no-bottom-margin {
    margin-bottom: 0px;
}

.double-bottom-margin {
    margin-bottom: 2em;
}

.quote-source {
    width: 100%;
    font-style: italic;

    margin-top: 0em;
    margin-inline-start: 40px;
}

.quote-source i {
    font-style: normal;
}

.spaced-letters {
    letter-spacing: 2px;
}

hr {
    border: 0px solid #000;
    border-top: 1px solid #000;
    margin-top: 2em;
    margin-bottom: 1.5em;
}

hr.book-divider {
    border-top: 2px solid #000;
    padding-bottom: 3em;
}

.katie-king-title {
    color: #647daf;
    font-size: 1.5em;
    text-align: center;
    font-weight: 700;
    margin-bottom: 2em;
    margin-top: 0em;
}

.katie-king-link {
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    display: block;
    text-align: center;
    margin-top: 6em;
}

.image-group {
    width: 100%;
    
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
}

.image-group .image {
    width: 45%;
    margin-top: 4em;
}

.image img {
    width: 100%;
}

.payment-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.payment-label {
    margin-top: 1em;
    padding-bottom: 0.33em;
    font-weight: 700;
}

.payment-button {
    text-align: center;
}

.payment-au {
    padding-left: 2em;
}

.payment-nz {
    text-align: right;
    padding-right: 2em;
}

footer {
    text-align: center;
    width: 100%;
    margin-top: 5em;
    margin-bottom: 1em;
}

/* mobile */
@media only screen and (max-width: 600px) {
    .image-group .image {
        width: 100%;
        margin-top: 2em;
    }
}

/* 720px main column plus 3em buffer */
@media only screen and (max-width: 768px) {
    body {
        --content-width: calc(100vw - 3em);
    }

    main {
        font-size: 20px;
    }
}
