html {
    background: #878774;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    background: #878774;
    color: #111;
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: radial-gradient(circle, rgba(0,0,0,.18) 2px, transparent 2px);
    background-size: 6px 6px;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
    z-index: 0;
}

::selection {
    background: #111;
    color: #e4cc45;
}

#site {
    width: 780px;
    margin: 40px auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    background: transparent;
}

#header {
    width: calc(100% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
    border-left: 3px solid #eeeecc;
    border-right: 3px solid #555544;
    border-bottom: 3px solid #555544;
    box-shadow: 3px 3px 0 #444438;
}

#header-logo {
    max-height: 90px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#languages {
    position: absolute;
    top: 6px;
    right: 25px;
}

#languages img {
    width: 24px;
    height: 16px;
    margin-left: 4px;
}

#top-strip {
    height: 30px;
    background: #111;
}

#header-main {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #c9c99a;
}

#small-links {
    width: 200px;
    padding: 10px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    line-height: 18px;
}

#small-links a {
    margin-right: 8px;
    color: #111;
    text-decoration: none;
}

#small-links a:hover {
    color: #a32318;
    text-decoration: underline;
}

#logo {
    margin: 0;
    padding: 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 66px;
    font-weight: bold;
    font-style: italic;
    line-height: 1;
    letter-spacing: -3px;
    color: #e6cc3e;
    text-shadow: 3px 3px 0 #a32318, 6px 6px 0 #111;
    transform: rotate(-2deg) skew(-5deg);
    white-space: nowrap;
}

#top-nav {
    height: 32px;
    padding-left: 200px;
    background: #aaa779;
    border-top: 2px solid #111;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

#top-nav a {
    display: inline-block;
    padding: 8px 14px;
    color: #111;
    text-decoration: none;
}

#top-nav a:hover {
    background: #111;
    color: #e6cc3e;
}

#page {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: transparent;
}

#sidebar {
    width: 200px;
    padding: 10px 0 10px 10px;
    box-sizing: border-box;
    background: transparent;
    display: flex;
    flex-direction: column;
}

#sidebar h2 {
    margin: 0;
    padding: 4px 8px;
    background: #111;
    color: #eee;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 25px;
    letter-spacing: 1px;
    box-sizing: border-box;
    border-left: 3px solid #eeeecc;
    border-right: 3px solid #555544;
    border-bottom: 3px solid #555544;
    box-shadow: 3px 3px 0 #444438;
}

#sidebar ul {
    margin: 0 0 10px 0;
    padding: 8px 10px 10px 10px;
    background: #c9c99a;
    box-sizing: border-box;
    list-style: none;
    border-left: 3px solid #eeeecc;
    border-right: 3px solid #555544;
    border-bottom: 3px solid #555544;
    box-shadow: 3px 3px 0 #444438;
}

#sidebar li {
    margin: 2px 0;
}

#sidebar li::before {
    content: "+ ";
}

.picture-box {
    flex: 1;
    min-height: 0;
    padding: 8px;
    background: #c9c99a;
    box-sizing: border-box;
    border-left: 3px solid #eeeecc;
    border-right: 3px solid #555544;
    border-bottom: 3px solid #555544;
    box-shadow: 3px 3px 0 #444438;
    overflow: hidden;
}

.picture-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

#content {
    min-width: 0;
    padding: 10px;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#content > .content-section {
    width: 100%;
    margin: 0;
    padding: 10px;
    background: #c9c99a;
    box-sizing: border-box;
    border-top: 3px solid #eeeecc;
    border-left: 3px solid #eeeecc;
    border-right: 3px solid #555544;
    border-bottom: 3px solid #555544;
    box-shadow: 3px 3px 0 #444438;
}

#content > .content-section:last-child {
    flex: 1;
}

#content h2 {
    margin: 3px 0 8px 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 27px;
    letter-spacing: 1px;
}

#content h3 {
    margin-bottom: 4px;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

#content p {
    margin-top: 4px;
}

a {
    color: #111;
    text-decoration: underline;
}

a:visited {
    color: #333;
}

a:hover {
    color: #9b1a10;
}

.image-placeholder {
    width: 300px;
    height: 150px;
    border: 2px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b6b687;
    font-family: Arial, sans-serif;
    font-size: 11px;
    box-sizing: border-box;
}

footer {
    width: calc(100% - 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px;
    padding: 5px 10px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 15px;
    background: #c9c99a;
    border-top: 3px solid #eeeecc;
    border-left: 3px solid #eeeecc;
    border-right: 3px solid #555544;
    border-bottom: 3px solid #555544;
    box-shadow: 3px 3px 0 #444438;
}