@charset "UTF-8";
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css);
body {
  background-image: url(../images/fondo-portada45.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 182% auto;
  background-color: #040404;
  margin: 10px;
  color: #dbb;
  font-family: Palatino, Palatino Linotype, Palatino LT STD, Book Antiqua, Georgia, serif;
  font-size: 22px;
  line-height: 1.15em;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: none;
}
@media (min-width: 768px) {
  body {
    background-size: auto 100vh;
    background-position: center top;
    margin: 40px 60px;
    line-height: 1.3em;
  }
}

body.libros {
  background-image: url(../images/fondo-libros.jpg);
}

body.universo {
  background-image: url(../images/fondo-universo.jpg);
}

body.boletin {
  background-image: url(../images/fondo-boletin.jpg);
}

body.el-rey-vampiro {
  background-image: url(../images/aldo.jpg);
}

body.mariposas-negras {
  background-image: url(../images/fondo-mariposas.jpg);
}

.header {
  font-family: Helvetica, sans;
  position: relative;
  display: block;
  margin: 10px;
  padding: 0;
}
.header a {
  font-size: 25px;
  font-weight: bold;
  color: #ff5757;
  text-decoration: none;
  letter-spacing: -0.05em;
}
.header a:hover {
  color: #ec1922;
}
.header .logo {
  position: absolute;
  width: 100px;
  height: 100px;
}
.header .logo a {
  display: block;
}
.header .logo img {
  width: 80px;
  height: auto;
}
.header .menu {
  text-align: right;
  height: 60px;
}
@media (min-width: 1024px) {
  .header .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
  }
}
.header .menu li {
  display: block;
  position: relative;
  margin: 0 0 6px;
}
@media (min-width: 1024px) {
  .header .menu li {
    display: inline-block;
    margin: 0;
    padding: 0 40px;
  }
  .header .menu li:not(:last-child)::after {
    content: "/";
    color: #ff5757;
    opacity: 0.2;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(2); /* alarga la barra verticalmente */
    font-size: 1.2em; /* tamaño base de la barra */
    line-height: 1; /* evita desplazamientos raros */
  }
}

.social {
  display: none;
}
@media (min-width: 1024px) {
  .social {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
  }
  .social a {
    display: inline-block;
    margin: 20px 8px;
  }
}

.novelas {
  padding: 0;
  list-style: none;
}
.novelas li {
  padding: 0 0 40px;
}
@media (min-width: 1024px) {
  .novelas li {
    padding: 0 0 40px;
  }
}
.novelas a, .novelas p {
  font-size: 23px;
  display: inline-block;
  line-height: 1.35em;
  hyphens: none;
}
.novelas a.cover {
  display: block;
}
.novelas img {
  margin: 0 0 20px;
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 786px) {
  .novelas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 30px;
    margin: -15px;
    justify-content: stretch;
  }
  .novelas > li {
    margin: 15px;
  }
}

h1, h2, h3, h4 {
  margin: 38px 50px 38px 0;
  color: #ff5757;
  font-family: Helvetica, sans;
  font-weight: bold;
  letter-spacing: -0.05em;
}
@media (min-width: 786px) {
  h1, h2, h3, h4 {
    margin: 38px 50px;
    text-align: center;
  }
}

h1 {
  font-size: 1.55em;
  line-height: 1em;
}
@media (min-width: 786px) {
  h1 {
    font-size: 3em;
    line-height: 1.05em;
  }
}

p, li {
  font-size: 27px;
  line-height: 1.3em;
  hyphens: auto;
}
@media (max-width: 768px) {
  p, li {
    font-size: 22px;
  }
}

blockquote {
  margin-left: 20px;
  margin-right: 20px;
  font-family: Palatino, Palatino Linotype, Palatino LT STD, Book Antiqua, Georgia, serif;
}
@media (min-width: 768px) {
  blockquote {
    margin-left: 40px;
    margin-right: 20px;
  }
}

hr {
  width: 100%;
  height: 1px;
  border: 0;
  background: #040404;
}

main {
  max-width: 960px;
  margin: 10px;
}
@media (min-width: 768px) {
  main {
    margin: 0 auto;
  }
}
main a {
  color: #fff;
  text-decoration: underline;
}
main p {
  margin: 0;
}
main p + p {
  margin-top: 24px;
}
main p + h2 {
  margin-top: 40px;
  margin-bottom: 40px;
}
main img {
  text-indent: 0;
  margin: 28px 0;
  max-width: 100%;
}
main ul {
  margin: 40px 0;
}
main li {
  padding: 0;
}
@media (min-width: 768px) {
  main li {
    margin: 4px 40px 4px 20px;
  }
}
main img.fondo {
  display: block;
  position: absolute;
  z-index: -24;
  width: 80%;
}

.footer {
  margin: 100px 0 0 0;
  font-family: Helvetica, sans;
  font-size: 18px;
  line-height: 1em;
}
.footer a {
  display: inline-block;
  margin: 0 0 20px 0;
  padding: 0;
  color: #ff5757;
  text-decoration: none;
}
.footer a.social-icon {
  display: inline-block;
  margin-right: 10px;
}
@media (min-width: 768px) {
  .footer {
    margin-top: 200px;
  }
  .footer a {
    display: inline-block;
    margin: 0 0 10px;
  }
  .footer a.social-icon {
    float: right;
    margin-right: 20px;
    text-align: right;
  }
}

.mobile-separator {
  display: block;
  width: 100%;
  height: 20px;
}
@media (min-width: 768px) {
  .mobile-separator {
    display: inline;
    visibility: hidden;
    width: 0;
    height: 0;
  }
}

.space-big {
  height: 35vh;
}
@media (min-width: 768px) {
  .space-big {
    height: 40vh;
  }
}

.space-small {
  height: 60px;
}

.red {
  color: #ec1922;
}

iframe {
  text-align: center;
  margin: 0 auto;
}

small {
  font-size: 90%;
  font-style: italic;
  line-height: 1em !important;
}

.suscribete {
  display: block;
  font-family: Helvetica, sans;
  text-decoration: none;
  background-color: #000;
  box-shadow: 5px 5px 5px #ff5757;
  border: 1px solid #ff5757;
  color: #dbb;
  margin: 0 auto;
  font-weight: bold;
  max-width: 150px;
  padding: 0.75rem;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}