* { box-sizing: border-box; }

html {
    background: #000;
    background-image: radial-gradient(circle, #222 1px, transparent 1px);
    background-size: 30px 30px;
}

body {
    margin: 0;
    padding: 20px;
    color: #111;
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    line-height: 1.5;
}

.site {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border: 3px outset #eee;
    background: #c0c0c0;
}

header {
    height: 64px;
    overflow: hidden;
    border: 1px solid #222;
    background: #c8c8c8;
}

marquee { display: block; height: 100%; }
header h1 {
    margin: 12px 0;
    font-family: "Times New Roman", Times, serif;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: .03em;
    text-align: left;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 12px 0;
    padding: 5px;
    border: 1px solid #222;
    background: #c8c8c8;
}

.tab-btn {
    padding: 4px 8px;
    border: 1px solid #222;
    color: #111;
    background: #e8e8e8;
    font: inherit;
    cursor: pointer;
}

.tab-btn:hover, .tab-btn.active { color: #fff; background: #333; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.top-div, .bottom-div, .left-div, .right-div, #tab-sites {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #222;
    background: #f5f5f5;
}

.row { display: flex; gap: 12px; }
.left-div, .right-div { width: 50%; margin-bottom: 0; }

h2, h3 { margin-top: 0; font-family: "Times New Roman", Times, serif; }
h2 { margin-bottom: 10px; font-size: 22px; }
h3 { margin-bottom: 8px; font-size: 18px; }
p { max-width: 72ch; }

.icon-text { display: flex; align-items: center; gap: 8px; }
.icon-text h2 { margin: 0; }
.h2-icon { width: 32px; height: 32px; border: 1px solid #222; }

a { color: #111; font-weight: bold; }
a:hover { color: #fff; background: #333; }

#projects-list { padding-left: 20px; }
#projects-list li { margin: 7px 0; }
#projects-list a { font-weight: bold; }

.release-item { padding: 10px 0; border-top: 1px solid #888; }
.release-item h3 { margin-bottom: 4px; }
.release-item small, .release-item em { color: #555; font-weight: normal; }
#back-button { margin-bottom: 12px; padding: 4px 8px; border: 1px solid #222; background: #ddd; font: inherit; cursor: pointer; }
#back-button:hover { color: #fff; background: #333; }

.other-site { padding: 8px 0; border-bottom: 1px solid #888; }
.other-site:last-child { border-bottom: 0; }
.other-site p { margin: 3px 0; }

@media (max-width: 600px) {
    body { padding: 8px; }
    .row, .projects { display: block; }
    .left-div, .right-div { width: 100%; margin-bottom: 12px; }
    .project { margin-bottom: 10px; }
}
