﻿    *

{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.06em; /* subtle spread across all text */
    color: #000;
    background-color: #d8cda9;
    margin: 0;
}

/* ===== HEADINGS ===== */
h1 {
    text-align: center;
    font-family: 'Palatino Linotype';
    font-size: 20px;
    text-transform: uppercase;
    color: #080862;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-top: 18px;
    margin-bottom: 8px;
}

h2 {
    text-align: center;
    font-size: 18px;
    color: blue;
    margin-top: 16px;
}

h3 {
    text-align: center;
    font-size: 16px;
    color: #000;
    margin-top: 16px;
}

h4 {
    font-size: 14px;
    color: #000;
    margin-top: 16px;
}

h5 {
    font-size: 12px;
    color: #000;
    text-shadow: 1px 1px 4px rgba(255, 215, 0, 0.6);
    margin-top: 16px;
}

/* ===== PARAGRAPHS ===== */
p {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #000;
}

/* ===== UNORDERED LISTS ===== */
ul {
    list-style-position: inside;
    list-style-type: none;
    line-height: 1;
    margin: 0;
    padding-left: 10px;
}

li {
    font-family: 'Palatino Linotype', serif;
    font-size: 14px;
    color: #000;
    line-height: 1.1;
    margin-bottom: 8px;
    padding-left: 2px;
}

/* ===== IMAGES ===== */
header img {
    max-width: 75%;
    height: auto;
    display: block;
    object-fit: contain;
    padding-block: 20px; /* already there: top & bottom */
    margin-inline: auto; /* ⬅️ NEW: centers the image horizontally */
    padding-inline: 10px; /* ⬅️ Optional: adds breathing room on sides */
}

/* ===== LINKS ===== */
a {
    color: #007acc;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Palatino Linotype', serif;
    color: #000;
}

th, td {
    border: none;
    padding: 8px;
    text-align: left;
    font-family: 'Palatino Linotype', serif;
    color: #000;
    font-size: 12px;
}

tr:nth-child(even) {
    background-color: #F6E0AA;
    color: #000;
}

tr:nth-child(odd) {
    background-color: #ffffff;
    color: #000;
}

/* ===== BUTTON MENU ===== */

.button-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(8px, 1vw, 14px);
    flex-wrap: nowrap; /* desktop: one line */
    overflow-x: auto; /* phones: swipe if needed */
    -webkit-overflow-scrolling: touch;
    padding: 0 8px;
    white-space: nowrap;
}
/* Center the whole bar; no flex */
.button-row {
    width: 100%;
    max-width: 1200px; /* keep from stretching too wide */
    margin: 0 auto; /* center the bar itself */
    text-align: center; /* center the buttons (inline-block) */
    padding: 0 12px; /* prevent edge clipping on tablets */
    overflow: visible; /* no hidden cropping */
    font-size: 0; /* removes inline-block white-space gaps */
}

/* Buttons as inline blocks, consistent size */
.portal-button {
    display: inline-block;
    vertical-align: middle;
    font-size: 15px; /* restore font after font-size:0 on parent */
    line-height: 1.2;
    padding: 6px 8px;
    margin: 4px 4px; /* spacing between buttons */
    min-width: 80px; /* prevents skinny buttons */
    max-width: 120px; /* prevents over-wide buttons */
    white-space: nowrap; /* keep labels on one line */

    color: #a8792a;
    background: #CCBE8E;
    border: 2px solid rgba(0,0,0,.2);
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #121657;
    box-shadow: 0 0 4px rgba(0,0,0,.1);
    transition: all .2s ease;
}

    .portal-button:hover {
        color: #000;
        background-color: rgba(255,223,112,.2);
        border-color: #ffc800;
        box-shadow: 0 0 8px #ffc800,0 0 16px rgba(255,200,0,.6);
    }

/* Tablet/phone: shrink slightly so they stay neat and centered */
@media (max-width: 900px) {
    .portal-button {
        font-size: 14px;
        padding: 9px 14px;
        min-width: 110px;
    }
}

@media (max-width: 600px) {
    .portal-button {
        font-size: 13px;
        padding: 8px 12px;
        min-width: 100px;
    }
}
/* Optional: slightly shrink the longest label only */
.portal-button[href="writings.html"] {
    font-size: clamp(13px, 1.3vw, 16px);
    letter-spacing: 0.4px;
}


.topic {
    background-color: #fcf3d1;
    border-left: 5px solid #FFC300;
    padding: 20px;
    margin-bottom: 8px;
    box-shadow: 1px 1px 10px #000;
    border-radius: 8px;
}

    .topic h3 {
        font-size: 16px;
        color: #000;
        margin-top: 0;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .topic p {
        font-size: 14px;
        color: #002B5C;
        line-height: 1.2;
    }
.quote-call {
    font-style: italic;
    color: #5e4736;
    border-left: 4px solid #b3986e;
    padding-left: 16px;
    margin-top: 30px;
    font-size: 1.1em;
}


/* ===== CONTENT WIDTH LIMITER ===== */
.main-content {
    margin-left: 50px;
    padding: 10px;
    flex-grow: 1;
    transition: margin-left 0.3s;
}

.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.content-box {
    max-width: 600px;
    margin: 10px auto;
    padding: 10px;
    border-left: 4px solid #999;
    box-shadow: 1px 1px 10px #000;
    background-color: #f8efcd;
    font-size: 16px;
    line-height: 1.1;
    border-radius: 8px;
}

/* ===== POEM STYLE ===== */
.poem {
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", serif;
    font-size: 14px;
    color: #000;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    line-height: 1.2;
    white-space: pre-line;
    text-align: center;
    background-color: rgba(255, 223, 112, 0.2);
    border-left: 4px solid #999;
    border-radius: 4px;
}
.stanza {
    margin-bottom: 0;
    color: #000;
    white-space: pre-line;
}

.poem-mono {
    font-family: "Courier New", Courier, monospace;
    font-size: 15px;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    line-height: 1.6;
    white-space: pre;
    background-color: #f9f9f9;
    border-left: 4px solid #999;
    border-radius: 4px;
    text-align: left;
}
.tribute-box {
    border-left: 4px solid #6b8e23;
    background-color: #fff;
    padding: 12px 20px;
    margin: 20px 0;
    font-family: 'Georgia', serif;
    color: #000;
    border-radius: 8px;
}
/* BLOG POST CONTAINER */
.blog-post {
    font-style:italic;
    line-height:1.1em;
    background-color: rgba(255, 252, 245, 0.95);
    border-left: 5px solid #a8792a;
    padding: 25px;
    margin: 30px auto;
    width: 80%;
    max-width: 600px;
    box-shadow: 1px 1px 10px #000;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.blog-highlight {
    background-color: #f6eee2;
    border-left: 4px solid #bfa273;
    padding: 15px;
    font-style: italic;
    margin: 20px 0;
    color: #4e3c2e;
}
.post-nav {
    margin-top: 30px;
    text-align: center;
    font-size: 16px;
}

    .post-nav a {
        margin: 0 15px;
        color: #003366;
        text-decoration: none;
        font-weight: bold;
    }

        .post-nav a:hover {
            text-decoration: underline;
        }



.blog-date {
    font-size: 0.9em;
    color: #8b7b6d;
    text-shadow: 0 0 3px #ffc800;
   margin-bottom: 15px;
    font-style: italic;
    text-align: center;
}
/* ===== QUOTE BLOCK ===== */
.blockquote {
    font-style: italic;
    background-color: #fdf7d8;
    border-left: 4px solid #000;
    padding: 12px 20px;
    margin: 20px 0;
    color: #444;
}
.floating-menu {
    position: fixed;
    top: 100px; /* distance from top of window */
    left: 20px; /* distance from left edge */
    width: 180px;
    padding: 10px;
    background-color: rgb(224, 247, 219, 0.40); /* slightly see-through */
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

    .floating-menu a {
        display: block;
        margin: 8px 0;
        text-decoration: none;
        color: #333;
        font-size: 14px;
    }

        .floating-menu a:hover {
            text-decoration: underline;
        }
        .floating-menu a.current-page {
            font-weight: bold;
            color: #000;
            background-color: #eee;
            padding-left: 6px;
            border-left: 4px solid #999;
        }


/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 600px) {
    .topic, .topic-gold, .topic-dark {
        padding: 20px;
        margin: 20px 10px;
        font-size: 15px;
    }

        .topic table, .topic-gold table, .topic-dark table {
            font-size: 14px;
        }

        .topic h2, .topic-gold h2, .topic-dark h2 {
            font-size: 20px;
        }

    .portal-button {
        padding: 15px 25px;
        font-size: 16px;
    }
   
}