:root.light {
    /* colors */
    --body-bg: #F8FAFD;
}

body {
    color: var(--color-gray);
    font-family: var(--brand-font);
    background: var(--body-bg);
}

main {
    background: var(--body-bg);
    min-height: calc(100vh - 16rem);
    overflow-x: hidden;
    overflow-y: hidden;
    /* to remove once site gets more content */
    position: relative;
    padding: 3rem 2rem 2rem 2rem;
    display: flex;
    flex-wrap: wrap;
}

.navbar {
    border-bottom: solid 1px var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    background-color: var(--bg-0);
}

.navbar .h5 {
    font-weight: 400;
    color: var(--color-gray);
}

.sidebar {
    padding: 2rem;
}

.sidebar h6 {
    color: var(--color-gray-2);
    margin-bottom: 15px;
    font-weight: 400;
}

.sidebar .page {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.sidebar .page i {
    margin-right: 10px;
    color: var(--color-gray-2);
}

.sidebar .page a {
    color: var(--color-primary);
}

.post-container {
    background: var(--bg-0);
    width: 700px;
    max-width: 95%;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: fit-content;
}

.post-container .post-header {
    margin-bottom: 2rem;
}

.post-container .post-header .post-title {
    font-size: 1.5rem;
    margin-bottom: 0px;
    color: var(--color-primary);
}

.post-container .post-header .post-subtitle {
    margin-bottom: 5px;
    color: var(--color-gray-2);
}

.post-container .post-header .post-meta-tags {
    display: flex;
}

.post-container .post-header .post-meta-tags .post-tag {
    border-radius: var(--border-radius);
    color: var(--color-gray);
    font-size: 0.6rem;
    height: 1.4rem;
    padding: 0.2rem 0.6rem;
    background-color: var(--bg-1);
    margin-right: 10px;
}

.post-container .post-body {
    color: var(--color-gray);
    font-size: 14px;
}

.post-body b, strong {
    font-weight: 600;
    color: var(--color-primary);
}

.post-container .post-body img {
    width: 100%;
}

.post-body h1, .post-body h2, .post-body h3, .post-body h4, .post-body h5, .post-body h6 {
    text-rendering: optimizeLegibility !important;
    margin-top: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    font-weight: 400 !important;
    color: var(--color-primary);
}

.post-body h1 {
    font-size: 1.3rem !important;
    margin-top: 50 !important;
}

.post-body h2 {
    font-size: 1.2rem !important;
    margin-top: 50 !important;
}

.post-body h3 {
    font-size: 1.1rem !important;
}

.post-body h4 {
    font-size: 1.05rem !important;
}

.post-body h5 {
    font-size: 1rem !important;
}

.post-body .footnote ol {
    list-style: decimal !important;
}

.post-body .footnote hr {
    display: none;
}

.post-body code {
    background-color: var(--bg-1);
    color: var(--theme-purple);
}

footer {
    padding: 1rem 2rem;
    border-top: solid 1px var(--border-color);
    background-color: var(--bg-0);
}

#nav-logo {
    display: inline;
    height: fit-content;
    padding: 0px;
}

#nav-logo:focus {
    border: 0px;
    box-shadow: none;
    outline: none;
}

#nav-logo img {
    height: 35px;
    margin-right: 40px;
    margin-top: 4px;
}

:root.dark .logo-light {
    display: none;
}

:root.light .logo-dark {
    display: none;
}