@import '../../styles/basics/colors';

.progressbar {
  display: flex;
  justify-content: center;
}

.progressbar div {
  list-style-type: none;
  width: 16%;
  float: left;
  font-size: 14px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  color: brand-secondary;
  margin-top: 100px;
  margin-bottom: 30px;
  .step span {
    margin-top: 35px;
  }
  @media (max-width: 800px) {
    font-size 10px;
  }
}
.progressbar div:before {
  width: 23px;
  height: 23px;
  content: '';
  counter-increment: step;
  line-height: 30px;
  border: 7px solid #979797;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: white;
}

.progressbar .current:before {
  border: 7px solid brand-primary;
}

.progressbar .current {
  font-weight: bold;
  color: brand-primary;
}

.progressbar div:after {
  width: 100%;
  height: 1px;
  content: '';
  position: absolute;
  background-color: #979797;
  border: 3px solid #979797;
  top: 15px;
  left: -50%;
  z-index: -1;
}
.progressbar div:first-child:after {
  content: none;
}
.progressbar div.active {
  color: brand-primary;
}
.progressbar div.active:before {
  border-color: brand-primary;
  background-color: brand-primary;
}
.progressbar div.active + div:after {
  background-color: brand-primary;
  border: 3px solid brand-primary;
}
