/* =========================================================
   ✦✦✦  DARK MODE COLORS  ✦✦✦
   ========================================================= */

:root {
    --black: #080808;
    --charcoal: #181818;
    --light-charcoal: #292929;
    --lighter-charcoal: #333333;
    --purple: #242024;
    --magenta: #765563;
    --white: #f2f2f2;
    --muted: #aaa3a3;
    --soft-white: #d8d8d8;
}

* {
    box-sizing: border-box;
}

/* =========================================================
   ✦✦✦  BODY
   ========================================================= */

body {
    margin: 0;
    background-color: var(--black);
    background-image: url("ok.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;

    color: var(--soft-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.6;

    text-transform: lowercase;
}

a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px dotted #666;
}

a:hover {
    color: #fff;
    background: #3a3a3a;
}

/* =========================================================
   ✦✦✦  MAIN SITE
   ========================================================= */

.site {
    width: min(1100px, 94%);
    margin: 35px 0 35px 4%;
    background: rgba(24, 24, 24, 0.94);
}

/* =========================================================
   ✦✦✦  HEADER
   ========================================================= */

header {
    padding: 25px 30px 20px;
    background: #0b0b0b;
    color: var(--white);
    position: relative;
}

header::after {
    content: "✦  ✧  ✦  ✧  ✦";
    position: absolute;
    right: 28px;
    bottom: 12px;
    color: #777;
    letter-spacing: 5px;
    font-size: 12px;
}

.site-title {
    margin: 0;
    font-size: clamp(30px, 5vw, 55px);
    font-weight: normal;
    font-style: italic;
    letter-spacing: -2px;
}

.tagline {
    margin: 2px 0 0;
    color: #aaa;
    font-size: 13px;
    letter-spacing: 2px;
}

/* =========================================================
   ✦✦✦  TOP NAVIGATION
   ========================================================= */

nav {
    padding: 9px 30px;
    background: #d9d9d9;
    color: #111;
    font-size: 12px;
    letter-spacing: 1px;
}

nav a {
    margin-right: 18px;
    border: none;
    color: #111;
}

nav a:hover {
    color: #fff;
    background: #333;
}

/* =========================================================
   ✦✦✦  TWO COLUMN CONTENT
   Sidebar is on the RIGHT
   ========================================================= */

.content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 0;
}

main {
    padding: 35px;
    background: rgba(42, 42, 42, 0.96);
    color: var(--soft-white);
}

aside {
    padding: 25px 20px;
    background: rgba(20, 20, 20, 0.98);
    color: var(--soft-white);
}

/* =========================================================
   ✦✦✦  INTRODUCTION
   ========================================================= */

.welcome {
    margin-bottom: 35px;
}

.little-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: #999;
    text-transform: lowercase;
}

h1,
h2,
h3 {
    font-weight: normal;
    color: var(--white);
}

h1 {
    margin: 5px 0 15px;
    font-size: 34px;
    font-style: italic;
}

h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.intro-text {
    max-width: 650px;
    font-size: 16px;
    color: #d5d5d5;
}

.ornament {
    text-align: center;
    margin: 25px 0;
    color: #aaa;
    letter-spacing: 8px;
}

/* =========================================================
   ✦✦✦  FEATURED DIARY ENTRY
   ========================================================= */

.entry {
    padding: 24px 0;
    margin: 25px 0;
}

.entry-date {
    color: #b18494;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.entry-title {
    margin: 4px 0 12px;
    font-size: 25px;
    font-style: italic;
    color: var(--white);
}

.read-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: lowercase;
}

/* =========================================================
   ✦✦✦  IMAGE AREA
   ========================================================= */

.image-placeholder {
    min-height: 210px;
    margin: 25px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    display: block;
}

/* =========================================================
   ✦✦✦  SIDEBAR / PROFILE
   ========================================================= */

.profile {
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 22px;
}

.profile-image {
    width: 130px;
    height: 130px;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px;
    background: #333;
}

.profile-name {
    margin: 0;
    font-size: 23px;
    font-style: italic;
    color: var(--white);
}

.profile-subtitle {
    margin: 2px 0 12px;
    font-size: 11px;
    color: #aaa;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.profile-bio {
    font-size: 13px;
    text-align: left;
    color: #ccc;
}

/* =========================================================
   ✦✦✦  SIDEBAR BOXES
   ========================================================= */

.sidebar-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.sidebar-title {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: lowercase;
}

.sidebar-section p {
    font-size: 12px;
    margin: 5px 0;
    color: #c4c4c4;
}

.book {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.book-cover {
    width: 48px;
    height: 68px;
    object-fit: cover;
    border: none;
    background: #333;
    flex-shrink: 0;
}

.book-info {
    font-size: 11px;
    line-height: 1.4;
    color: #bbb;
}

.book-title {
    font-style: italic;
    font-size: 13px;
    color: var(--white);
}

/* =========================================================
   ✦✦✦  SIDEBAR NAVIGATION
   ========================================================= */

.side-nav a {
    display: block;
    padding: 3px 0;
    border-bottom: none;
    font-size: 13px;
    color: #ccc;
}

.side-nav a::before {
    content: "↝ ";
    color: #997080;
}

/* =========================================================
   ✦✦✦  QUOTE
   ========================================================= */

blockquote {
    margin: 25px 0;
    padding: 15px 20px;
    border-left: 3px solid #765563;
    color: #c7c7c7;
    font-style: italic;
    font-size: 15px;
}

/* =========================================================
   ✦✦✦  FOOTER
   ========================================================= */

footer {
    padding: 15px 30px;
    background: #111;
    color: #999;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
}

/* =========================================================
   ✦✦✦  MOBILE
   ========================================================= */

@media (max-width: 750px) {

    .site {
        width: 94%;
        margin: 20px 3%;
    }

    .content {
        grid-template-columns: 1fr;
    }

    main {
        padding: 25px;
    }

    aside {
        padding: 25px;
    }

    nav {
        padding: 10px 20px;
    }

    nav a {
        display: inline-block;
        margin-bottom: 5px;
    }

    header {
        padding: 22px;
    }
}