.mj-step-process__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mj-step-process__heading {
  display: inline-block;
  transform: rotate(2deg);
}

.mj-step-process__heading span {
  font-size: 1.563rem;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-family: 'Decaying Felt Pen';
  line-height: 1;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  padding: 26px 17px 15px;
}

@media (max-width: 767px) {
  .mj-step-process__heading span {
    font-size: 1.3rem;
    line-height: 1.7;
    padding: 26px 17px 15px;
  }
  .mj-step-process__heading {
    max-width: 300px;
  }
  .mj-step-process__heading span:before, .mj-step-process__heading span:after {
    top: 27px;
    height: 5px;
  }
}

.mj-step-process__subheading {
  display: inline-block;
  text-decoration: none;
  position: relative;
  z-index: 10;
  margin-top: 0.5rem;
  top: -23px;
}

.mj-step-process__subheading span {
  background: #fff;
  border-radius: 2px;
  color: #000;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 5px 10px;
  display: inline-block;
  position: relative;
}

.mj-step-process__subheading:hover span,
.mj-step-process__subheading:focus span {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.mj-step-process__subheading:hover,
.mj-step-process__subheading:focus {
  text-decoration: none;
}

.mj-step-process__heading span:before,
.mj-step-process__heading span:after {
  content: '';
  width: 8px;
  height: 8px;
  display: block;
  background: var(--color-primary);
  border-radius: 50px;
  position: relative;
  top: 3px;
}

.mj-step-process__heading span:before {
  margin-right: 2.813rem;
}

.mj-step-process__heading span:after {
  margin-left: 2.813rem;
}

.mj-step-process__wrapper {
  margin-top: 2rem;
}

.mj-step-process__track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.mj-step-process__step {
  flex: 1 1 20%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mj-step-process__item {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.mj-step-process__arrow {
  flex: 0 0 0;
  width: 19px;
  height: 28px;
  display: block;
  top: 1.3rem;
  position: relative;
}

.mj-step-process__arrow:before {
  content: '';
  width: 19px;
  height: 28px;
  display: block;
  background: url('../img/arrow.svg') no-repeat center;
  background-size: contain;
  position: relative;
  z-index: 10;
}

.mj-step-process__step:last-child .mj-step-process__arrow {
  display: none;
}

.mj-step-process__number {
  display: block;
  font-family: 'Decaying Felt Pen';
  font-size: 3.125rem;
  line-height: 2;
}

.mj-step-process__title {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mj-step-process__subtitle {
  margin: 0;
  font-size: 0.875rem;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .mj-step-process__track {
    flex-wrap: wrap;
  }

  .mj-step-process__step {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .mj-step-process__step:nth-child(3) .mj-step-process__arrow,
  .mj-step-process__step:nth-child(5) .mj-step-process__arrow {
    display: none;
  }

  .mj-step-process__step:nth-child(4),.mj-step-process__step:nth-child(5) {
    margin-top: 2rem;
  }
}
@media (min-width: 768px) {
  .home-part-link.hpl-2 .elementor-image-box-img {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .mj-step-process__track {
    flex-wrap: wrap;
    padding-left: 1rem;
  }
  .mj-step-process__arrow {
    right: -10px;
  }
  .mj-step-process__step {
    flex: 0 0 55%;
    max-width: 50%;
  }
  .mj-step-process__step:nth-child(2) .mj-step-process__arrow,
  .mj-step-process__step:nth-child(4) .mj-step-process__arrow {
    display: none;
  }
  .mj-step-process__step:nth-child(3),.mj-step-process__step:nth-child(4),.mj-step-process__step:nth-child(5) {
    margin-top: 2rem;
  }
}
