body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: lightsteelblue;
    font-family: "Verdana", sans-serif;
    font-size: 0.833rem;
    background: url("../images/bg-white.png");
    background-attachment: fixed;
    background-position: right;
    background-size: cover;
}

p {
    line-height: 1.5;
}

#wrapper {
    width: calc(100vh * 4 / 3);
    min-width: 800px;
    background-color: ddd;
    min-height: 100vh;
    border-left: #333 1px solid;
    border-right: #333 1px solid;
    display: grid;
    grid-template-areas: "header header" "nav content" "nav footer";
    grid-template-columns: 1fr 4fr;
    grid-template-rows: 200px;
    grid-auto-rows: auto;
}

header {
    text-align: right;
    grid-area: header;
}

#logo {
    position: relative;
    height: 100%;
    float: right;
    min-width: 50%;
}

#logo #jp-logo {
    font-size: 96px;
    font-weight: bolder;
    position: absolute;
    right: 50px;
    opacity: 0.33;
    top: 20px;
    color: white;
}

#jp-logo #logo-no {
    font-size: 72px;
}

#logo #overlay-logo {
    font-family: "Georgia", serif;
    font-style: italic;
    font-size: 48px;
    position: absolute;
    right: 20px;
    top: 70px;
    color: #333;
    color: firebrick;
}

#logo #flavor-1 {
    font-size: 12px;
    font-family: "Courier New", Courier, monospace;
    position: absolute;
    right: 20px;
    top: 10px;
    color: slategray;
}

#logo #flavor-2 {
    font-size: 8px;
    position: absolute;
    right: 30px;
    bottom: 36px;
    color: steelblue;
}

nav {
    grid-area: nav;
    padding: 20px 20px 20px 20px;
    align-self: stretch;
}

ul {
    list-style-type: square;
}

nav ul {
    padding-left: 14px;
    margin-top: 0px;
    font-size: 0.9em;
}

nav ul li {
    margin-bottom: 1em;
}

.nav-section-heading {
    margin-bottom: 5px;
    font-weight: bold;
}

main {
    background-color: eee;
    grid-area: content;
    padding: 2rem 6rem 2rem 6rem;
    border-top: #333 1px solid;
    border-bottom: #333 1px solid;
    border-left: #333 1px solid;
}

footer {
    height: 4rem;
    width: 100%;
    text-align: center;
    grid-area: footer;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.note {
    margin-left: 1em;
    margin-right: 1em;
    text-align: right;
    font-size: 0.9em;
}

.last-update {
    text-align: right;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 48px;
}

.last-update::before {
    content: "Last updated ";
}

li.cd::marker {
    content: "💿";
}

li.smaho::marker {
    content: "📱";
}

li.book::marker {
    content: "📖";
}

li.pc::marker {
    content: "🖥️";
}

li.scroll::marker {
    content: "📜";
}

li.sword::marker {
    content: "⚔️";
}

hr {
    color: #ddd;
    background-color: #ddd;
}

hr.end {
    height: 16px;
    border-style: solid;
}

.new-page {
    font-size: 0.9em;
    color: red;
}

.news-entry {
    padding-left: 2em;
}
