/* 1998-core Pure Text Stylesheet */

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body - classic web 1.0 feel */
body {
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
  background-color: #ffffff;
  margin: 0;
  padding: 20px;
}

/* Container */
.container {
  max-width: 700px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin: 1em 0 0.5em 0;
}

h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }

p {
  margin: 1em 0;
}

/* Links - classic blue/purple */
a {
  color: #0000EE;
  text-decoration: underline;
}

a:visited {
  color: #551A8B;
}

a:hover {
  color: #FF0000;
}

a:active {
  color: #FF0000;
}

/* Header */
header h1 a {
  color: #000000;
  text-decoration: none;
}

header h1 a:hover {
  text-decoration: underline;
}

/* Navigation */
nav {
  margin: 1em 0;
  font-family: monospace;
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid #000000;
  margin: 1em 0;
}

/* Lists */
ul, ol {
  margin: 1em 0;
  padding-left: 2em;
}

li {
  margin: 0.5em 0;
}

/* Code and preformatted text */
code, pre {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
  background-color: #f0f0f0;
}

code {
  padding: 0.1em 0.3em;
}

pre {
  padding: 1em;
  overflow-x: auto;
  border: 1px solid #cccccc;
  margin: 1em 0;
}

pre code {
  background: none;
  padding: 0;
}

/* Blockquotes */
blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 3px solid #000000;
  font-style: italic;
}

/* Footer */
footer {
  margin-top: 2em;
}

footer small {
  font-size: 0.85em;
  color: #666666;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Tables */
table {
  border-collapse: collapse;
  margin: 1em 0;
}

th, td {
  border: 1px solid #000000;
  padding: 0.5em;
  text-align: left;
}

th {
  background-color: #f0f0f0;
}

/* Utility classes */
.center {
  text-align: center;
}

.small {
  font-size: 0.85em;
}

/* Minimal responsiveness */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .container {
    width: 100%;
  }
}
