* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #121212;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

/* === Navegación === */
header {
  background-color: #0f1f1f;
  padding: 15px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #fff;
  font-weight: 500;
}

.logo span {
  color: #5effd5;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #fffdfd;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #5effd5;
}

/* === Presentación === */
.inicio {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.presentacion {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
}

.info {
  max-width: 450px;
}

.info h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.info p {
  font-size: 16px;
  color: #070707;
  margin-bottom: 20px;
}

.btn {
  background-color: #5effd5;
  border: none;
  padding: 10px 20px;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: #00ffbf;
}

.imagen-perfil img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #5effd5;
  object-fit: cover;
}

/* === Proyectos === */
.proyectos {
  text-align: center;
  padding: 60px 20px;
}

.proyectos h2 {
  color: #00aaff;
  margin-bottom: 40px;
}

.contenedor-proyectos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.card img {
  width: 80px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 10px 0;
}

.card a {
  display: block;
  color: #5effd5;
  margin: 5px 0;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.html { color: #ff4081; }
.css { color: #d36aff; }
.js { color: #ffd700; }

/* === Experiencia === */
.experiencia {
  background-color: #00433d;
  padding: 60px 20px;
  text-align: center;
}

.experiencia h2 {
  margin-bottom: 30px;
}

.grafico {
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bloque {
  width: 100px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.bloque.css {
  background-color: #0f0e0f;
  position: absolute;
  left: 30%;
}

.bloque.html {
  background-color: #0d0e0d;
  position: absolute;
  right: 30%;
}

/* === Footer === */
footer {
  background-color: #0f1f1f;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #bbb;
}

/* === Responsive === */
@media (max-width: 768px) {
  .presentacion {
    flex-direction: column;
    text-align: center;
  }

  .bloque.css, .bloque.html {
    position: static;
    margin: 10px auto;
  }
}
