.stepper__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stepper__title {
  color: var(--black-color);
}

.timeline__number {
  color: #373cc2;
  margin-bottom: 24px;
  font-size: 28px;
}

.timeline__track {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.timeline__entry {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  z-index: 2;
}

.timeline__content {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f3f5fb;
  padding: 24px 24px 24px 0;
  border-radius: 16px;
  box-shadow:
    0px 4px 4px 0px #e2e2e21a,
    0px 4px 10px 0px #2d60e21a;
  border: 1px solid #eef3ff;
  opacity: 0.4;
  transition: opacity 500ms ease;
}

.timeline__entry.active .timeline__content {
  opacity: 1;
}

.timeline__title {
  color: #0d1118;
  font-weight: 700;
  letter-spacing: 0;
  font-size: 24px;
}

.timeline__content-info p {
  color: #4f4f4f;
  margin-top: 16px;
}

.timeline__content-icon img {
  max-height: 152px;
}

.timeline__content-icon {
  min-height: 200px;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__line:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  top: 0;
  height: var(--timeline-progress, 0px);
  background: var(--primary-color);
  border-radius: 1px;
  z-index: 1;
}

.timeline__line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  top: var(--timeline-start, 0px);
  height: var(--timeline-span, 100%);
  background: #cfcfcf;
  border-radius: 1px;
  z-index: 1;
  pointer-events: none;
}

.timeline__point {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.timeline__point:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.timeline__point:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background-color: #c9cff9;
  z-index: -1;
  transition:
    width 400ms ease,
    height 400ms ease;
}

.timeline__entry.active .timeline__point:before {
  width: 32px;
  height: 32px;
}

.timeline__entry.right .timeline__point {
  left: 0;
  transform: translate(-50%, -50%);
}

.timeline__entry.left .timeline__point {
  left: 100%;
  transform: translate(-50%, -50%);
}

.timeline__content-info {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1100px) {
  .timeline__content {
    flex-direction: column;
    align-items: start;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .timeline__content-icon {
    background: #f3f5fb;
    border-radius: 16px;
  }
}

@media screen and (min-width: 769px) {
  #primary section.stepper {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .timeline__entry.left {
    left: 0;
    padding-right: 58px;
  }

  .timeline__entry.right {
    left: 50%;
    padding-left: 58px;
  }
}

@media screen and (max-width: 768px) {
  #primary section.stepper {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .timeline__entry {
    width: 100%;
    padding-left: 46px;
  }

  .timeline__line {
    left: 20px;
    transform: none;
  }

  .timeline__entry .timeline__point {
    left: 0;
    transform: translate(-50%, -50%);
  }

  .timeline__entry.right .timeline__point,
  .timeline__entry.left .timeline__point {
    left: 21px;
  }
}
