body {
  margin: auto;
  padding: 2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: lighter;
  color: #FCFCFC;
  background-color: #1a1a1a;
  text-decoration: none;
  max-width: 36rem;
}

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

h1 {
  font-weight: bold;
  font-size: 1.5em;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: 2em;
}

h2 {
  text-transform: uppercase;
  font-size: 1.2em;
  letter-spacing: 3px;
  margin-top: 2em;
}

p {
  line-height: 1.8em;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

li {
  line-height: 1.8em;
}

blockquote {
  border-left: 3px solid #5c7a8a;
  padding:0 2em;
  margin: 3em 2em;
}

hr {
  border: none;
  height: 1px;
  background-color: #404040;
  margin: 3em 0;
  opacity: 0.6;
}

.callout {
  font-family: 'Covered By Your Grace', cursive;
  color: #808080;
  font-size: 1.2em;
  letter-spacing: 1px;
}

.callout a {
  color: #808080;
}

::selection {
  background-color: #5c7a8a;
  color: #FFFFFF;
}

a {
  text-decoration: none;
  color:#FCFCFC;
  border-bottom: 1px solid #5c7a8a;
  padding-bottom: 2px;
}

a:hover {
  color: #fffe9a;
}

.mutedNav {
  border: none;
  margin-bottom: 0.5em;
  color: #808080;
}

.mutedTime {
  margin-bottom: 2em;
  color: #808080;
}

#blogList {
  display: inline-grid;
}

#blogList a {
  margin: 0.5em 0;
  border: none;
}

.headshot img  {
  width:2em;
  margin-bottom: -1em;
}

.blogPost p {
  font-family: 'IBM Plex Sans', Avenir, sans-serif;
}

.blogPost li {
  font-family: 'IBM Plex Sans', Avenir, sans-serif;
}

.blogPost .callout {
    font-family: 'Covered By Your Grace', cursive;
    color: #808080;
    font-size: 1.2em;
    letter-spacing: 1px;
}

/* Code block styling */
.code-block {
    background-color: #2d2d2d;
    border-radius: 6px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

.code-block code {
    color: #e6e6e6;
    background: none;
    padding: 0;
    font-family: inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
    display: block;
}

/* Syntax highlighting */
.syntax-keyword {
    color: #ffa500;
    font-weight: 500;
}

.syntax-string {
    color: #98d982;
}

.syntax-comment {
    color: #808080;
    font-style: italic;
}

.syntax-tag {
    color: #7dd3fc;
}

.syntax-attribute {
    color: #fbbf24;
}

.syntax-value {
    color: #98d982;
}

/* Collapsible sections */
.collapsible {
    margin: 2rem 0;
}

.collapsible summary {
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1em;
    margin-bottom: 1rem;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.collapsible summary::-webkit-details-marker {
    display: none;
}

.collapsible summary::before {
    content: "►";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffa500;
    font-size: 0.8em;
}

.collapsible[open] summary::before {
    content: "▼";
}

.collapsible summary:hover {
    color: #fffe9a;
}

.collapsible-content {
    margin-top: 1rem;
}

.collapsible-content p {
    margin-left: 1.5rem;
}

.collapsible-content .code-block {
    margin-left: 1.5rem;
}
