:root {
    --header-image: url('images/IMG_20250706_161007.jpg');
    --rage-image: url('images/1767198424239.jpg');
    --content: #233018;
}

/* fonts */

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Regular.ttf');
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-BoldItalic.ttf');
    font-style: italic;
    font-weight: bold;
}

/* global */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: #0D1108;
    background-image: var(--body-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* page container */

#container {
    min-height: 100vh;
    max-width: 1300px;
    margin: 0 auto;
}

.blog-entry pre {
    font-family: 'Nunito', sans-serif;
    white-space: pre-wrap;   /* wraps text automatically */
    word-wrap: break-word;   /* break long words if needed */
    line-height: 1.8;        /* comfortable spacing */
    font-size: 18px;         /* readable font */
}

/* header */

#header {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #000000;
    background-image: var(--header-image);
    background-repeat: no-repeat;
    background-position: center 21%;
    background-size: cover;
    border-bottom: 1px solid #000;
}

/* navbar */

#navbar {
    height: 40px;
    background-color: #516D36;
    width: 100%;
    border-bottom: 1px solid #000;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: #ACC992;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #ffffff;
}

#navbar li a.current {
    color: #ffffff;
}

/* main content - reading-friendly */

main {
    background-color: #233018;
    padding: 30px;
    min-height: 600px;
    line-height: 1.8;      /* comfortable spacing */
    font-size: 18px;       /* slightly larger font for reading */
}

/* quote / section divider */

.blog-entry::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin: 10px auto 20px auto;
    background-color: #516D36;
    border-radius: 2px;
}

/* headings */

h1, h2, h3, h4 {
    color: #ffffff;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

strong {
    color: #ffffff;
}

/* images in stories */

.post-image {
    width: 150px;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

/* content box */

.box {
    background-color: #516D36;
    border: 1px solid #000000;
    padding: 10px;
}

/* responsive */

@media only screen and (max-width: 800px) {

    #navbar ul {
        flex-wrap: wrap;
    }

    main {
        padding: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

}