body {
    background-image: url(https://sadhost.neocities.org/images/tiles/stars3.gif);
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.window {
    width: 640px;
    margin: 50px auto;
    background-color: #c0c0c0;
    border: 1px solid #000;
    box-shadow: 1px 1px 0 #fff, 0 0 0 1px #000;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    position: relative;
    z-index: 1;
}

.title-bar {
    background: linear-gradient(to right, #000080, #1084d0);
    padding: 3px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: bold;
    font-family: "Tahoma", sans-serif;
    font-size: 14px;
    cursor: default;
}

.title-bar-text {
    padding-left: 5px;
}

.title-bar-controls button {
    width: 18px;
    height: 18px;
    background-color: #c0c0c0;
    border: 1px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow: inset 1px 1px 0px #fff, 0 0 0 1px #808080;
    font-family: "Marlett", "Arial", sans-serif;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    margin-left: 2px;
}

.title-bar-controls button[aria-label="Minimize"]::before { content: "0"; }
.title-bar-controls button[aria-label="Maximize"]::before { content: "1"; }
.title-bar-controls button[aria-label="Close"]::before { content: "r"; }

.window-body {
    padding: 10px;
    text-align: center;
}

marquee {
    margin-top: 10px;
    font-weight: bold;
    color: yellow;
    background-color: red;
}

/* Tab Styles */
.tab-nav {
    overflow: hidden;
    margin-bottom: -1px; /* Overlap with content border */
}

.tab-link {
    background-color: #c0c0c0;
    float: left;
    border: 1px solid;
    border-color: #fff #808080 #808080 #fff;
    outline: none;
    cursor: pointer;
    padding: 5px 10px;
    font-family: "Tahoma", sans-serif;
    font-size: 14px;
    position: relative;
    margin-right: 2px;
    box-shadow: 1px 1px 0 #fff;
}

.tab-link.active {
    border-bottom-color: #c0c0c0; /* Make it look like it merges with the content */
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 15px;
    border: 1px solid;
    border-color: #808080 #fff #fff #808080;
    background: #c0c0c0;
    text-align: left;
    min-height: 300px; /* Give some consistent height */
}

/* Guestbook Styles (inside tabs) */
.guestbook-entries {
    background-color: #fff;
    border: 2px inset #c0c0c0;
    padding: 5px;
    overflow-y: scroll;
    margin-bottom: 10px;
}

.guestbook-form h3 {
    margin-top: 0;
    text-align: center;
}

.guestbook-form label {
    display: block;
    margin-bottom: 3px;
}

.guestbook-form input,
.guestbook-form textarea {
    width: calc(100% - 10px);
    margin-bottom: 10px;
    border: 2px inset #c0c0c0;
    padding: 3px;
    font-family: "Times New Roman", Times, serif;
}

.win-button {
    background-color: #c0c0c0;
    border: 1px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow: 1px 1px 0 #fff;
    padding: 5px 15px;
    font-size: 14px;
}

.win-button:active {
    border-color: #000 #fff #fff #000;
    box-shadow: none;
    transform: translate(1px, 1px);
}

/* Z-Index fix for Clippy */

#blog-content {
    text-align: center;
}

#blog-content img {
    width: 400px;
    height: 200px;
    object-fit: cover;
}
.clippy {
    z-index: 9999 !important;
}
