:root {
  --percentage: 100%;
}

.container {
    padding: 0 3em;
    margin: auto;
}

.category {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  padding: 0 2em;
  margin-top: 3em;
  margin-bottom: .25em;
}

.category span {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  background-color: var(--fa-p);
  padding: 0.5em 1em;
  border-radius: 2rem;
  margin: 0.25em;
}

.category span:nth-child(2) {
  color: var(--fa-p);
  background: var(--bg-primary);
  border: 2px solid var(--fa-p);
}

.category span:nth-child(3) {
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 2px solid var(--text-primary);
}

.italic {
   font-weight:300;
   margin-left: .25em;
}

.progress-section {
  padding: 0 2em;
}

.progress-bar {
  width: 100%;
}

.progress-content {
  display: flex;
  flex-flow: row wrap;
}

.progress-title {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  width: 100%;
}

.progress-title h4 {
  color: var(--text-secondary);
  vertical-align: middle;
  margin: 0;
}

.progress-icon {
  color: var(--fa-p);
  filter: grayscale(1) opacity(0.9);
  transition: 500ms;
  font-size: 2em;
  margin-left: 1em;
}

.progress-icon:hover {
  filter: grayscale(0) opacity(1);
}

.progress-icon svg {
  width: 1em;
  height: 1em;
}

.bar {
  width: 100%;
  height: 10px;
  background: var(--fa-p);
  border-radius: 1em;
  margin-top: .25em;
  margin-bottom: 1.5em;
}

.percentage {
  height: 10px;
  background: var(--fa-s);
  border-radius: 1em;
  width: var(--percentage);
  animation: loadIn 1.2s ease-in-out;
}

.percentage-95 {--percentage: 95%;}
.percentage-90 {--percentage: 90%;}
.percentage-85 {--percentage: 85%;}
.percentage-80 {--percentage: 80%;}
.percentage-75 {--percentage: 75%;}
.percentage-70 {--percentage: 70%;}

.svg-icon { font-size: 1.35em;}


@keyframes loadIn {
  from {
    width: 0 ;
  }
  to {
    width: var(--percentage);
  }
}


/* Responsive */
@media (max-width:640px) {

  .progress-title h4 {
      width: 100%;
  }
  .progress-icon{
    width: 100%;
    font-size: 1.5em;
    margin-left: 0;
  }

  .bar {
    width: 100%;
  }

}

@media (max-width:1024px) {
  .category { margin-bottom: 2em;}
}

@media (max-width:480px) {
  .container {
    padding: 0;
    margin-top: 2em;
  }
  .progress-section {padding: 0;}
  .text p {text-align: left;}
}
