body {
    background: #F6F6F6;
    color: black;
    display: flex;
    flex-direction: column;
    font-family: monospace;
    font-size: 16px;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 640px;
    padding: 4rem 2rem;
    overflow-wrap: break-word;
}

header {
    min-height: 2rem;
}

main {
    min-height: 60vh;
    margin-bottom: 2.5rem;
}

h2,
h3,
h4,
h5,
h6 {
    margin-top: 1.5rem;
}

p {
    margin: 1rem 0;
}

li {
    margin: 0.4rem 0;
}

*:target {
    background: #8785A2;
}

hr {
    margin: 2rem 0;
    text-align: center;
    border: 0;

    &:before {
        content: '/////'
    }

    &:after {
        content: attr(data-content) '/////'
    }
}

table {
    width: 100%;
}

table,
th,
td {
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.4rem;
}

code {
    font-style: monospace;
}

pre>code {
    padding: 10px;
}

p>code {
    color: #c41a16;
    background: #ede3e3;
}

blockquote {
    font-style: italic;
    border: thin solid black;
    padding: 1rem;
    background: white;

    p {
        margin: 0;
    }
}

img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

figcaption {
    font-style: italic;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

pre {
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: hidden;
}

.footnotes>hr {
    &::before {
        content: '/////'
    }

    &::after {
        content: 'footnotes/////'
    }
}

h1[id="404"] {
    font-size: 80px;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.center-ver-hor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.post-title {
    font-size: 40px;
}

.project-title {
    margin: 0;
    text-align: center;
}
.project-title::before{
    content: ">> ";
}
.project-title::after{
    content: " <<";
}

.menu-item {
    list-style-type: none;
    padding: 0;
    min-width: 100%;
}

.menu-item>li {
    display: inline;
}

.menu-item li:not(:last-child)::after {
    content: " |";
}