/*
 * nookdesk.com site styles.
 *
 * app.css is the compiled Foundation 6 bundle from the original site and is left
 * untouched. Everything new or overriding goes in this file, which base.njk loads
 * after app.css.
 */

/* ---------------------------------------------------------------------------
 * Page banner (partials/page-banner.njk): full-width photo with the page title in
 * a centred dark box. app.css only styled this for #page-about and #page-contact;
 * the .splash-banner class makes the same treatment available to every page.
 * ------------------------------------------------------------------------- */
.splash-banner .splash-txt {
    background: rgba(0, 0, 0, .72);
    text-align: center;
    padding: 1.75rem;
    left: 50%;
    right: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.splash-banner .splash-txt .title {
    color: #fefefe;
    margin: 0;
}

@media screen and (max-width: 560px) {
    .splash-banner .splash-txt {
        width: 80%;
    }
}

/* ---------------------------------------------------------------------------
 * Text pages (privacy policy, terms of use): every section heading is an h2 and
 * shares one size.
 * ------------------------------------------------------------------------- */
.static .static-txt h2 {
    font-size: 1.5625rem;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

@media screen and (max-width: 39.9375em) {
    .static .static-txt h2 {
        font-size: 1.125rem;
    }
}
