body {
  font-family: sans-serif;
  max-width: 800px;
  margin: 2rem auto;
  line-height: 1.7;
  font-size: 18px;
  padding: 0 1rem;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

article h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

article small {
  display: block;
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem;
  border-bottom: 2px solid #4caf50;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.post-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  /* text-decoration: none; */
}

a:hover {
  text-decoration: underline;
} 

.post-date {
  color: #455A64;
  white-space: nowrap;
}

.post-title {
  font-weight: 500;
  font-size: 1.25rem;
  color: black;
  text-decoration: none;
}

.post-title:hover {
  text-decoration: underline;
}

header nav a {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2rem;
  }

  article small {
    font-size: 1rem;
  }
}