@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo {
    font-size: 2em;
    color: #555;
    cursor: default;
}
.logo span {
    color: #7d2ae8;
}
.navigation {
    margin-left: -300px;
}
.navigation a {
    display: inline-block;
    font-size: 1.1em;
    color: #555;
    text-decoration: none;
    margin-right: 40px;
    font-weight: 500;
    padding: 3px 2px;
    transition: color 0.3s,
    background 0.3s, 
    letter-spacing 0.3s, 
    transform 0.3s, padding 0.3s, 
    border-radius 0.3s;
}

.navigation a:hover {
    color: #fff;
    background-color: #7d2ae8;
    text-decoration: underline;
    border-radius: 4px;
    padding: 3px 2px;
    color: #ffffff;
    display: inline-block;
    transform: scale(1.1);
}

/* Experiencia */
.experiencia {
  padding: 60px 20px;
  background: #f1f1f1;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.contenedor-experiencia {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  margin-top: 50px;
}

.experiencia h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #111;
}

.experiencia p {
  margin-bottom: 30px;
  color: #555;
}

.habilidad {
  margin-bottom: 12px;
  text-align: left;
}

.habilidad-img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
  float: left;
}

.habilidad span {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

.barra {
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  height: 14px;
}

.progreso {
  height: 100%;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  width: 0;
  animation: llenar 2s ease forwards;
  border-radius: 10px;
}

/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #7d2ae8;
    border-radius: 2px;
    transition: 0.3s;
}

/*Responsive*/
@media (max-width: 900px) {
  .contenedor-experiencia {
    padding: 0 10px;
  }
 
  header {
        padding: 20px 30px;
    }

  .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 200px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 20px 20px 20px;
        transition: right 0.3s;
        z-index: 150;
        margin-left: 0;
    }
    .navigation.active {
        right: 0;
    }
    .navigation a {
        margin: 20px 0;
        font-size: 1.2em;
        padding: 10px 0;
        width: 100%;
        border-radius: 6px;
    }
    .hamburger {
        display: flex;
    }
}
