/* Definimos el tamaño base en rem para respetar los ajustes del usuario */
html {
  font-size: 87.5%;
}

/* Fondo negro, texto blanco y fuente estilo .nfo (retro) */
body {
  margin: 0;
  padding: 0 0 4rem 0;
  background-color: #000;
  color: #fff;
  font-family: monospace;
  line-height: 1.5;
}

/* Contenedor centralizado */
.container {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem;
}

/* Centrado del arte ASCII */
.ascii-header {
  text-align: center;
  margin: 2rem 0;
}

.ascii-header pre {
  display: inline-block;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  white-space: pre;
}

/* Blockquote para la cita */
blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 1rem;
  border-left: 0.25rem solid #444;
  background-color: #111;
  font-style: italic;
  text-align: center;
}

/* Contenido principal centrado y justificado */
.truncate-center {
  text-align: justify;
  margin: 1.5rem 0;
  font-size: 1.125rem;
}

/* Sección de actualizaciones */
.updates ul {
  text-align: justify;
  padding-left: 1rem;
}

/* Navegación */
.nav-with-space {
  margin-bottom: 1.5rem;
  text-align: center;
}

.nav-with-space a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-with-space a:hover {
  color: #00ccff;
}

/* Footer */
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  padding: 1rem 0;
  z-index: 1000;
}

/* Contenedor interno para alinear con .container */
.fixed-footer .footer-content {
  max-width: 42rem; /* Igual que .container */
  margin: 0 auto; /* Centra el contenido del footer */
  text-align: center; /* Centra los elementos hijos (nav y p) */
}

.fixed-footer p {
  text-align: center; /* Cambiamos a center en lugar de justify para centrar los párrafos */
  margin: 0.5rem 0; /* Márgenes consistentes */
  padding: 0 1rem; /* Padding para evitar que el texto toque los bordes */
  font-size: 0.875rem; /* Mantén el tamaño original si lo deseas */
}

/* Navegación */
.nav-with-space {
  margin-bottom: 1.5rem;
  text-align: center;
}

.nav-with-space a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-with-space a:hover {
  color: #00ccff;
}

/* Footer enlaces */
.fixed-footer a {
  text-decoration: none;
  color: #00ccff;
}

.fixed-footer a:hover {
  text-decoration: underline;
}

/* --- Resto del CSS sin cambios --- */
.about-container {
  font-size: 1.125rem;
  overflow: auto;
}

.about-img {
  float: left;
  margin-right: 1rem;
  max-width: 150px;
  width: 100%;
  height: auto;
}

.about-container p {
  text-align: justify;
  margin: 0;
  padding-top: 0.5rem;
}

.blog-scroll-container {
  max-height: 40vh;
  overflow-y: auto;
  padding: 1rem;
  border: 0.125rem solid #444;
  margin-bottom: 1.5rem;
}

.blog-container p,
.games-container p {
  text-align: justify;
}

/* Estilo para el contenedor del miniperfil de Steam */
.steam-miniprofile-container {
  margin: 1.5rem auto;
  text-align: center;
  max-width: 300px; /* Limita el ancho para mantenerlo centrado */
}

/* Estilo para el iframe del miniperfil */
.steam-miniprofile-container iframe {
  border: 0;
  width: 300px;
  height: 200px;
  transform: scale(0.7);
  transform-origin: 0 0;
  position: relative;
  left: 30px; /* Ajuste para alinear visualmente como en el diseño original */
  scrolling: no;
  frameborder: 0;
  marginheight: 0;
  marginwidth: 0;
}
.comment-threads {
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid #444;
  background-color: #111;
  text-align: left;
  font-size: 0.875rem;
}

.comment-threads .comment-toggle {
  display: none;
}

.comment-threads .comment-toggle-label {
  display: inline-block;
  cursor: pointer;
  color: #0096A2;
  font-size: 1rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid #444;
  background-color: #000;
  margin-bottom: 0.5rem;
  user-select: none;
}

.comment-threads .comment-toggle-label:hover {
  color: #00ccff;
}

.comment-threads .comment-content {
  display: none;
}

.comment-threads .comment-toggle:checked ~ .comment-content {
  display: block;
}

.comment-threads .comment-toggle:checked + .comment-toggle-label::before {
  content: "[-]";
}

.comment-threads .comment-toggle:not(:checked) + .comment-toggle-label::before {
  content: "[+]";
}

.comment-threads h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #FFFFFF;
  text-align: center;
}

.comment-threads ul {
  list-style: none;
  padding: 0;
}

.comment-threads .comment {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-left: 2px solid #0096A2;
}

.comment-threads .reply {
  margin-left: 2rem;
  border-left: 2px solid #C0C0C0;
}

.comment-threads p {
  margin: 0;
  color: #FFFFFF;
}

.comment-threads strong {
  color: #00ccff;
}

.comment-threads .comment-invite {
  text-align: center;
  font-size: 0.875rem;
  color: #CCCCCC;
  margin: 1rem 0;
}

.comment-threads .comment-invite button {
  padding: 0.3rem 0.7rem;
  background-color: #000;
  border: 1px solid #444;
  color: #FFFFFF;
  font-family: Arial, monospace;
  font-size: 0.75rem;
  cursor: pointer;
  margin: 0 0.2rem;
}

.comment-threads .comment-invite button:hover {
  background-color: #111;
  color: #00ccff;
}

.comment-form {
  margin-top: 1rem;
  text-align: center;
}

.comment-form label {
  display: block;
  margin: 0.5rem 0 0.25rem;
  color: #FFFFFF;
  font-size: 0.875rem;
}

.comment-form textarea {
  width: 100%;
  max-width: 300px;
  padding: 0.5rem;
  background-color: #000;
  border: 1px solid #444;
  color: #FFFFFF;
  font-family: Arial, monospace;
  font-size: 0.875rem;
  resize: vertical;
  min-height: 80px;
}

.comment-form input[type="submit"] {
  padding: 0.5rem 1rem;
  background-color: #000;
  border: 1px solid #444;
  color: #FFFFFF;
  font-family: Arial, monospace;
  font-size: 0.875rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.comment-form input[type="submit"]:hover {
  background-color: #111;
  color: #00ccff;
}

.comment-threads .comment-help {
  text-align: center;
  font-size: 0.75rem;
  color: #888888;
  margin-top: 0.5rem;
}

.comment-threads img.comment-icon {
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 0.3rem;
}
.about-img {
  border: 2px solid #0096A2;
  margin-bottom: 1rem;
}