/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.about {
  padding: 2rem;
  background-color: #1f1f1f;
  border-radius: 8px;
}



.about p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  
}




.about {
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 10px;
 
  margin: 0 auto 2rem auto;
  text-align: center;
}

.about h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;

}

.about p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #e0e0e0;
}








/* Fondo animado */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #121212;
}

/* Header centrado */
header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1f1f1f;
  width: 100%;
  max-width: 1400px;
  border-radius: 10px;
  margin-bottom: 2rem;
}

/* Imagen de perfil */
.profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #00bcd4;
  margin-bottom: 1rem;
}

/* Redes sociales */
.social-links {
  margin-top: 1rem;
}

.social-links a {
  margin: 0 10px;
  color: #00bcd4;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ff4081;
}

/* Contador de visitas */
.visit-counter {
  margin-top: 0.5rem;
  padding: 0.3rem 0.6rem;
  background-color: #00bcd4;
  border-radius: 15px;
  display: inline-block;
  color: #121212;
  font-weight: bold;
}

.visit-counter p {
  margin: 0;
  font-size: 0.75rem;
}

.visit-counter span {
  color: #ff4081;
  font-size: 0.85rem;
  font-weight: bold;
}

/* Secciones generales */
section {
  width: 100%;
  max-width: 1400px;
  padding: 2rem 1rem;
  background-color: #1e1e1e;
  margin-bottom: 2rem;
  border-radius: 10px;
  animation: fadeIn 1s ease-in;
}

h2 {
  color: #ffa758;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.5rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #1f1f1f;
  font-size: 0.9rem;
  width: 100%;
  max-width: 1500px;
  border-radius: 10px;
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sección de habilidades */
.skills-section {
  padding: 3rem 5%;
  background-color: #1e1e1e;
  color: #f0f0f0;
}

.skills-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #ffa758;
}

.skills-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skills-bubble {
  flex: 1 1 45%;
  background-color: #2c2c2c;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.skills-bubble:hover {
  transform: translateY(-5px);
}

.skills-bubble h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #ff4081;
  text-align: center;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.skill-item i {
  font-size: 1.5rem;
  color: #00bcd4;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.skill-item:hover {
  transform: scale(1.05);
  color: #ff4081;
}

/* Responsive */
@media (max-width: 768px) {
  .skills-grid {
    flex-direction: column;
    align-items: center;
  }

  .skills-bubble {
    width: 100%;
  }

  .profile-pic {
    width: 140px;
    height: 140px;
  }

  section, header, footer {
    padding: 1rem;
  }
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.project-card {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-info {
  padding: 1rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
  color: #ff4081;
}

.project-info p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-info a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: bold;
}

.project-info a:hover {
  text-decoration: underline;
}

.experience,.education {
  text-align: center;
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 10px;

  margin: 0 auto 2rem auto;
}

.experience h2 .education{
  font-size: 2rem;
  margin-bottom: 1.5rem;
 
}

.experience ul .education{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.experience li .education{
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #e0e0e0;
}


