@background: #ffffff;
@progress-background: rgba(0, 0, 0, 0.25);
@first: #353535;
@second: #3c6e71;
@third: #d9d9d9;
@fourth: #284b63;

body {
  background: @background;
}

.container {
  margin: 10px auto;
  width: 80%;
  text-align: center;
}

.progress {
  padding: 6px;
  background: @progress-background;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25),
    0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar {
  height: 30px;
  background-color: #ee303c;
  border-radius: 4px;
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.progress-striped .progress-bar {
  background-color: @second;
  width: 100%;
  background-image: linear-gradient(
    45deg,
    @first 25%,
    transparent 25%,
    transparent 50%,
    @first 50%,
    @first 75%,
    transparent 75%,
    transparent
  );
  animation: progressAnimationStrike 6s;
}

@keyframes progressAnimationStrike {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.progress2 {
  padding: 6px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25),
    0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar2 {
  height: 18px;
  border-radius: 30px;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.05)
  );
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.progress-moved .progress-bar2 {
  width: 85%;
  background-color: #ef476f;
  animation: progressAnimation 6s;
}

@keyframes progressAnimation {
  0% {
    width: 0%;
    background-color: #f9bcca;
  }
  100% {
    width: 85%;
    background-color: #ef476f;
  }
}

@green: #355070;
@turquoise: #6d597a;
@blue: #b56576;
@light-blue: #e56b6f;
@purple: #eaac8b;
@yellow: #f4b936;
@orange: #f6870a;
@red: #ff2d55;

.progress-bar3 {
  height: 30px;
  border-radius: 4px;
  background-image: linear-gradient(
    to right,
    @green,
    @turquoise,
    @orange,
    @light-blue,
    @yellow,
    @red
  );
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.progress-infinite .progress-bar3 {
  width: 100%;
  background-image: linear-gradient(
    to right,
    @green,
    @turquoise,
    @orange,
    @light-blue,
    @yellow,
    @red
  );
  animation: colorAnimation 1s infinite;
}

@keyframes colorAnimation {
  0% {
    background-image: linear-gradient(
      to right,
      @yellow,
      @orange,
      @red,
      @green,
      @blue,
    );
  }
  20% {
    background-image: linear-gradient(
      to right,
      @orange,
      @red,
      @green,
      @blue,
      @yellow,
    );
  }
  40% {
    background-image: linear-gradient(
      to right,
      @red,
      @green,
      @blue,
      @yellow,
      @orange,
    );
  }
  60% {
    background-image: linear-gradient(
      to right,
      @green,
      @blue,
      @yellow,
      @orange,
      @red,
    );
  }
  100% {
    background-image: linear-gradient(
      to right,
      @blue,
      @yellow,
      @orange,
      @red,
      @green,
    );
  }
}
