/* Johnson Hardwood Co, LLC - site styles */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #f3eff0;
    color: #160e0e;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.5;
}

h1, h2 {
    text-align: center;
    line-height: 1.2;
}

h1 {
    margin: 0 0 0.25em;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h2 {
    margin: 1.5em 0 0.5em;
    font-size: 1.5rem;
}

a {
    color: #222222;
}

a:hover,
a:focus-visible {
    color: #7a4a24;
}

a:focus-visible {
    outline: 2px solid #7a4a24;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 0.5em 1em;
    background: #160e0e;
    color: #f3eff0;
    z-index: 10;
}

.skip-link:focus {
    left: 0;
}

#main {
    flex: 1 0 auto;
    margin: 0 auto;
    padding: 20px 1rem 2rem;
    width: 100%;
    max-width: 40rem;
    overflow-wrap: break-word;
    text-align: center;
}

.tagline {
    margin: 0;
}

address {
    font-style: normal;
}

address p {
    margin: 0 0 1em;
}

/* Footer: decorative floor image sits at the bottom of the page without overlapping content */
#footer {
    flex-shrink: 0;
}

.footer-image {
    display: block;
    width: 100%;
    height: auto;
}

.site-info {
    margin: 0;
    padding: 0.75rem 1rem;
    background-color: #160e0e;
    color: #f3eff0;
    font-size: 0.875rem;
    text-align: center;
}

.site-info a {
    color: #f3eff0;
}

.site-info a:hover,
.site-info a:focus-visible {
    color: #e6c9a8;
    outline-color: #e6c9a8;
}

.site-info .sep {
    margin: 0 0.5em;
}
