@font-face {
    font-family: 'Gothic War';
    src: url('Gothic War.otf') format('opentype');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    background-image: url('https://i.postimg.cc/J4ncDz5Q/1356123p588bbgb3x.jpg');
    background-repeat: repeat;
    color: #c0c0c0;
    font-family: monospace, sans-serif;
    height: 100vh; 
    overflow: hidden; 
    cursor: url('https://gloomy-poison.neocities.org/spooky_graphics/9167a.gif'), auto;
    font-size: 12px;
}

a { 
    color: #ff3333; 
    text-decoration: none; 
}

.center {
    text-align: center;
}

a:hover { 
    color: #ff6666; 
    text-decoration: underline; 
    cursor: url('https://64.media.tumblr.com/064396e785e95991f428e7abcb09f2c0/edbca933916f8271-ef/s75x75_c1/3e1f6784ed42f77cf293da89e75faa8ecf8efbeb.gifv'), pointer;
}

.journal-list a {
    color: #fff;
    text-decoration: none; 
}

.journal-list a:hover {
    color: #ff3333; 
    cursor: url('https://64.media.tumblr.com/064396e785e95991f428e7abcb09f2c0/edbca933916f8271-ef/s75x75_c1/3e1f6784ed42f77cf293da89e75faa8ecf8efbeb.gifv'), pointer;
}

.wrapper {
    max-width: 950px; 
    margin: 0 auto; 
    padding: 20px 15px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-box {
    text-align: center;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.header-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    padding-right: 30px;
}

.header-badges {
    display: flex;
}

.layout-grid {
    display: grid;
    grid-template-columns: 200px 1fr 220px; 
    gap: 20px;
    flex-grow: 1;
    overflow: hidden; 
    padding-bottom: 10px;
}

.sidebar-col {
    height: 100%;
    overflow: visible;
}

.edge-img {
    display: block;
    width: calc(100% + 20px); 
    margin-left: -15px;
}

.top-edge {
    margin-top: -15px;
    margin-bottom: 15px;
}

.bottom-edge {
    margin-bottom: -15px;
    margin-top: 15px;
    transform: rotate(180deg); 
}

.center-col {
    height: 100%;
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-color: #8b0000 #111; 
}

.center-col::-webkit-scrollbar { width: 10px; }
.center-col::-webkit-scrollbar-track { background: #111; border: 1px solid #330000; }
.center-col::-webkit-scrollbar-thumb { background: #8b0000; border: 1px solid #ff3333; }

.content-box {
    background-color: #000;
    border: 1px solid #ff3333;
    padding: 5px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.content-box h2, h3 {
    color: #fff;
    text-align: center;
    font-family: 'Gothic War';
    font-size: 30px;
}

.nav-menu {
    border: none;
    background-color: #000;
}


.nav-menu ul { 
    list-style: none;
    margin-bottom: 20px; 
    max-height: 60px;
    overflow-y: auto;
}

.nav-menu ul::-webkit-scrollbar { width: 8px; }
.nav-menu ul::-webkit-scrollbar-track { background: #000; }
.nav-menu ul::-webkit-scrollbar-thumb { background: #8b0000; }

.nav-menu li { 
    margin-bottom: 5px; 
    background-color: #000; 
    text-align: center; 
}

.nav-menu li a { 
    display: block; 
    padding: 2px;
    color: #ff3333;
    text-decoration: none;
    transition: text-shadow 0.3s ease, color 0.3s ease; 
}

.nav-menu li a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 
                 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-menu h2 {
    background: none;
    border: none;
}

.socials-box {
    border: none;
    background-color: #000;
    margin-top: 20px;
}

.heading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.heading-container h2 {
    margin-bottom: 0;
    font-family: 'Gothic War';
    background: none;
    border: none;
}

.heading-gif {
    width: 30px;
    height: auto;
}

.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    background-image: url(https://i6.glitter-graphics.org/pub/1298/1298756a8kim2zpwi.gif);
    margin-bottom: 8px;
    padding: 5px;
    text-align: center;
    color: #000;
    transition: background 0.3s ease;
}

.social-links li:hover {
    background-image: url(https://i.postimg.cc/cLn6hN6k/2446618ucvkoltgsy.gif);
    color: #fff;
}

.social-links li a {
    font-family: 'Gothic War', monospace;
    font-size: 1.2em;
    display: block;
    letter-spacing: 2px;
    color: #fff;
}

.scroll-box {
    max-width: 100%;
    max-height: 100px;
    overflow-y: auto;
    background: #000;
    border: 1px solid #ff3333;
    padding: 10px;
}

.scroll-box::-webkit-scrollbar { width: 8px; }
.scroll-box::-webkit-scrollbar-track { background: #111; }
.scroll-box::-webkit-scrollbar-thumb { background: #8b0000; }

.bottom-content {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bottom-content img {
    max-width: 100%;
}

.button-code textarea { width: 100%; height: 60px; background: #000; color: #ff3333; border: 1px solid #8b0000; padding: 5px; font-family: monospace; resize: none; }
.update-log p { 
    font-size: 0.85em; 
    border-bottom: 1px dotted #5a0000; 
    padding-bottom: 5px; 
    margin-bottom: 8px; 
    font-size: 10px;
}
.update-log {
    border: none;
    height: 100px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Optional: Match your existing scrollbar style */
.update-log::-webkit-scrollbar { width: 6px; }
.update-log::-webkit-scrollbar-track { background: #000; }
.update-log::-webkit-scrollbar-thumb { background: #8b0000; }

.relative-box {
    position: relative;
}

.sticker1 { 
    position: absolute; 
    bottom: -100px;
    right: 120px;
    z-index: 100; 
    pointer-events: none; 
    width: 180px; 
    height: auto;
    transform: rotate(10deg);
}

.sticker2 { 
    position: absolute; 
    z-index: 100; 
    top: -5px;
    left: 140px;
    pointer-events: none; 
    width: 120px; 
    height: auto;
    transform: rotate(-10deg);
}

.sticker3 { 
    position: absolute; 
    bottom: -150px;
    right: -20px;
    z-index: 100; 
    pointer-events: none; 
    transform: rotate(10deg);
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
}

.marquee-content img {
    margin-right: 10px;
    vertical-align: middle;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.corner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    width: 350px; 
    height: auto;
}

.button-box {
    background-color: #000;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
}

.button-box img {
    max-width: 100%;
    margin-top: 3px;
}

.bottom-right-overlay {
    position: fixed; 
    bottom: 30px;
    right: 10px;
    z-index: 9999; 
    pointer-events: none; 
    width: 250px; 
    height: auto;
}

.full-width-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    border-top: 2px solid #8b0000;
    z-index: 9000;
}

.footer-marquee {
    margin-bottom: 0;
    border: none;
    padding: 6px 0;
}

.wrapper {
    padding-bottom: 60px;
}

.warning {
    font-size: 10px;
    text-align: center;
    border: 1px solid #000;
    background-color: #8b0000;
    color: #fff;
    background-image: url(https://i.postimg.cc/zXMVTfX1/2160877q1r3wnyq03.gif);
}

.header-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-inline h2 {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font-family: 'Gothic War';
}

.header-inline img {
    height: 30px;
    width: auto;
}

.webmaster {
    border: 1px solid #fff;
    background-image: url(https://i4.glitter-graphics.org/pub/425/425374cud62v3a1s.png);
    background-repeat: repeat;
}

.webmaster p {
    background-color: #000;
    color: #fff;
    padding: 2px;
    font-size: 12px;
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-right {
    animation: scroll-right 20s linear infinite;
}

.welcome-gif {
    max-width: 100%;
}

.side-div {
    max-width: 100%;
}


.side-by-side-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    background-color: #000;
    border: 1px solid #ff3333;
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.left-box, .right-box {
    background: #000;
    padding: 20px;
}

.right-box {
    width: 150px;
    height: 150px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid #8b0000;
    background-image: url(https://i.postimg.cc/jSx5DLC8/1986180tdod9rk9jy.gif);
    background-repeat: repeat;
}

.nav-btn {
    max-width: 100%;
}

.right-box::-webkit-scrollbar { width: 6px; }
.right-box::-webkit-scrollbar-track { background: #000; }
.right-box::-webkit-scrollbar-thumb { background: #8b0000; }

.journal-container {
    padding: 20px;
    background: #000;
    border:1px solid #8b0000
}

.journal-list {
    list-style: none;
    padding: 0;
}

.journal-list li {
    display: flex;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.date {
    font-family: monospace;
    color: #8b0000;
    white-space: nowrap;
}

.title {
    color: #c0c0c0;
}

.journal-list li:hover .title {
    color: #ff3333;
    cursor: pointer;
}

.todo-list {
    list-style: square;
    padding-left: 20px;
    color: #c0c0c0;
    font-family: monospace;
    height: 50px;
    overflow-y: auto;
    font-size: 10px;
}

.todo-list::-webkit-scrollbar {
    width: 6px;
}
.todo-list::-webkit-scrollbar-thumb {
    background: #8b0000;
}
.todo-list li:hover {
    color: #ff3333;
}

.tama {
    text-align: center;
}

.inline-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.inline-content img {
    max-width: 100px;
    height: auto;
}

.inline-content p {
    margin: 0;
}

.flush-box {
    border: 1px solid #7A1810;
    background-color: #000;
}

.content-box.flush-box {
    padding: 0; /* Removes the gap between images and the border */
    overflow: hidden; /* Ensures images don't bleed over rounded corners if you have them */
}

/* Re-apply padding only to your text so it isn't hitting the borders */
.content-box.flush-box p, 
.content-box.flush-box .inline-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure images are block-level so they don't have bottom white-space gaps */
.content-box.flush-box img {
    display: block;
    width: 100%;
}

.invalid-link {
    text-decoration: line-through!important;
}

.scanline-box {
    position: relative;
    overflow: hidden;
}

.scanline-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.2) 50%
    );
    
    background-size: 100% 4px; 
    
    pointer-events: none;
}

.red-bold {
    color: #8b0000;
}

.inner-content p {
    margin-top: 10px;
}

.cringe-marquee {
    font-family: 'Gothic War', monospace;
    font-size: 24px;
    color: #fff;
    padding: 10px;
    animation: pulse-red 1.5s infinite alternate;
}

@keyframes pulse-red {
    from {
        text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
    }
    to {
        text-shadow: 0 0 20px #ff0000, 0 0 30px #ff0000;
    }
}

.img-fit {
    max-width: 100%;
}

.custom-list {
    list-style: none;
    padding-left: 20px;
}

.custom-list li {
    background-image: url('https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/3d45c08b-4542-4268-bb70-2194b4ff5dac/dfwdoh9-70d73aaf-5ab2-4b93-9474-bb265bdcc921.gif?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiIvZi8zZDQ1YzA4Yi00NTQyLTQyNjgtYmI3MC0yMTk0YjRmZjVkYWMvZGZ3ZG9oOS03MGQ3M2FhZi01YWIyLTRiOTMtOTQ3NC1iYjI2NWJkY2M5MjEuZ2lmIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.kwNKfoHDuHaluOUolnZujsQ0WZB9UNnMdKNow77ewwc');
    background-repeat: no-repeat;
    background-size: 15px 15px;
    padding-left: 25px; 
    margin-bottom: 8px;
}

.bio-buttons {
    text-align: center;
    margin: 15px 0;
}

.bio-buttons a {
    display: inline-block;
    font-family: 'Gothic War', sans-serif;
    font-size: 20px;
    color: #ff3333;
    text-decoration: none;
    padding: 5px 15px;
    margin: 0 5px;
    background-color: #000;
    border: 1px solid #8b0000;
    transition: all 0.3s ease;
}

.bio-buttons a:hover {
    color: #ffffff;
    border-color: #ff3333;
    background-color: #1a0000;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 
                 0 0 15px rgba(255, 0, 0, 0.8);
    cursor: url('https://64.media.tumblr.com/064396e785e95991f428e7abcb09f2c0/edbca933916f8271-ef/s75x75_c1/3e1f6784ed42f77cf293da89e75faa8ecf8efbeb.gifv'), pointer;
}

.floating-guestbook {
    position: fixed;
    top: 40px;
    right: 300px;
    z-index: 9999;
    transition: transform 0.3s ease;
    display: block;
    transform: rotate(15deg);
}

.floating-guestbook img {
    width: 120px;
    display: block;
}

.floating-guestbook:hover {
    transform: rotate(3deg);
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background: #000;
    border: 2px solid #ff3333;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close-btn {
    color: #ff3333;
    float: right;
    font-size: 28px;
    cursor: pointer;
}