:root {
  --progress-height: 14px;
}

.linear-progress-2 {
  background-color: #fff;
  padding: 15px;
  width: 30%;
  border-radius: 8px;
  margin: 10px 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.linear-progress-2 h3 {
  font-size: 18px;
  width: fit-content;
  padding: 5px 10px;
  color: #fafafa;
  border-radius: 4px;
}

.linear-progress-2 .progress-part {
  height: var(--progress-height);
  width: 94%;
  position: relative;
  flex: 1;
}

.linear-progress-2 .progress-part > span {
  position: absolute;
  height: 70%;
  width: 0%;
  transition: 2s ease-in-out width;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
}

.linear-progress-2 .progress-part > span > span {
  width: 46px;
  font-size: 14px;
  text-align: center;
  background-color: inherit;
  color: white;
  position: absolute;
  right: -23px;
  top: -41px;
  padding: 4px 2px;
  display: block;
  border-radius: 4px;
  border-top-color: inherit;
  transition: 1.5s ease-in-out;
}

.linear-progress-2 .progress-part > span > span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  border-width: 9px;
  border-style: solid;
  border-color: transparent transparent transparent transparent;
  border-top-color: inherit;
}

@media (max-width: 767px) {
  .linear-progress-2 {
    width: 48%;
  }
}
@media (max-width: 575px) {
  .linear-progress-2 {
    width: 96% !important;
  }
}