
@font-face {
  font-family: 'PixelMplus';
  src: url('https://files.catbox.moe/xm59ww.ttf') format('truetype');
}

body {
  font-family: 'PixelMplus', "Courier New";
  background-color: #e8f0e8;
  color: #330066;
  margin: 0;
  padding: 20px;
  line-height: 0.67;
  white-space: pre-wrap;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #ffffff;
  white-space: pre-wrap;
}

.thread-title {
  font-size: 24px;
  font-weight: bold;
  color: #008000;
  text-align: center;
  margin-bottom: 20px;
}

.post {
  margin-bottom: 20px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 15px;
}

.post-header {
  font-size: 14px;
  color: #008000;
}

.post-number {
  color: #333;
  font-weight: bold;
}

.post-content {
  margin-top: 10px;
}

.ascii-art {
  font-family: "Courier New", monospace;
  white-space: pre-wrap;
  color: #550088; /* Purple for ASCII art */
  overflow-x: auto; /* Ensures long ASCII lines are scrollable */
  margin-top: 10px;
}

footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}



/* Image grid styling */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.image-slot {
  width: 100%;
  height: 150px;
  background-color: #ddd;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-slot img {
  max-width: 100%;
  max-height: 100%;
}

/* Pagination styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.pagination-button {
  font-family: 'PixelMplus', "Courier New", monospace;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 5px 10px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pagination-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.pagination-button:hover:enabled {
  background-color: #0056b3;
}

.page-number {
  font-size: 14px;
}