/* Centrado de contenido */
.home-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
  padding: 2rem 1rem;
  max-width: 700px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}


@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Fuente principal del blog */
body {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem; /* Aumenta el tamaño base de letra */
  text-align: justify;


}

a {
  position: relative;
  transition: color 0.3s ease;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.post-entry {
  background-color: rgba(20, 20, 30, 0.85); /* oscuro pero translúcido */
  border-radius: 16px;
  padding: 1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.post-entry:hover {
  background-color: rgba(12, 5, 19, 0.95); /* un poco más claro al pasar el mouse */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000000;
  pointer-events: none;
}

.terminal-wrapper {
  margin-left: 0 !important;
}

.terminal-line {
  font-family: 'Fira Code', monospace;
  font-size: 1.75rem;
  font-weight: bold;
  color: #ddd;
  white-space: nowrap;      /* <-- evita espacios indeseados */
  margin: 1rem 0;
  padding: 0;
  display: block;
  text-align: left;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prompt {
  color: #88f;
  margin-right: 0.3rem;
}

.cursor {
  display: inline-block;
  width: 10px;
  animation: blink 1s steps(2, start) infinite;
}

.about-content {
  margin-top: 2rem;
  animation: fadeInUp 1.2s ease-out;
  line-height: 1.7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-content h3,
.about-content h2,
.about-content strong {
  color: #fff;
}

.about-content em {
  color: #aaa;
  font-style: italic;
}

/* Inline code (ej: `ESXIe0x`) */
p code, li code {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.2em 0.4em;
  font-family: 'Fira Code', monospace;
  font-size: 0.95em;
  color: #e0e0ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  transition: background-color 0.3s ease;
}

p code:hover, li code:hover {
  background-color: rgba(255, 255, 255, 0.15);
}


.main {
  padding-left: 0.0rem;
  padding-right: 0.0rem;
}

@media (min-width: 768px) {
  .main {
    padding-left: 0.0075rem;
    padding-right: 0.0075rem;
  }
}

@media (min-width: 1200px) {
  .main {
    padding-left: 0.000125rem;
    padding-right: 0.000125rem;
  }
}


/* Agrandar considerablemente el texto de la navbar */
nav, .navbar, .site-nav, .main-nav, .menu, .menu a, .nav, .nav a {
  font-size: 1.25rem !important;
  letter-spacing: 0.03em;
}

/* Agrandar el texto "Corvus0x" de la navbar */
.nav .logo a {
  font-size: 2rem !important;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.1;
  display: inline-block;
}


