:root {
    --bg: #1a1916;
    --text: #e8dec3;
    --link: #d4ad6a;
    --link-hover: #f0c98a;
    --link-visited: #b89968;
    --muted: #968a73;
    --border: #2e2a23;
    --mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
}

* {
    box-sizing: border-box;
    font: 16px/1.6 var(--mono);
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    height: 100%;
    color: var(--text);
}

a {
    color: var(--link);
    text-decoration: none;
}
a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.indent {
    padding-left: 5em;
}

.bottom-pad {
    padding-bottom: 15em;
}

#nav {
    padding: 2.5em 2em 1em;
    max-width: 900px;
}
#nav h1 {
    margin: 0 0 0.4em;
    letter-spacing: 0.01em;
}
#nav h1 a {
    color: var(--text);
}

nav {
    padding: 2em 0 2em 2em;
}

nav a {
    margin-right: 1.5em;
    white-space: nowrap;
}

[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

main {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    height: fit-content;
    padding: 0 2em 0 2em;
}

article {
    margin-bottom: 2.5em;
}

main h2 {
    margin: 0 0 0.5em;
    color: var(--text);
}

.muted {
    color: var(--muted);
}

#plant {
    width: 45vw;
    height: 70vh;
    max-width: 700px;
    margin-top: auto;
}

.tags {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
}

@media (max-width: 700px) {
    .indent {
        padding-left: 3em;
    }
    #nav {
        padding: 1.5em 1.25em 0.75em;
    }
    main {
        flex-direction: column;
        padding: 0.75em 1.25em 0;
    }
    #plant {
        width: 100%;
        height: 600px;
    }
}
