/* Reset some defaults */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
  padding: 0 1rem;
  max-width: 900px;
  margin: auto;
}

/* Header */
header {
  text-align: center;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: rgb(59, 59, 59);
}
a:hover {
  text-decoration: underline;
}

nav a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #007acc;
}
nav a:hover {
  text-decoration: underline;
}

/* Blog post list */
.post-list article {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.post-list h2 {
  font-size: 1.5rem;
}
.post-list h2 a {
  text-decoration: none;
  color: #222;
}
.post-list h2 a:hover {
  color: #007acc;
}

/* Blog post content */
article {
  margin: 2rem 0;
}
article h2 {
  margin-bottom: 0.5rem;
}
.date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

ul {
  margin-left: 2rem;
}

p{
  padding-bottom: 1rem;
}

/* nav back */

.back {
  display: block;      /* makes it take full width so margin auto works */
  width: fit-content;  /* so it only wraps the text, not the whole line */
  margin: 2rem auto;   /* auto centers horizontally */
  padding: 0.5rem 1rem;
  background: #eee;    /* example background */
  text-decoration: none;
  border-radius: 5px;
  color: black;
}

.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.coming-soon img {
  max-width: 100%;
  margin-top: 2rem;
  height: auto;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.85rem;
  padding: 2rem 0;
  color: #666;
  border-bottom: 1px solid #ddd;
}
