/* ~~~ NGNT AWESOME WEBRING STYLESHEET ~~~ */
/* Retro 90s styling for the coolest webring on the internet! */

/* Body and basic styling */
body {
    background-color: #0000FF;
    background-image: url("https://www.transparenttextures.com/patterns/hexellence.png");
    margin: 0;
    padding: 20px;
    font-family: "Times New Roman", Times, serif;
}

/* Layout container */
.page-container {
    display: flex;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar styling */
.sidebar {
    width: 250px;
    flex-shrink: 0;
    margin-left: -160px;
}

/* Right sidebar styling */
.right-sidebar {
    width: 250px;
    flex-shrink: 0;
    margin-right: -160px;
}

/* Main content area */
.main-content {
    flex: 1;
    margin: 0 20px;
    min-width: 0; /* This prevents the marquee from stretching the entire page */
}

/* About me panel */
.about-me-panel {
    background-color: #FF00FF;
    border: 6px solid #00FF00;
    margin-bottom: 20px;
}

    .about-me-panel:hover {
        border-color: #FFFF00;
    }

    .about-me-panel:has(td:hover) {
        border-color: #00FF00;
    }

    .about-me-panel td {
        padding: 15px;
    }

.about-me-header {
    color: #FFFF00;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.about-me-content {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.4;
}

.about-me-avatar {
    border: 4px solid #0e51ba;
    margin: 10px 0;
}

.about-me-links {
    margin-top: 15px;
}

    .about-me-links a {
        color: #00FFFF;
        font-weight: bold;
        text-decoration: underline;
        display: block;
        margin: 5px 0;
    }

        .about-me-links a:hover {
            color: #FFFF00;
        }

/* Stats section in about me */
.about-stats {
    background-color: #000000;
    color: #00FF00;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #FFFFFF;
    font-size: 12px;
}

.stat-item {
    margin: 3px 0;
}

/* Center alignment utility */
.center {
    text-align: center;
}

/* Main title styling */
.main-title {
    color: #FF0000;
    font-size: 48px;
    font-weight: bold;
}

.blink-text {
    animation: blink 1s infinite;
}

.sprite {
    vertical-align: middle;
    margin: 0 20px;
    /* Retro sprites are usually displayed without anti-aliasing */
    image-rendering: pixelated;
}

/* Blink animation */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

/* Horizontal rule styling */
hr {
    color: #FF00FF;
    background-color: #FF00FF;
    height: 5px;
    border: none;
}

/* Update header */
.update-header {
    color: #00FF00;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    animation: blink 2s infinite; /* A slow blink for that 90s aesthetic */
}

/* Marquee styling */
.marquee {
    background-color: #FFFF00;
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate3d(100%, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.marquee-alternate {
    background-color: #FF0000;
    color: #FFFFFF;
    font-size: 20px;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-alternate-text {
    display: inline-block;
    animation: marquee-alternate 8s ease-in-out infinite;
}

@keyframes marquee-alternate {
    0%, 100% {
        transform: translateX(-50%);
    }

    50% {
        transform: translateX(50%);
    }
}

/* Table styling */
.main-info-table {
    border: 10px solid #FF0000;
    background-color: #00FF00;
    margin: 20px auto;
}

    .main-info-table:hover {
        border-color: #FF00FF;
    }

    .main-info-table:has(td:hover) {
        border-color: #FF0000;
    }

    .main-info-table td {
        padding: 15px;
    }

.owner-info {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
}

.email-info {
    color: #0000FF;
    font-size: 14px;
}

/* Description panel under main info */
.desc-table {
    border: 8px solid #FF00FF;
    background-color: #000000;
    margin: 20px auto;
    max-width: 600px;
}

    .desc-table td {
        padding: 15px;
    }

.desc-title {
    color: #FFFF00;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.desc-info {
    color: #00FF00;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

/* Section headers */
.section-header {
    color: #FF00FF;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0;
}

.social-sites-header {
    color: #00FFFF;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0; /* Removing the default bottom margin */
}

/* Navigation table */
.nav-table {
    border: 8px solid #0000FF;
    background-color: #FFFF00;
    margin: 20px auto;
}

    .nav-table td {
        padding: 15px;
    }

.nav-button {
    border: 4px solid #000000;
}

.webring-logo {
    border: 5px solid #000000;
}

.nav-links {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
}

    .nav-links a {
        color: #000000;
        text-decoration: underline;
    }

        .nav-links a:hover {
            color: #FF0000;
        }

/* Teardown mods strip (wrapping logos) */
.mods-strip {
    border: 8px solid #FF0000;
    background-color: #FFFF00;
    margin: 0 auto 20px auto;
    padding: 10px;
    max-width: 600px;
}

    .mods-strip:hover {
        border-color: #00FF00;
    }

    .mods-strip:has(a:hover) {
        border-color: #FF0000;
    }

.mods-row {
    display: block; /* allow elements to wrap dynamically */
}

.mod-link {
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
    text-decoration: none;
}

    .mod-link:hover .mod-title {
        color: #FF0000;
        text-decoration: underline;
    }

/* Teardown mod logos - small fixed size */
.mod-logo {
    display: block;
    width: 100px;
    height: 100px;
    border: 4px solid #000000;
    background-color: #00FF00;
    margin: 10px auto 5px auto;
    object-fit: contain;
}

.mod-title {
    display: block;
    color: #0000FF;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    max-width: 108px;
    margin: 0 auto 10px auto;
    word-wrap: break-word;
}

/* Member sites table */
.social-sites-table {
    border: 6px solid #00FF00;
    background-color: #FF00FF;
    margin: 0 auto 20px auto;
}

    .social-sites-table td {
        padding: 15px;
        text-align: center;
    }

.site-image {
    border: 3px solid #000000;
}

.site-label-white {
    color: #FFFFFF;
    font-size: 12px;
}

.site-label-black {
    color: #000000;
    font-size: 12px;
}

/* Join webring section */
.join-table {
    border: 5px solid #FFFFFF;
    background-color: #000000;
    margin: 20px auto;
}

    .join-table td {
        padding: 20px;
    }

.join-title {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
}

.join-text {
    color: #00FF00;
    font-size: 14px;
}

.join-link {
    color: #FFFF00;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

    .join-link:hover {
        color: #FFFFFF;
    }

/* Footer table */
.footer-table {
    border: 3px solid #000000;
    background-color: #00FFFF;
    margin: 20px auto;
}

    .footer-table td {
        padding: 15px;
    }

.footer-text {
    color: #000000;
    font-size: 12px;
}

.home-button {
    border: 2px solid #000000;
}

.visitor-count {
    animation: blink 1s infinite;
}

/* Footer info */
.footer-info {
    color: #FFFFFF;
    font-size: 10px;
}

/* Spacing utilities */
.spacing-br {
    margin: 20px 0;
}

.spacing-br-double {
    margin: 40px 0;
}

/* Stamp collection */
.stamp-list {
    display: block;
    margin: 10px 0;
    height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 2px inset #FFFFFF;
    padding: 10px;
    background-color: #000000;
}

    /* Detailed WebKit scrollbar styling */
    .stamp-list::-webkit-scrollbar {
        width: 12px;
    }

    .stamp-list::-webkit-scrollbar-track {
        background: #000000;
        border-left: 1px solid #00FFFF;
    }

    .stamp-list::-webkit-scrollbar-thumb {
        background: #00FFFF;
        border: 1px solid #000000;
    }

        .stamp-list::-webkit-scrollbar-thumb:hover {
            background: #FF00FF;
        }

.stamp {
    border: 2px solid #FFFFFF;
    image-rendering: pixelated;
}

    .stamp:hover {
        border: 2px solid #FFFF00;
    }

/* Image styling */
img {
    vertical-align: middle;
}
