.container-skills {
  margin: 0 auto;
  /* border: solid 1px pink; */
  margin-left: 20%;
}
.container-skills h2 {
  /* text-align: center; */
  margin-left: 30%;
  margin-bottom: 1.5em;
}
@keyframes load {
  from {
    width: 0%;
  }
}
@-webkit-keyframes load {
  from {
    width: 0%;
  }
}
@-moz-keyframes load {
  from {
    width: 0%;
  }
}
@-o-keyframes load {
  from {
    width: 0%;
  }
}

.bar {
  /* background-color: #eee; */
  padding: 2px;
  border-radius: 15px;
  margin-bottom: 5px;
  font-size: 14px;
  color: #484848;
  font-weight: bold;
  /* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); */
}
.bar::before {
  content: attr(data-skill);
  /* background-color: #f3b0ff; */
  display: inline-block;
  padding: 5px 0 5px 10px;
  border-radius: inherit;
  animation: load 2s 0s;
  margin-bottom: 1em;
  -webkit-animation: load 2s 0s;
  -moz-animation: load 2s 0s;
  -o-animation: load 2s 0s;
}

.bar.front::before {
  /* background-color: #ffcc33; */
}
.bar.back::before {
  background-color: #a6cfe3;
}

.bar.learning::before {
  width: calc(20% - 10px);
}
.bar.basic::before {
  width: calc(40% - 10px);
}
.bar.intermediate::before {
  width: calc(60% - 10px);
}
.bar.advanced::before {
  width: calc(80% - 10px);
}
.bar.expert::before {
  width: calc(100% - 10px);
}

@media (max-width: 767px) {
  .container-skills {
    width: 100%;
    margin: 0;
    padding-left: 7%;
  }
  .bar.learning::before {
    width: calc(50% - 10px);
  }
}
