/* Base Styling */
body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: #1c1c1e; /* Soft parchment tone */
  color: #f5f5f5;
  margin: 0;
  padding: 2rem;
  line-height: 1.6;
}

/* adds animation */

body {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  p  { font-size: 1rem; }
}

/* Header */
header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.5rem;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}

/* Post Container */
.post {
  margin-bottom: 3rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2rem;
}

/* Post Title */
.post h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #FFAE03; /* RaunDev yellow accent */
}

/* Post Body */
.post p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Post Date */
.post-date {
  font-style: italic;
  font-size: 0.9rem;
  color: #666;
  margin-top: -1rem;
  margin-bottom: 1rem;
}

.post {
  border-bottom: 1px solid #ccc;
  padding: 1em 0;
}
.post h2 {
  margin-bottom: 0.2em;
}
.post p {
  margin: 0.5em 0;
}

.full-post {
  margin-top: 1em;
  padding: 1em;
  background-color: #1c1c1e;
  border-left: 3px solid #ccc;
  transition: all 0.3s ease;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: #FFAE03;
}

/* Divider */
hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 2rem 0;
}
.container {
  display: flex;
  gap: 2rem;
}

.sidebar {
  width: 250px;
  background-color: #2c2c2e;
  padding: 1rem;
  border-radius: 8px;
}

.sidebar img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: #FFAE03;
  text-decoration: none;
  font-weight: bold;
}

.content {
  flex: 1;
}

header {
  position: sticky;
  top: 0;
  background-color: #1c1c1e;
  padding: 1rem 0;
  z-index: 1000;
}

/* Added to handle Posts in sidebar */
.nav-section-title {
  font-weight: bold;
  margin-top: 1rem;
  color: #333;
}