/* Import fun retro fonts */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&family=VT323&display=swap');

body {
    /* A classic repeating water tile background */
    background-color: #ffffff;
    background-image: url('https://www.transparenttextures.com/patterns/water.png');
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    color: #000033;
    margin: 0;
    padding: 0;
}

/* The Ticker */
.ticker {
    background-color: #000080; /* Navy */
    color: #00FF00; /* Neon plant green */
    font-family: 'VT323', monospace;
    font-size: 24px;
    padding: 5px;
    border-bottom: 3px solid #FFF;
}

/* Centered 900px Layout like old screens */
.wrapper {
    width: 900px;
    margin: 20px auto;
    background-color: #87CEFA; /* Light sky blue background for readability */
    border: 4px outset #4682B4;
    padding: 10px;
}

/* The Banner */
.site-header {
    background-color: #004e92;
    border: 3px inset #008080;
    padding: 10px; /* Reduced padding slightly for better fit */
    margin-bottom: 15px;
}

.site-header h1 {
    font-size: 48px;
    margin: 0;
    color: #FFFF00; /* Yellow text */
    text-shadow: 2px 2px 0px #000; /* Classic drop shadow */
}

/* Layout for the 3 columns */
.layout-3col {
    display: flex;
    justify-content: space-between;
}

/* Sidebars */
.sidebar {
    width: 200px;
    background-color: #E0FFFF; /* Light cyan */
    border: 3px outset #4682B4;
    padding: 10px;
}

.sidebar h3 {
    background-color: #4682B4;
    color: white;
    text-align: center;
    margin: -10px -10px 10px -10px; /* Stretch to edges */
    padding: 5px;
    font-family: 'VT323', monospace;
    font-size: 22px;
}

.sidebar ul {
    list-style-type: square;
    padding-left: 20px;
}

.sidebar a {
    color: #0000CD;
    text-decoration: none;
    font-weight: bold;
}

.sidebar a:hover {
    color: #FF4500;
    text-decoration: underline;
}

/* The Status Box */
.status-box {
    background-color: #FFF;
    border: 2px dashed #4682B4;
    padding: 5px;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Main Content */
.main-content {
    width: 480px;
    background-color: #FFFFFF;
    border: 3px inset #4682B4;
    padding: 15px;
}

/* Posts */
.post {
    border-bottom: 2px dotted #4682B4;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.post h2 {
    color: #008080;
    margin-top: 0;
}

.banner-img {
    max-width: 100%;   /* Ensures it doesn't overflow the container */
    height: auto;      /* Keeps the aspect ratio correct */
    display: block;    /* Helps with alignment */
    margin: 0 auto;    /* Centers the image horizontally */
    border: none;      /* Removes any default browser blue borders on links */
}

.banner-img {
    width: 500px; 
}
.main-content img {
    max-width: 100%;    /* Never wider than the container */
    height: auto;       /* Maintains aspect ratio so the image isn't squashed */
    border: 2px solid #000; /* Adds a nice classic border to photos */
    display: block;
    margin: 10px auto;  /* Centers the images with some breathing room */
}

/* --- RETRO VIEWS COUNTER --- */
.retro-odometer {
    display: inline-flex;
    background-color: #000;
    border: 3px inset #808080; /* Clunky 3D border */
    padding: 2px;
    margin: 10px auto;
}

.retro-odometer .digit {
    background-color: #111;
    color: #FFF;
    font-family: 'VT323', monospace;
    font-size: 28px;
    line-height: 1;
    padding: 2px 6px;
    margin: 0 1px;
    border: 1px solid #333;
    /* Gives the illusion of a curved physical plastic wheel */
    box-shadow: inset 0px 4px 4px rgba(0,0,0,0.8), inset 0px -4px 4px rgba(0,0,0,0.8);
}

/* Make the last digit red for that authentic car-odometer look! */
.retro-odometer .digit:last-child {
    background-color: #FFF;
    color: #CC0000;
    box-shadow: inset 0px 4px 4px rgba(150,150,150,0.8), inset 0px -4px 4px rgba(150,150,150,0.8);
}