#steps {
  background: #f0eef1;
  padding: 3rem 0;
}
#steps h2 {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 0;
  font-weight: 400;
  font-size: 50px;
}
#steps .btn {
  font-size: 24px;
}
.step-block-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step-block-img {
  width: 40%;
  aspect-ratio: 80/22;
  border: 4px solid #ffffff;
  border-left: none;
  border-radius: 0 40px 40px 0;
  box-shadow: 0px 3px 6px #00000029;
  position: relative;
  overflow: hidden;
}
.step-block-text {
  width: 60%;
  padding: 0rem 3rem 0rem 6rem;
  display: flex;
}
.step-block-text h3 {
  margin-top: 0;
  color: #464750;
  font-size: 32px;
}
.step-block-text .content {
  color: #464750;
  font-size: 22px;
  line-height: 38px;
  max-width: 600px;
  margin-bottom: 1rem;
}
.step-block-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-block-number {
  background: #535fab;
  height: 60px;
  width: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: 'Ubuntu';
  font-size: 32px;
  border-radius: 50%;
  margin-right: 2rem;
}
.step-block-number::after {
  content: '.';
  display: block;
  position: absolute;
  transform: translateX(12px);
}

#steps .button-row {
  display: flex;
  flex-direction: column;
}
#steps .button-row .btn {
  margin-bottom: 1rem;
  width: fit-content;
  min-width: 250px;
}

@media (max-width: 1200px) {
  #steps h2 {
    font-size: 40px;
  }
  .step-block-inner {
    flex-direction: column;
    padding: 0 1rem;
  }
  .step-block-number {
    min-width: 60px;
    min-height: 60px;
  }
  .step-block-img {
    width: 100%;
    border-radius: 40px;
    border-left: 4px solid white;
    margin-bottom: 1rem;
  }
  .step-block-text {
    width: 100%;
  }
  .step-block-text .content {
    max-width: unset;
  }
}

@media (max-width: 992px) {
  .step-block-text {
    padding: 1rem 2rem 2rem;
    display: flex;
  }
  .step-block-text h3 {
    font-size: 24px;
  }
  .step-block-text .content {
    font-size: 16px;
    line-height: 1.8;
  }
}

@media (max-width: 768px) {
  .step-block-number {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-right: 1rem;
  }
  .step-block-number::after {
    transform: translateX(6px);
  }
  #steps .btn {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .step-block-text {
    padding: 0;
  }
}
