/* -------------------------
   Brass & Bone
-------------------------- */

body {
    margin: 0;

    background-image: url("parch1.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;

    color: #ece5d5;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.8;
}

/* Center page */

.page {
    max-width: 1050px;
    margin: 40px auto;
    padding: 20px;
}

/* Header */

header {
    text-align: center;
    padding: 45px 25px;

    background: rgba(18,18,18,.78);

    border: 1px solid #8d7345;
    border-radius: 6px;

    box-shadow: 0 0 20px rgba(0,0,0,.35);
}

h1 {
    margin: 0;

    color: #d8cfb6;

    font-family: "Great Vibes", cursive;
    font-size: 5rem;
    font-weight: normal;
    letter-spacing: 0px;
}

.tagline {
    margin-top: 10px;

    color: #bda982;

    font-style: italic;
}

/* Navigation */

nav {
    display: flex;
    justify-content: center;
    gap: 24px;

    margin: 25px 0;
    padding: 16px;

    background: rgba(18,18,18,.78);

    border: 1px solid #8d7345;
    border-radius: 6px;

    box-shadow: 0 0 20px rgba(0,0,0,.35);
}

nav a {
    color: #c9ab73;

    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: 2px;
    font-size: .85rem;

    transition: .25s;
}

nav a:hover {
    color: #f2ddb1;

    text-shadow: 0 0 8px rgba(201,171,115,.6);
}

/* Layout */

main {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 25px;
}

/* Main panels */

.content,
aside {
    background: rgba(18,18,18,.78);

    border: 1px solid rgba(141,115,69,.95);
    border-radius: 6px;

    padding: 28px;

    box-shadow: 0 0 20px rgba(0,0,0,.35);
}

/* Headings */

h2,
h3 {
    color: #d8cfb6;

    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: .5px;
}

h2 {
    border-bottom: 1px solid #8d7345;

    padding-bottom: 8px;

    margin-top: 0;
}

/* Journal entries */

.entry {
    background: rgba(255,255,255,.03);

    border-left: 4px solid #8d7345;

    padding: 18px 22px;

    margin-top: 24px;
}

.date {
    color: #b8aa86;

    font-style: italic;

    font-size: .9rem;
}

/* Sidebar cards */

.cabinet-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(141,115,69,.5);
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 18px;
}

.cabinet-card + .cabinet-card {
    border-top: 1px solid rgba(141,115,69,.45);
    padding-top: 18px;
}

.cabinet-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 14px;
}

.cabinet-icon-box {
    width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.cabinet-icon {
    max-width: 85px;
    max-height: 85px;
    width: auto;
    height: auto;
}
.cabinet-text h3 {
    margin: 0 0 6px 0;
}

.cabinet-text p {
    margin: 0;
}

/* Links */

a {
    color: #d0b277;
}

a:hover {
    color: #f3ddb2;
}

/* Divider */

hr {
    border: none;

    border-top: 1px solid rgba(141,115,69,.6);

    margin: 35px 0;
}

/* Footer */

footer {
    margin-top: 30px;
    padding: 15px;

    text-align: center;

    color: #b8aa86;

    background: rgba(18,18,18,.78);

    border: 1px solid #8d7345;
    border-radius: 6px;

    box-shadow: 0 0 20px rgba(0,0,0,.35);
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #181818;
}

::-webkit-scrollbar-thumb {
    background: #6f5b37;
}

::-webkit-scrollbar-thumb:hover {
    background: #8d7345;
}
/* Specimen pages */

.specimen-page {
    display: block;
}

.specimen-page .content p {
    text-indent: 2em;
    margin-top: 0;
    margin-bottom: 1em;
}

.specimen-page .content .date {
    text-indent: 0;
}

.specimen img,
article img,
main img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 25px auto;
    float: none;
}

/* Acquisition entries */

.acquisition {
    display: flex;
    gap: 24px;
    align-items: flex-start;

    margin: 30px 0;
}

.acquisition img {
    width: 200px;
    height: auto;

    border: 1px solid #8d7345;
    border-radius: 4px;

    flex-shrink: 0;
}

.acquisition-text {
    flex: 1;
}

.acquisition-text h3 {
    margin-top: 0;
    margin-bottom: .5em;
}
.acquisition-text p {
    text-indent: 0;
}
/* Mobile */

@media (max-width: 800px) {
    main {
        grid-template-columns: 1fr;
    }

    nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    h1 {
        font-size: 2.8rem;
    }
}