/* =========================================
   BASE STYLES & TYPOGRAPHY
   ========================================= */
body {
    background-color: #000000; /* Pure black background */
    color: #FFFFFF; /* White text for high contrast */
    font-family: 'Courier New', Courier, monospace; /* Classic retro typewriter font */
    margin: 0;
    padding: 20px;
    cursor: crosshair; /* Pro-Indie Web tip: A fun retro cursor! */
}

/* =========================================
   IMAGES (Keep them contained!)
   ========================================= */
img {
    max-width: 100%; /* Prevents the image from overflowing its container */
    height: auto;    /* Keeps the original aspect ratio intact */
    display: block;  /* Removes weird spacing under images */
    border: 2px solid #FFD700; /* Gold trim for your photos! */
    margin-bottom: 15px;
}

/* =========================================
   MAIN LAYOUT (The "Window")
   ========================================= */
#container {
    max-width: 900px; /* Keeps the site from stretching too wide */
    margin: 0 auto; /* Centers the container on the screen */
    background-color: #00205B; /* Deep Blue background for the content area */
    border: 4px double #FFD700; /* Gold trim! Double border for that old-school frame look */
    padding: 20px;
    box-shadow: 5px 5px 0px #FFFFFF; /* High-contrast retro drop shadow */
}

/* =========================================
   HEADER & MARQUEE
   ========================================= */
#site-header {
    text-align: center;
    border-bottom: 2px solid #FFD700; /* Gold trim separator */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#site-header h1 {
    font-family: 'Impact', 'Arial Black', sans-serif; /* Bold, punchy header font */
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000000; /* Black shadow to make the text pop */
    color: #FFFFFF;
    margin-top: 0;
}

/* Styling the marquee so it fits the theme */
marquee {
    background-color: #000000;
    color: #FFD700; /* Gold text scrolling */
    padding: 5px;
    font-weight: bold;
    border: 1px dashed #FFFFFF;
}

/* =========================================
   FLEXBOX WRAPPER (Sidebar + Main Content)
   ========================================= */
#flex-wrapper {
    display: flex;
    gap: 20px; /* Space between sidebar and main content */
}

/* =========================================
   SIDEBAR STYLES
   ========================================= */
#sidebar {
    width: 200px; /* Fixed width for the menu */
    background-color: #000000;
    border: 2px ridge #FFD700; /* Gold ridge border */
    padding: 15px;
}

#sidebar h2 {
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 5px;
}

#sidebar ul {
    list-style-type: square; /* Retro square bullets */
    padding-left: 20px;
    margin: 0;
}

#sidebar li {
    margin-bottom: 10px;
}

/* Link Styles */
a {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px dotted #FFD700;
}

a:hover {
    color: #000000;
    background-color: #FFD700; /* Links highlight in gold when hovered! */
    text-decoration: none;
}

.badges {
    margin-top: 30px;
    text-align: center;
}

.badges img {
    border: none; /* Removes the gold border specifically from your 88x31 badges */
    margin: 0 auto;
}

/* =========================================
   MAIN CONTENT & CSS GRID BUTTONS
   ========================================= */
#content {
    flex: 1; /* Tells the main content to fill the rest of the available space */
}

.intro-box {
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-box h2 {
    margin-top: 0;
    color: #FFD700;
}

/* The Zone Links */
.grid-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Responsive grid! */
    gap: 15px;
}

.zone-link {
    display: block;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 15px 10px;
    border: 3px outset #FFD700; /* Outset border gives a 3D "clickable" button look */
    font-weight: bold;
    text-decoration: none;
    transition: all 0.1s; /* Tiny delay for a snappy feel */
}

.zone-link:active {
    border-style: inset; /* The button looks "pressed" when clicked! */
}

.zone-link:hover {
    background-color: #00205B; /* Changes to Theta Delta Chi blue on hover */
    color: #FFD700; /* Text turns gold on hover */
}

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 2px solid #FFD700;
    font-size: 0.85em;
}

.webring {
    margin-top: 10px;
}

.webring span {
    color: #FFD700;
    font-weight: bold;
}