:root {
    --light-color: #f5f5f5;
    --text-color: #5f5c6d;
    --accent-color: #9e86ad;
    --link-color: #005577;
    --border-color: #752b55;
}

@font-face {
    font-family: 'FixedsysExcelsior301Regular';
    src: url('../fonts/fsex300-webfont.eot');
    src: url('../fonts/fsex300-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/fsex300-webfont.woff') format('woff'),
         url('../fonts/fsex300-webfont.ttf') format('truetype'),
         url('../fonts/fsex300-webfont.svg#FixedsysExcelsior301Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: aliased;
    font-smooth: never;
}

html, body {
  height: 100%;
  margin: 0; /* Remove default body margin */
  padding: 0; /* Remove default body padding */
}

body {
    font-family: 'FixedsysExcelsior301Regular', monospace;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.5;
    background: linear-gradient(180deg,rgba(245, 245, 245, 1) 0%, rgba(201, 201, 204, 1) 100%);
    background-attachment: fixed;
    font-size: 1.2em;
}

header {
    padding: 1rem 1rem;
    border-bottom: 2px solid var(--border-color);
    width: 80%;
    margin: 0 auto;
}

header h1 {
    font-family: 'FixedsysExcelsior301Regular', monospace;
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0;
}
header h1 a {
    color: var(--text-color);
    text-decoration: none;
}
header h1 a:hover {
    color: var(--border-color);
    text-decoration: none;
}

main {
    max-width: 900px;
    margin: 1rem auto;
    padding: 0 1rem;
}

a {
    color: var(--link-color);
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
    color: #2f94bd;
}

.image-container {
    text-align: center;
    margin-bottom: 2rem;
}

.image-container img, .nsfw-image {
    max-width: 100%;
    max-height: 950px;
    height: auto;
    border: 1px solid var(--border-color);
}

.image-info {
    text-align: left;
    margin-top: 1rem;
}

.image-metadata {
    font-size: 0.65em;
    border: 1px solid var(--border-color);
    padding: 10px;
    background-color: rgb(from var(--accent-color) r g b / 0.2);
}
.nav-links {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.post-content img {
  max-width: 75%;
  max-height: 75%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Desktop styles */
@media (min-width: 768px) {
    .image-container {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .image-container img {
        max-width: 800px;
        width: auto;
        margin-bottom: 0;
    }
    
    .image-info {
        margin-top: 0;
    }
}

/* The rest of your existing CSS remains the same */
.nav-links a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
}
.nav-links a:hover {
    color: #2f94bd;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a.disabled {
    color: var(--accent-color);
    pointer-events: none;
    text-decoration: none;
    font-style: italic;
}

.archive-link {
    margin-top: 2rem;
    text-align: center;
}

.newsletter-form {
    margin-top: 3rem;
    text-align: center;
}

.newsletter-form input[type="email"] {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    font-family: 'FixedsysExcelsior301Regular', monospace;
    width: 60%;
    max-width: 300px;
    margin-bottom: 0.5rem;
}

.newsletter-form button {
    padding: 0.5rem 1rem;
    background-color: var(--link-color);
    font-family: 'FixedsysExcelsior301Regular', monospace;
    color: white;
    border: none;
    cursor: pointer;
    margin-left: 0.5rem;
}

footer {
    margin-top: 4rem;
    padding: 2rem 0;
    background: transparent;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer a {
    margin: 0 1rem;
    color: var(--link-color);
    text-decoration: none;
}

/* ARCHIVE */
.archive {
    margin-top: 2rem;
}

.month-group {
    margin-bottom: 1rem;
}

.toggle-btn {
    font-family: 'FixedsysExcelsior301Regular', monospace;
    width: 100%;
    text-align: left;
    padding: 0.7rem;
    font-size: 1rem;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-weight: bold;
}

.month-content {
    padding: 0.5rem 1rem;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
}

.month-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.month-content li {
    padding: 0.3rem 0;
}

.month-content a {
    text-decoration: none;
    color: var(--link-color);
}

.month-content a:hover {
    text-decoration: underline;
}

.nsfw-container {
            position: relative;
            display: inline-block; /* Or block, depending on your layout */
            cursor: pointer;
        }

        .nsfw-image {
            display: block; /* To remove extra space below image */
            width: 100%; /* Or set a fixed width */
            height: auto;
        }

.blurred {
    filter: blur(20px); /* Adjust blur intensity */
    transition: filter 0.3s ease-in-out;
}

.nsfw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    z-index: 2; /* Ensure overlay is above the image */
}

.hidden {
    opacity: 0;
    pointer-events: none;
}