/* The Classic 90s Vibe */
body {
    background-color: #c0c0c0; /* Standard Windows Gray */
    color: #000000;
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    padding: 20px;
}

/* Top Header Navigation */
.top-header {
    background-color: #dfdfdf;
    border: 3px outset #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.header-content h1 {
    font-size: 32pt;
    color: #000080;
    margin: 5px 0;
}

.header-content .subtitle {
    margin: 5px 0 10px 0;
}

.top-nav {
    margin-top: 10px;
    border-top: 2px groove #ffffff;
    padding-top: 10px;
}

.top-nav a {
    color: #0000ff;
    font-weight: bold;
    text-decoration: underline;
    margin: 0 15px;
}

.top-nav a:visited {
    color: #800080;
}

.top-nav a:hover {
    color: #ff0000;
}

/* Three-Column Layout Container */
.layout-container {
    display: flex;
    gap: 15px;
}

.sidebar {
    width: 20%;
    background-color: #dfdfdf;
    border: 3px outset #ffffff;
    padding: 10px;
}

.main-content {
    width: 60%;
    background-color: #c0c0c0;
}

.sidebar-box {
    background-color: #ffffff;
    border: 2px inset #ffffff;
    padding: 10px;
    margin-bottom: 15px;
}

.sidebar-box h3 {
    color: #000080;
    font-size: 14pt;
    margin: 5px 0 10px 0;
    border-bottom: 2px groove #ffffff;
    padding-bottom: 5px;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-box li {
    margin: 5px 0;
}

.sidebar-box a {
    color: #0000ff;
    font-weight: bold;
    text-decoration: underline;
}

.sidebar-box a:visited {
    color: #800080;
}

.sidebar-box a:hover {
    color: #ff0000;
}

.sidebar-box p {
    font-size: 11pt;
    line-height: 1.5;
}

/* Weather Display */
.weather-box {
    font-size: 11pt;
    line-height: 1.4;
}

.weather-box p {
    margin: 5px 0;
    font-size: 10pt;
}

.weather-icon {
    font-size: 48px;
    text-align: center;
    margin: 10px 0;
}

/* News Ticker */
.news-ticker {
    background-color: #000080;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12pt;
    font-weight: bold;
    margin: 10px 0;
    border: 2px inset #ffffff;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 10s linear infinite;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-right: 50px; /* Space between repeated content */
}

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

/* Media gallery */
#media-gallery {
    margin-top: 20px;
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.media-item {
    flex: 1 1 220px;
    min-width: 180px;
    background-color: transparent;
    border: none;
    padding: 0;
    text-align: center;
}

.media-item img,
.media-item video {
    max-width: 100%;
    height: auto;
    border: none;
}



/* Header and Navigation - OLD STYLES (removed, using .top-header now) */


/* The legendary blue/purple links - UPDATED for new layout */

/* The "Museum Grid" now looks like a Data Table */
.grid-container {
    display: block; /* 90s sites rarely used grids; they used lists */
    margin-top: 20px;
}

.artifact-card {
    background-color: #ffffff;
    border: 2px inset #ffffff;
    margin-bottom: 20px;
    padding: 10px;
}

.artifact-image {
    border: 3px solid #000000; /* Heavy borders on images */
    width: 200px;
    height: auto;
    float: left; /* Text wraps around the image */
    margin-right: 15px;
}

.artifact-info {
    overflow: hidden; /* Keeps the text next to the floated image */
}

.section-label {
    background-color: #000080;
    color: #ffffff;
    padding: 2px 10px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

#curios,
#gallery {
    overflow: hidden;
    margin-top: 20px;
}

.artifact-card {
    background-color: #ffffff;
    border: 2px inset #ffffff;
    margin-bottom: 20px;
    padding: 10px;
    width: 48%;
    float: left;
    margin-right: 4%;
    box-sizing: border-box;
}

.artifact-card:nth-of-type(2n) {
    margin-right: 0;
}

.artifact-card:last-of-type {
    margin-bottom: 0;
}

.artifact-image {
    border: 3px solid #000000; /* Heavy borders on images */
    width: 160px;
    height: auto;
    float: left; /* Text wraps around the image */
    margin-right: 15px;
}

.artifact-info {
    overflow: hidden; /* Keeps the text next to the floated image */
}

/* Footer Hit Counter Vibe */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 10pt;
}

/* 90's Table Styling */
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12pt;
    margin-top: 10px;
}

td {
    border: 1px solid #000000;
    padding: 8px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f0f0f0;
}