@font-face {
  font-family: 'titulo-h1';
  src: url('/theme/fuentes/fanzine-title.ttf') format('truetype');
}

@font-face {
  font-family: 'titulo-h2';
  src: url('/theme/fuentes/supercomputer.ttf') format('truetype');
}

/* Fondo de papel retro */
body {
  background-color: #fffaf5;
  background-image: url('/theme/texturas/papel-sutil01.png');
  background-size: cover;
  background-attachment: fixed;
  color: #3a2f25;
  font-family: 'Verdana', Geneva, Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  padding: 20px;
  margin: 0;
}

/* Contenido central */
main {
  max-width: 750px;
  margin: auto;
  padding: 30px;
  background-color: #fffdf8;
  border: 1px dashed #d5bfa1;
  box-shadow: 4px 4px #e5d6c4;
  border-radius: 8px;
}

/* Título principal */
h1 {
  font-family: 'titulo-h1';
  font-size: 48px;
  text-align: center;
  background: linear-gradient(to right, #f89d3c, #fbe4ce);
  padding: 8px;
  border: 2px dotted #d19c72;
  border-radius: 12px;
  box-shadow: 2px 2px #e3cba9;
  margin-top: 0;
}

/* Subtítulos */
h2 {
  font-family: 'titulo-h2';
  font-size: 32px;
  color: #c1661c;
  margin-bottom: 0.6em;
  border-bottom: 2px dashed #e0b68d;
  padding-bottom: 4px;
}

/* Texto general */
p, li {
  font-size: large;
}

li {
  font-family: monospace;
}

/* Imágenes como recortes */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2em auto;
  border: 3px solid #e0b68d;
  padding: 4px;
  background-color: #fff8f0;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  transform: rotate(-0.5deg);
}

/* Responsive para celulares */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    padding: 10px;
  }

  h1 {
    font-size: 30px;
    padding: 6px;
  }

  h2 {
    font-size: 22px;
    text-align: center;
  }

  main {
    padding: 15px;
  }

  img {
    transform: none;
    border-width: 2px;
  }
}

/* Código estilo hoja rayada */
pre {
  background-color: #fff3e5;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  border-left: solid #ffa96d 4px;
  white-space: pre-line;
  border-radius: 6px;
  margin-bottom: 1em;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.05);
}

/* Separadores como decoración */
hr {
  border: none;
  border-top: 4px dotted #d9a869;
  margin: 2em 0;
}

/* Pie de página */
#pie_pagina {
  background-color: #f0d3ad;
  padding: 12px;
  border: solid #d19c72 1px;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 8px;
  max-width: 750px;
  margin: 40px auto 0 auto;
}
