@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.past-to-future {
  position: fixed;
  bottom: 2vw;
  left: 4vw;
  width: 12vw;
  height: 100px;
}

.buttons-wrapper {
  animation-name: fade-in;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

.buttons {
  display: flex;
  justify-content: space-around;
  width: 188px;
  align-items: center;
  transform: translateY(-13px);
}

#b-past,
#b-now,
#b-future {
  position: relative;
}

.button-title {
  font-size: 13px;
  position: absolute;
  top: 40px;
  width: 200px;
  opacity: 0;
}

.button {
  width: 22px;
  height: 22px;
  background: #dedede;
  border-radius: 50%;
  cursor: pointer;
}

.line {
  position: absolute;
  height: 4px;
  width: 41px;
  top: 10px;
  left: 22px;
  background: #dedede;
}

.active .line {
  position: absolute;
  height: 4px;
  width: 41px;
  top: 10px;
  left: 22px;
  background: linear-gradient(to right, #c3b1ff, #dedede);
}

.visited .line {
  position: absolute;
  height: 4px;
  width: 41px;
  top: 10px;
  left: 22px;
  background: #d3c5ff;
}

.active .button {
  background: #8b6bff;
}

.visited .button {
  background: #d3c5ff;
}

.active .button-title {
  opacity: 1;
  transition: all 0.8s ease-in-out;
}

.main-label {
  color: #8b6bff;
}

.sub-label {
  font-size: 14px;
  margin-top: 2px;
}
