html {
  line-height: 1.5em;
}

body {
  max-width: 80ch;
  margin: 0 auto;
  padding: 2em;
  font-family:monospace;
}

hgroup h1 {margin-bottom:0}


header {
  padding-bottom: 1em;
}

p,
li,
blockquote {
  font-size: 16px;
}

h1 a {
  text-decoration: none;
  color: black;
}

article {
  margin-bottom: 2em;
  padding-bottom: 1em;
}


ul.index {
      padding-left: 5px;
  li {
    list-style: none;
  }

  li:before {
      content: '☞ ';
      font-size: 1.5em;
  }
}

li {
  margin-bottom: .5em;
}

pre {
  background: #333;
  color: #f8f8f2;
  padding: 1em;
  border-radius: 7px;
  overflow-x: auto;
}

blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  margin: 1em 0;
}

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

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }
  h1 a, .date {
    color: #eee; 
  }

  pre {
    background: #1e1e1e;
    color: #d4d4d4;
  }

  blockquote {
    border-color: #444;
  }
  a, .post-link {
    color: powderblue;
  }
}

/* Placeholders */
      .skeleton-title {
    height: 24px;
    width: 40%;
    background: #ddd;
    margin-bottom: 12px;
}

.skeleton-line {
    height: 12px;
    width: 100%;
    background: #eee;
    margin-bottom: 8px;
}

.skeleton-title,
.skeleton-line {
    border-radius: 4px;
    animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
} 

/* Centrado */
.cnt-x-y {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cnt-y {
    display: inline-flex;
    align-items: center;
}

.backwards {
  display: inline-flex;
  text-decoration: underline;
  transform: scaleX(-1);
}

.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.avatar {
  margin-right: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

hgroup p {
   margin-top:2px;
}