/* ===== Basic page setup ===== */
body {
  background: #1f1f1f;
  color: #e8e8e8;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  padding: 0 20px;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

/* ===== Site title (gothic, red with black outline) ===== */
.site-title {
  font-family: "UnifrakturMaguntia", "Old English Text MT", serif;
  font-weight: normal;
  font-size: 64px;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 10px;
}

.site-title a {
  color: #d10000;
  text-decoration: none;
  -webkit-text-stroke: 2px #000000;
  paint-order: stroke fill;
}

/* ===== Menu under the title ===== */
nav {
  text-align: center;
  border-bottom: 1px solid #555555;
  padding-bottom: 16px;
  margin-bottom: 36px;
}

nav a {
  color: #ffffff;
  margin: 0 12px;
}

/* ===== Links ===== */
a {
  color: #ffffff;
}

a:hover {
  text-decoration: none;
}

/* ===== List of posts on the home page ===== */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.post-list .date {
  white-space: nowrap;
  color: #aaaaaa;
}

/* ===== A single post ===== */
h1, h2, h3 {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.25;
}

.post-date {
  color: #aaaaaa;
  font-style: italic;
  margin-top: -10px;
}

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

blockquote {
  border-left: 3px solid #aaaaaa;
  margin-left: 0;
  padding-left: 16px;
  font-style: italic;
}

/* ===== Bottom of every page ===== */
footer {
  border-top: 1px solid #555555;
  margin-top: 60px;
  padding-top: 16px;
  text-align: center;
  font-size: 16px;
  color: #aaaaaa;
}

/* ===== Social media icons in the footer ===== */
.socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 12px;
}

.socials svg {
  width: 22px;
  height: 22px;
  fill: #aaaaaa;
  transition: fill 0.15s;
}

.socials a:hover svg {
  fill: #ffffff;
}

/* ===== Smaller screens (phones) ===== */
@media (max-width: 500px) {
  body { font-size: 18px; }
  .site-title { font-size: 44px; }
  .post-list li { flex-direction: column; gap: 0; }
}
