body {
    margin: 0;
    background: #171318;
    color: #eadde2;
    font-family: Georgia, serif;
}

.site {
    width: 850px;
    max-width: calc(100% - 30px);
    margin: 40px auto;
}

header {
    text-align: center;
    padding: 30px;
    background: #33252e;
    border: 2px solid #80616e;
}

header h1 {
    margin: 0 0 10px;
    color: #f2c4ce;
}

header p {
    margin: 0;
    color: #c5d9d4;
}

nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: #211a20;
    border: 2px solid #80616e;
    border-top: none;
}

nav a {
    color: #b9ddd5;
    text-decoration: none;
    padding: 5px 10px;
}

nav a:hover {
    background: #553943;
    color: #ffffff;
}

section {
    margin-top: 20px;
    padding: 25px;
    background: #261e24;
    border: 2px solid #604953;
}

h2 {
    color: #f0c0cb;
}

footer {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    color: #aebfbc;
    font-size: 0.9em;
}

.main-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    margin-top: 20px;
}

.main-content > * {
    margin-top: 0;
}

.sidebar {
    padding: 20px;
    background: #261e24;
    border: 2px solid #604953;
    text-align: center;
}

.sidebar img {
    width: 100%;
    image-rendering: pixelated;
    display: block;
    margin-bottom: 15px;
}

.sidebar h3 {
    color: #f0c0cb;
    margin: 10px 0;
}

.sidebar hr {
    border: none;
    border-top: 1px solid #80616e;
    margin: 18px 0;
}

.welcome {
    padding: 25px;
    background: #261e24;
    border: 2px solid #604953;
}

@media (max-width: 650px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .sidebar img {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}
.sidebar img {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===== HEADER DECORATION ===== */

header {
    position: relative;
    overflow: hidden;
}

header::before,
header::after {
    content: "✦";
    position: absolute;
    top: 28px;
    font-size: 24px;
    color: #b9ddd5;
}

header::before {
    left: 25px;
}

header::after {
    right: 25px;
}

header h1 {
    letter-spacing: 1px;
}

header p {
    font-style: italic;
}


/* ===== NAVIGATION ===== */

nav a {
    border: 1px solid transparent;
    transition: 0.15s ease;
}

nav a:hover {
    border: 1px solid #80616e;
    background: #33252e;
}




section h2 {
    letter-spacing: 0.5px;
}

.sidebar {
    box-shadow: inset 0 0 0 1px rgba(185, 221, 213, 0.08);
}

.sidebar-decoration {
    margin-top: 25px;
    padding: 10px 0;
    color: #b9ddd5;
    font-size: 14px;
    letter-spacing: 4px;
}

.tiny-note {
    color: #9d858e;
    font-size: 12px;
    margin-top: 5px;
}
.site-info {
    font-size: 14px;
}

.site-info p {
    margin: 8px 0;
}

/* ===== ABOUT PAGE ===== */

.about-intro {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 25px;
    align-items: start;
}

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

.about-image img {
    width: 100%;
    max-width: 220px;
    image-rendering: pixelated;
    display: block;
}

.about-text h2 {
    margin-top: 0;
}

@media (max-width: 650px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-image img {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== GALLERY ===== */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.gallery figure {
    margin: 0;
    padding: 12px;
    background: #211a20;
    border: 1px solid #80616e;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
}

.gallery figcaption {
    padding: 12px 5px 5px;
    color: #c5d9d4;
    text-align: center;
    font-size: 14px;
}

.gallery figure:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
}

@media (max-width: 650px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery figure:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }
}

/* ===== BLOG ===== */

.blog-post {
    position: relative;
}

.post-date {
    margin: 0;
    color: #b9ddd5;
    font-size: 13px;
}

.blog-post h2 {
    margin-top: 8px;
}

.post-signature {
    margin-top: 25px;
    text-align: right;
    color: #f0c0cb;
    font-style: italic;
}