@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,600;1,400&display=swap');


/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.6;
  color: #666;
  background: #fff;
}

ul, ol {
  margin-left: 1.5rem;
}

h1, h2, h3, h4, h5 {
  margin-top: 2rem;
}

.page-title {
  /* background: #f0f0f0; */
  padding: .5rem 1rem;
  font-size: 2rem;
  border-top:    3px solid  #888;
  border-right:  none;
  border-bottom: 3px solid #aaa;
  border-left:   none;
}
/* Logo in top left */
.logo {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 20;
}

.logo a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  font-size: 1.2em;
}

/* Main content container */
.content {
  max-width: 80%;
  margin: 0 auto;
  padding: 80px 20px 40px;
}

/* Short posts - centered vertically */
.content.short {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Long posts - normal scroll */
.content.long {
  /* Default styles already handle this */
}

/* Typography */
h1, h2, h3 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #718a4d;
  text-decoration: underline dotted;
  font-weight: 600;
}
a:hover {
  color: #6fb808;
  text-decoration: none;
  font-weight: 600;
}

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

/* Tags section */
.tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.tags h3 {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #f5f5f5;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-decoration: none;
  color: #666;
  font-size: 0.85em;
}

.tag:hover {
  background: #e5e5e5;
}

/* Responsive */
@media (max-width: 768px) {
  .content {
    padding: 60px 15px 30px;
  }
  
  .logo {
    top: 15px;
    left: 15px;
  }
}

/*  Tags Overview */
/* Post list styling */
.post-list {
  margin-top: 2rem;
}

.post-preview {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.post-preview:last-child {
  border-bottom: none;
}

.post-preview h2 {
  margin-bottom: 0.5rem;
}

.post-preview h2 a {
  text-decoration: none;
  color: #333;
}

.post-preview h2 a:hover {
  text-decoration: underline;
}

.post-preview time {
  display: block;
  color: #666;
  font-size: 0.9em;
  margin-bottom: 0.5rem;
}

.excerpt {
  margin: 0.5rem 0;
  color: #555;
  line-height: 1.5;
}

.post-tags {
  margin-top: 0.5rem;
}

.post-tags .tag {
  margin-right: 0.5rem;
}