/* Tema oscuro */
body.dark-theme {
    background-color: #1e1e1e;
    color: #f5f5f5;
    font-family: 'Source Code Pro', monospace;
  }
  
  /* Fondo con partículas */
  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
  
  /* Tarjetas con efecto de código */
  .code-card {
    background: #2d2d2d;
    border: 1px solid #00ff88;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .code-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 80px #00ff88;
  }
  
  /* Logos de tecnologías */
  .tech-logos img {
    width: 30px;
    margin: 0 5px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  
  .tech-logos img:hover {
    filter: grayscale(0%);
  }
  
  /* Botón */
  .btn-primary {
    background: #00ff88;
    border: none;
    color: #1e1e1e;
    font-weight: bold;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-primary:hover {
    background: #00b8ff;
    box-shadow: 0 0 10px #00b8ff, 0 0 20px #00b8ff, 0 0 40px #00b8ff;
  }
  
  /* Animación de typing */
  #typing-text {
    font-size: 1.5rem;
    color: #00ff88;
  }
  
  /* Diseño responsive */
  @media (max-width: 768px) {
    .card {
      margin-bottom: 20px;
    }
    .tech-logos img {
      width: 25px;
    }
  }

  /* Efecto visual al pasar el puntero */
.btn-primary:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
  }
  
  /* Efecto visual al hacer clic */
  .btn-primary:active {
    transform: scale(0.95);
  }

  /* Estilos para las tarjetas de trabajos */
.code-card {
    background: #2d2d2d;
    border: 1px solid #00ff88;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .code-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 80px #00ff88;
  }
  
  /* Botón de proyectos */
  .btn-primary {
    background: #00ff88;
    border: none;
    color: #1e1e1e;
    font-weight: bold;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-primary:hover {
    background: #00b8ff;
    box-shadow: 0 0 10px #00b8ff, 0 0 20px #00b8ff, 0 0 40px #00b8ff;
  }
  
  /* Efecto visual al pasar el puntero */
  .btn-primary:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
  }
  
  /* Efecto visual al hacer clic */
  .btn-primary:active {
    transform: scale(0.95);
  }

  /* Efecto de neón en tarjetas */
.code-card {
  background: #2d2d2d;
  border: 1px solid #00ff88;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.code-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 80px #00ff88;
}

/* Efecto de neón en botones */
.btn-primary {
  background: #00ff88;
  border: none;
  color: #1e1e1e;
  font-weight: bold;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #00b8ff;
  box-shadow: 0 0 10px #00b8ff, 0 0 20px #00b8ff, 0 0 40px #00b8ff;
}

/* Estilos para las tarjetas de presentación */
.card {
  background: #2d2d2d; /* Fondo oscuro */
  border: 1px solid #00ff88; /* Borde neón */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 80px #00ff88;
}

/* Color del texto en las tarjetas */
.card-title, .card-text {
  color: #ffffff; /* Texto blanco */
}

/* Color de los íconos de tecnologías */
.tech-logos img {
  filter: brightness(0) invert(1); /* Convierte los logos a blanco */
}

/* Estilos para las tarjetas de trabajos */
.code-card {
  background: #2d2d2d; /* Fondo oscuro */
  border: 1px solid #00ff88; /* Borde neón */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.code-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 80px #00ff88;
}

/* Color del texto en las tarjetas de trabajos */
.card-title, .card-text {
  color: #ffffff; /* Texto blanco */
}

/* Botón de proyectos */
.btn-primary {
  background: #00ff88;
  border: none;
  color: #1e1e1e; /* Texto oscuro para contrastar con el fondo del botón */
  font-weight: bold;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #00b8ff;
  box-shadow: 0 0 10px #00b8ff, 0 0 20px #00b8ff, 0 0 40px #00b8ff;
}

/* Estilos para las tarjetas de presentación */
.card {
  background: #2d2d2d;
  border: 1px solid #00ff88;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 80px #00ff88;
}

.card-img-top {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: #00ff88;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #ffffff;
  font-size: 0.9rem;
}

/* Botón atractivo */
.btn-primary {
  background: #00ff88;
  border: none;
  color: #1e1e1e;
  font-weight: bold;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #00b8ff;
  box-shadow: 0 0 10px #00b8ff, 0 0 20px #00b8ff, 0 0 40px #00b8ff;
}

.code-container {
  background: #1e1e1e;
  border: 1px solid #00ff88;
  border-radius: 5px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 200px;
  text-align: left;
}

#code-display {
  color: #00ff88;
  font-family: 'Source Code Pro', monospace;
  font-size: 1.1rem;
  margin: 0;
  white-space: pre;
  overflow: hidden;
  line-height: 1.5;
}

.code-cursor {
  position: absolute;
  width: 10px;
  height: 20px;
  background: #00ff88;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typing {
  border-right: 2px solid #00ff88;
  animation: typeEnter 0.5s infinite;
}

@keyframes typeEnter {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}