* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0d0c0c;
  color: #98b3ea;
  line-height: 1.6;
}

header {
  background-image: url(imagenes/fondo\ binario.avif);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 2rem;
  text-align: center;
}

.cv-btn {
  margin-top: 1rem;
  display: inline-block;
  background: white;
  color: #007acc;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cv-btn:hover {
  background: #121010;
}

/* Contenedor de partículas solo para el cuerpo */
#particles-container {
  position: relative;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

section#proyectos {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.proyecto {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  opacity: 0.3s ease;
  transform: translateY(20px);
}

.proyecto:hover {
  transform: translateY(-5px);
}

.proyecto h3 {
  margin-bottom: 0.5rem;
  color: #007acc;
}

.proyecto a {
  text-decoration: none;
  color: #007acc;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: white;
  margin-top: 2rem;
}


