/*Downloaded from https://www.codeseek.co/agudulin/step-by-step-progress-bar-jqzZYP */
/*:root {
  box-sizing: border-box;
  height: 100%;
}

:root, body {
  height: 100%;
  margin: 0;
}*/

/*body {
  background-color: black;
  color: #eee;
  font-family: Lato, 'Lucida Grande';
  padding: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}*/

.progressbar {
  display: table;
  table-layout: fixed;
  width: 100%;
  font-size:12px;
}
.progressbar__step {
  display: table-cell;
  position: relative;
  text-align: center;
}
.progressbar__step::before {
  content: attr(data-step);
  display: block;
  position: relative;
  left: calc(50% - 10px*1.5);
  width: 35px;
  height: 35px;
  line-height: 30px;
  border-radius: 50%;
  border: 3px solid #f0f0f0;
  color: #f0f0f0;
  background-color: #40c889;
  z-index: 200;
  font-size:12px;
}
.progressbar__step::after {
  content: attr(data-dur);
  display: block;
  position: absolute;
  top: calc(10px*1.5 + 3px);
  left: 50%;
  margin-left: 5px;
  width: 100%;
  height: 3px;
  background-color: #d3d3d3;
  z-index: 100;
   font-size:12px;
}
.progressbar__step:last-child::after {
  display: none;
}
.progressbar__step.is-done::after {
  background-color: #40c889;
}


@media screen and (max-width: 768px) {
 .progressbar {
  display: table;
  table-layout: fixed;
  width: 100%;
  font-size:8px;
  /*color: orange;*/
}
.progressbar__step {
  display: table-cell;
  position: relative;
  text-align: center;
}
.progressbar__step::before {
  content: attr(data-step);
  display: block;
  position: relative;
  left: calc(50% - 10px*1.5);
  width: 25px;
  height: 25px;
  line-height: 20px;
  border-radius: 50%;
  border: 3px solid #f0f0f0;
  color: #f0f0f0;
  background-color: #40c889;
  z-index: 200;
  font-size:7px;
}
.progressbar__step::after {
  content: attr(data-dur);
  display: block;
  position: absolute;
  top: calc(7px*1.5 + 3px);
  left: 50%;
  margin-left: 0px;
  width: 100%;
  height: 2px;
  background-color: #d3d3d3;
  z-index: 100;
   font-size:7px;
}
.progressbar__step:last-child::after {
  display: none;
}
.progressbar__step.is-done::after {
  background-color: #40c889;
}
}