* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    max-width: 800px;
    margin: 0 auto;
}

header>a {
    display: block;
    height: 80px;
    width: 80px;
}

header>a>img {
    width: 100%;
    height: 100%;
}

header>nav {
    display: flex;
    align-items: center;
}

header>nav a {
    color: #00b86b;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
    border-radius: 3px;
}

header>nav a:hover {
    text-decoration: underline;
}

#content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
}

h1,
h2,
h3,
h4 {
    color: #333;
}

h2,
h3,
h4 {
    margin-bottom: 0.4rem;
    padding-top: 1rem;
}

h1:not(:first-child) {
    margin-bottom: 0.4rem;
    padding-top: 1rem;
}

p {
    line-height: 1.6;
}

p:has(> img) {
    margin: 0 !important;
    line-height: 0;
}

p:not(:last-of-type) {
    margin-bottom: 1rem;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

#content blockquote {
    background-color: #f8fff9;
    border-left: 4px solid #00b86b;
    padding: 20px;
    margin-bottom: 1rem;
    font-style: italic;
    color: #2c3e50;
    border-radius: 2px;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.15);
}

#content blockquote p {
    line-height: 1.6;
}

#content pre {
    overflow-x: scroll;
    margin-bottom: 1rem;
}

#lb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lbi {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

#close {
    position: absolute;
    top: 10px;
    right: 32px;
    cursor: pointer;
    font-size: 24px;
    color: white;
}

pre code.hljs {
    display: block;
    overflow-x: auto;
    padding: 1em
}

code.hljs {
    padding: 3px 5px
}

.hljs {
    color: #abb2bf;
    background: #282c34
}

.hljs-comment,
.hljs-quote {
    color: #5c6370;
    font-style: italic
}

.hljs-doctag,
.hljs-formula,
.hljs-keyword {
    color: #c678dd
}

.hljs-deletion,
.hljs-name,
.hljs-section,
.hljs-selector-tag,
.hljs-subst {
    color: #e06c75
}

.hljs-literal {
    color: #56b6c2
}

.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string,
.hljs-regexp,
.hljs-string {
    color: #98c379
}

.hljs-attr,
.hljs-number,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-template-variable,
.hljs-type,
.hljs-variable {
    color: #d19a66
}

.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-symbol,
.hljs-title {
    color: #61aeee
}

.hljs-built_in,
.hljs-class .hljs-title,
.hljs-title.class_ {
    color: #e6c07b
}

.hljs-emphasis {
    font-style: italic
}

.hljs-strong {
    font-weight: 700
}

.hljs-link {
    text-decoration: underline
}