:root{
    --progress-width: 0%;
    --baro-color: '';
}

.baro-border{
    width: 100%;
    background-color: #c5ced5;
    height: 50px;
    display: flex;
    align-items: center;
    border-radius: 100px;
}

.baro-progress{
    background-color: #e5022e;
    height: 100%;
    border-radius: 100px;
    width: var(--progress-width);
}

.progress-animation{
  animation: progressBar 2000ms 10ms ease-in-out;
}

.text-animation{
  animation: textAppear 300ms ease-out forwards;
}

.baro-text-container {
  margin-top: 20px;
}

.baro-text {
  opacity: 0;
  position: relative;
  padding-left: 15px;
}

.baro-text:before {
  content: '\2B24';
  color:  var(--baro-color);
  font-size: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.baro-text:first-child {
  animation-delay: calc(2000ms - 400ms);
}

.baro-text:nth-child(2) {
  animation-delay: calc(2250ms - 400ms);
}

.baro-text:nth-child(3) {
  animation-delay: calc(2500ms - 400ms);
}

.baro-text:nth-child(4) {
  animation-delay: calc(2750ms - 400ms);
}

.baro-text:nth-child(5) {
  animation-delay: calc(3000ms - 400ms);
}

.baro-text b {
  font-size: 133%;
}

@keyframes progressBar{
    0%{
        width: 0%;
    }

    100%{
        width: var(--progress-width);
    }
}

@keyframes textAppear{
    0%{
        opacity: 0%;
    }

    100%{
        opacity: 100%;
    }
}
