:root {
  --primary-color: #000000;
  --secondary-color: blueviolet;
  --text-color: #f0f0f0;
  --background-color: #000000;
}

@font-face {
  font-family: 'TerminessNerdFont';
  src: url('../../fonts/TerminessNerdFont-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.profile{
  display: flex;
  align-items: center;
  justify-content: center; /* Cambiado a flex-start para que no esté centrado verticalmente */
}
.profile-picture {
  width: 40px; /* Ajusta al tamaño deseado */
  height: 40px; /* Debe ser igual a la altura para que sea un círculo */
  border-radius: 50%; /* Hace que los bordes sean redondeados */
  object-fit: cover; /* Asegura que el contenido del gif se mantenga bien centrado */
}
.profile-description{
  padding-left: 12px;
}

/* Añade este CSS para que el contenedor del texto tenga un ancho fijo */
.typing {
  display: inline-block;
  min-width: 200px; /* Ajusta este valor según la longitud máxima de tus frases */
}

/* El resto del CSS para el efecto de escritura */
.typing::after {
  content: '|';
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

body {
  margin-top: 160px; /* Ajusta según la altura del header */
  font-family: "TerminessNerdFont", sans-serif;
  font-weight: 500;
  font-style: normal;
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Cambiado a flex-start para que no esté centrado verticalmente */
  min-height: 100vh;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 25px 20px 20px 20px;
  padding-top: 270px; /* Ajusta si es necesario */
  padding-bottom: 100px; /* Ajusta si es necesario */
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: var(--primary-color);
  padding: 0px 0;
  z-index: 1000;
}

header {
  background-color: var(--primary-color);
  padding: 10px 0;
  border-bottom: 0px solid var(--secondary-color);
  position: fixed;
  width: 100%;

  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container-nav {
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  display: flex;
  position: relative;
  list-style: none;
}

.navbar a {
  color: var(--secondary-color);
  font-size: 15px;
  font-weight: 500;
  padding: 5px 0;
  margin: 0px 30px;
  text-decoration: none;
}

.navbar a:hover {
  color: var(--text-color);
}

.navbar a.active {
  color: var(--text-color);
}

.ascii-art {
  position: fixed;
  top: 60px; /* Ajusta según la altura de tu header */
  left: 50%;
  transform: translateX(-50%);
  white-space: pre;
  font-family: monospace;
  color: blueviolet;
  background: black;
  padding: 0px;
  font-size: 12px;
  z-index: 20; /* Aumentado para asegurarse que esté por encima del contenido */
}



.post-item:hover{
  background-color: rgba(153, 0, 255, 0.151);
  color: white;
}

.post-item:hover .green-text{
  color: white;
}

.post-item:hover .post-title{
  color: white;
}

.post-title {
  color: var(--secondary-color);
  text-decoration: none;

}

.post-title:hover {
  color: var(--text-color);
  text-decoration: none;
}

.post-ul {
  list-style: none; /* Elimina los puntos por defecto */
  padding: 0;
}

.post-li::before {
  content: ""; /* Símbolo Nerd Font */
  font-family: "TerminessNerdFont"; /* Asegúrate de usar la misma fuente */
  margin-right: 8px; /* Espacio entre el icono y el texto */
  font-size: 12px; /* Ajusta el tamaño si es necesario */
  color: var(--secondary-color);
}

.site-title {
  margin: 0;
}

.site-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Estilos para código */
pre {
  background-color: #0e0016;
  border-left: 3px solid var(--secondary-color);
  padding: 10px;
  overflow-x: auto;
  font-size: 13px;
}

code {
  font-family: 'Consolas', monospace;
}


.ascii-left, .ascii-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  white-space: pre;
  font-size: 15px;
  color: var(--secondary-color);
}

.ascii-left {
  left: -30px;
  text-align: left;
  z-index: -1;
}

.ascii-left-footer {
  left: 10px;
  text-align: left;
  
}


.ascii-left-footer {
  position: fixed;
  bottom: 0;
  transform: translateY(-50%);
  white-space: pre;
  font-size: 15px;
  color: var(--secondary-color);
}

.ascii-right {
  right: 200px;
  z-index: -1;
}

/* Cambiar el tamaño y el color del scrollbar */
::-webkit-scrollbar {
  width: 5px;  /* Ancho del scrollbar */
  height: 8px; /* Altura del scrollbar horizontal */
}

/* Cambiar el fondo del scrollbar */
::-webkit-scrollbar-track {
  background: #1e0030;  /* Color del fondo de la pista */
  border-radius: 10px;   /* Bordes redondeados en la pista */
}

/* Cambiar el color y el tamaño del deslizante */
::-webkit-scrollbar-thumb {
  background: #530083;  /* Color del deslizante */
  border-radius: 10px;  /* Bordes redondeados del deslizante */
}

/* Cambiar el color del deslizante al pasar el ratón sobre él */
::-webkit-scrollbar-thumb:hover {
  background: #555;  /* Color del deslizante cuando el ratón está sobre él */
}


