/* Matt Howe's Super Retro CSS Stylesheet */
/* Warning: This CSS may cause severe nostalgia */

body {
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    background-color: #ffffff;
    background-image: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="a" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="%23ffffff"/><circle cx="10" cy="10" r="1" fill="%23f0f0f0"/></pattern></defs><rect width="100%" height="100%" fill="url(%23a)"/></svg>');
    margin: 0;
    padding: 10px;
    color: #000000;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #000080;
    background-color: #ffffff;
}

/* Header with marquee */
.header {
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
    padding: 5px;
    border-bottom: 2px solid #000080;
    color: #000000;
    font-weight: bold;
    font-size: 14px;
}

/* Table styling for that authentic late 90s look */
table {
    background-color: #ffffff;
}

/* Sidebar styling */
.sidebar {
    background-color: #f0f0f0;
    border-right: 2px solid #cccccc;
}

.nav-box, .counter-box, .webring-box {
    border: 2px inset #cccccc;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #e0e0e0;
}

.nav-box h3 {
    color: #000080;
    font-size: 14px;
    margin-top: 0;
    text-decoration: underline;
}

.nav-box ul {
    list-style-type: none;
    padding-left: 0;
}

.nav-box li {
    margin-bottom: 5px;
}

.nav-box a {
    color: #0000ff;
    text-decoration: underline;
    font-size: 11px;
}

.nav-box a:hover {
    color: #ff0000;
    background-color: #ffff00;
}

.counter-box h4, .webring-box h4 {
    color: #800080;
    font-size: 12px;
    margin-top: 0;
}

.counter-box {
    text-align: center;
}

.webring-box a {
    color: #008000;
    font-size: 10px;
    text-decoration: underline;
}

/* Main content area */
.main-content {
    padding: 20px;
}

.content-box {
    background-color: #ffffff;
}

h1 {
    color: #ff0000;
    font-size: 24px;
    text-align: center;
    font-family: "Comic Sans MS", cursive, sans-serif;
    text-shadow: 2px 2px #cccccc;
    margin-bottom: 5px;
}

h2 {
    color: #008000;
    font-size: 16px;
    text-align: center;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 20px;
}

h3 {
    color: #000080;
    font-size: 18px;
    text-decoration: underline;
    border-bottom: 2px solid #cccccc;
    padding-bottom: 5px;
}

h4 {
    color: #800080;
    font-size: 14px;
}

/* Photo styling */
.photo-section {
    text-align: center;
    margin: 20px 0;
}

.main-photo {
    border: 3px solid #000000;
    padding: 2px;
    background-color: #ffffff;
    box-shadow: 3px 3px 5px #cccccc;
    /*transform: rotate(-90deg);*/
    display: inline-block;
}

.photo-section p {
    font-style: italic;
    color: #666666;
    font-size: 11px;
    margin-top: 10px;
}

/* Fun fact box */
.fun-fact-box {
    background-color: #ffffcc;
    border: 2px dashed #ff6600;
    padding: 15px;
    margin: 20px 0;
}

.fun-fact-box h4 {
    color: #ff6600;
    margin-top: 0;
}

/* Project sections */
.project {
    background-color: #f0f8ff;
    border: 1px solid #000080;
    padding: 10px;
    margin: 10px 0;
}

.project h4 {
    color: #000080;
    margin-top: 0;
}

/* Links section */
.links-section ul {
    list-style-type: none;
    padding-left: 0;
}

.links-section li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

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

.links-section a:hover {
    color: #ffffff;
    background-color: #0000ff;
    padding: 2px;
}

.links-section a:visited {
    color: #800080;
}

/* Guestbook */
.guestbook-box {
    background-color: #fff8dc;
    border: 2px groove #cccccc;
    padding: 15px;
    margin: 15px 0;
}

.guestbook-box form {
    margin-top: 10px;
}

.guestbook-box input, .guestbook-box textarea {
    font-family: "Courier New", monospace;
    font-size: 11px;
    border: 2px inset #cccccc;
    padding: 2px;
}

.retro-button {
    background-color: #c0c0c0;
    border: 2px outset #cccccc;
    font-size: 11px;
    padding: 5px 15px;
    cursor: pointer;
}

.retro-button:hover {
    background-color: #d0d0d0;
}

.retro-button:active {
    border: 2px inset #cccccc;
    background-color: #a0a0a0;
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    border-top: 2px solid #cccccc;
    padding: 10px;
    text-align: center;
    font-size: 10px;
    color: #666666;
}

.footer a {
    color: #008000;
    text-decoration: underline;
}

/* Blink animation for maximum 90s effect */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

blink {
    animation: blink 1s infinite;
    color: #ff0000;
    font-weight: bold;
}

/* Scrollbar styling for that Windows 98 feel */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background-color: #c0c0c0;
    border: 1px solid #808080;
}

::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border: 1px outset #c0c0c0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d0d0d0;
}

/* Some extra retro touches */
marquee {
    font-weight: bold;
    color: #000080;
}

/* Make sure everything looks appropriately retro on different screen sizes */
@media screen and (max-width: 600px) {
    .container {
        margin: 5px;
    }
    
    table, tr, td {
        display: block;
        width: 100% !important;
    }
    
    .sidebar {
        border-right: none;
        border-bottom: 2px solid #cccccc;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .main-photo {
        max-width: 90%;
        height: auto;
    }
}

/* Retro Carousel Styling */
.retro-carousel {
    position: relative;
    max-width: 500px;
    margin: 20px auto;
    border: 3px solid #000080;
    background-color: #c0c0c0;
    padding: 5px;
    box-shadow: 3px 3px 10px #666666;
}

.carousel-container {
    position: relative;
    background-color: #ffffff;
    border: 2px inset #cccccc;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    text-align: center;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border: 1px solid #000000;
}

.carousel-caption {
    background-color: #ffffcc;
    border: 1px solid #000080;
    padding: 5px;
    margin-top: 5px;
    font-size: 10px;
    font-family: "Arial", sans-serif;
    color: #000080;
}

/* Retro Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #c0c0c0;
    border: 2px outset #cccccc;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-family: "Arial", sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-nav:hover {
    background-color: #d0d0d0;
}

.carousel-nav:active {
    border: 2px inset #cccccc;
    background-color: #a0a0a0;
}

.carousel-prev {
    left: -35px;
}

.carousel-next {
    right: -35px;
}

/* Carousel indicators (dots) */
.carousel-indicators {
    text-align: center;
    padding: 10px 0 5px 0;
    background-color: #c0c0c0;
    border-top: 1px solid #808080;
}

.carousel-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #808080;
    border: 1px solid #000000;
    margin: 0 3px;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #ff0000;
    box-shadow: 0 0 3px #ff0000;
}

.carousel-dot:hover {
    background-color: #0000ff;
}

/* Counter display */
.carousel-counter {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #000000;
    color: #00ff00;
    padding: 2px 6px;
    font-family: "Courier New", monospace;
    font-size: 10px;
    border: 1px solid #00ff00;
    z-index: 5;
}

/* Additional retro elements */
.sparkle {
    color: #ff69b4;
    font-weight: bold;
    text-decoration: none;
}

/* Because every 90s site needs some Comic Sans */
.comic {
    font-family: "Comic Sans MS", cursive, sans-serif;
}

/* Web 1.0 link styling */
a {
    color: #0000ee;
    text-decoration: underline;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #ee0000;
}

/* Make sure our nostalgic elements stand out */
small {
    font-size: 9px;
}

/* One final touch - that authentic geocities feel with some cyber flair */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><text x="50" y="50" font-family="Courier New" font-size="6" fill="%23f0f0f0" text-anchor="middle" opacity="0.2">SECURE • AUTHENTICATED • VINTAGE</text></svg>');
    pointer-events: none;
    z-index: -1;
}

/* Cybersecurity themed enhancements */
.cyber-badge {
    display: inline-block;
    background: linear-gradient(45deg, #001100, #003300);
    color: #00ff00;
    font-family: "Courier New", monospace;
    font-size: 10px;
    padding: 2px 6px;
    border: 1px solid #00ff00;
    margin: 2px;
    text-shadow: 0 0 3px #00ff00;
}

/* Add some terminal-style elements */
.terminal-prompt::before {
    background-color: #000000;
    content: "matt@howe-org:~$ cat /dev/random > /dev/null #i do it cuz i can, yolo";
    color: #00ff00;
    border: 1px solid #000080;
    padding: 4px;
    margin: 4px 0;
    font-family: "Courier New", monospace;
    font-weight: bold;
}

/* Enhance project boxes with some retro-tech vibes */
.project {
    position: relative;
}

.project::after {
    content: "[STATUS: ACTIVE]";
    position: absolute;
    top: 5px;
    right: 5px;
    font-family: "Courier New", monospace;
    font-size: 8px;
    color: #008000;
    opacity: 0.7;
}