/* Body */
.dibujos-body {
  background-color: #0b1c2d; 
  color: #f5f3ee;           
  font-family: monospace;
  margin: 0;
  padding: 20px;

  background-image: url('https://miauchetos.carrd.co/assets/images/image34.png?v=145badfd');
  background-position: center top; 
  background-repeat: repeat;
  background-size: 50px 50px; /* tu tamaño de estrella */
}

#star-background {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-repeat: repeat;
  background-size: 100px 100px; /* tamaño de cada estrella */
  z-index: -1; /* atrás de todo */
  
}

/* Encabezado */
.header-image {
  width: 100%;
  height: 200px;
  background-image: url("https://miauchetos.carrd.co/assets/images/image06.gif?v=d9c62032");
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
}

header h1 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
}

/* Contenedor principal */
#main-container {
  max-width: 850px;
  margin: auto;
  padding: 15px;
  background-color: rgba(11,28,45,0.9);
}

/* Layout con sidebar */
#layout {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Sidebar */
#sidebar {
  width: 220px;
  background-color: rgba(90,40,150,0.8);
  padding: 15px;
  border-radius: 6px;
  flex-shrink: 0;
}

#sidebar h2 {
  color: #f2c94c;
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.5em; /* igual que el Index */
}

#sidebar ul {
  list-style-type: none;
  padding: 0;
}

#sidebar li {
  display: block;
  margin: 10px 0;
}

#sidebar a {
  color: #f5f3ee;
  text-decoration: none;
  font-size: 18px; /* igual que el Index */
}

#sidebar a:hover {
  text-decoration: underline;
}

/* Contenido central */
#content {
  flex-grow: 1;
  background-color: rgba(150,100,255,0.2);
  padding: 15px;
  border-radius: 6px;
  font-size: 18px; /* igual que Index */
}

/* Artículos / historias */
.historias article {
  background-color: rgba(150,100,255,0.3);
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 20px;
  border: 2px solid rgba(120,80,255,0.5); /* resalta el artículo */
}

.historias article h2 {
  font-size: 1.5em; /* igual que títulos del Index */
}

.historias article p {
  font-size: 18px;
}

a {
  color: #f2c94c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
}