.jgs__container {
  position: relative;
  transition: opacity 400ms ease;display: flex;gap: 20px;padding: 60px 0 30px 0;overflow: hidden;
}
.jgs__motivational {
  position: absolute;
  top: 3%;
  right: 10%;
  transition: 800ms ease opacity;
  color: #fff;
  font-family: "Montserrat";
  font-size: 3rem;
  font-weight: bold;
  opacity: 0;
  z-index: 3;
}

.jgs__motivational.active {
  opacity: 1;
}
.jgs__percentage-container {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  transition: opacity 200ms ease;
  border-radius: 50%;
  background: #e67e36;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  z-index: 2;display: none;
}
.jgs__percentage-container.active {
  opacity: 1;
}
.jgs__percentage-value {
  color: #fff;
  font-size: 24px;
}
.jgs__image-container {
  position: relative;width:65%;
  float: left;z-index: 9;
}
.jgs__overlay-container {
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  transform-origin: bottom;
  overflow: hidden;
}
.jgs__overlay-image {
  position: absolute;
  right: 0;
  width: 100%;
  transform-origin: bottom;
}
.jgs__image-base {
  width: 100%;
}
.jgs__steps-container {
  position: relative;
  width: 30%;
  border-left: solid 2px #333;
  padding: 0 0 0 20px;
}

.jgs__step {
  position: relative;
  width: 100%;
  float: left;color: #000;text-align: right;
}
.jgs__step:last-child {
  border: 0;
}
.jgs__sum-goal {
  display: block;
  font-size: 18px;
  font-weight: 800;
}
.jgs__goal {
  display: block;
  font-size: 28px;
  font-weight: 800;
}
.jgs__steps-highlighted {
  position: absolute;
  left: -85%;
  width: 100%;
  transform-origin: bottom;
  bottom: 0;
  border-top: dashed 2px orange;z-index: 1;
}
.jgs__step.goal-start {
  position: absolute;
  bottom:-10px;
  right: 0;
}
.jgs__step.goal-end {
  position: absolute;
  top: 0;
  right: 0;margin-top: -40px;
}
.jgs__step.current-raised {
  position: absolute;
  right: 0;
  margin-bottom: -30px;
  background: #fff;
}
.jgs__step.goal-start::before {
  content: "";
  position: absolute;
  border-bottom: dashed 2px #08b1e8;
  width: 100%;
  height: 2px;
  left: -85%;bottom:10px;
}
.jgs__step.goal-end::before {
  content: "";
  position: absolute;
  border-top: dashed 2px #ccc;
  width: 100%;
  height: 2px;
  left: -85%;top: 40px;
}

@media screen and (max-width: 767px) {
  .jgs__image-container {
    width: 55%;
  }
  .jgs__steps-container {
    width: 45%;
  }
  .jgs__sum-goal {
    font-size: 15px;
  }
  .jgs__goal {
    font-size: 22px;
  }
}