body,
main,
hr,
form,
div,
label,
input,
textarea,
button,
span,
i {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "IBM Plex Sans", sans-serif;
}

body {
  display: grid;
  place-content: center;
  min-height: 100vh;
  background-color: #ffffff;
}

main {
  max-width: 600px;
  padding: 32px;
  border-radius: 6px;
  border: 1px solid #e1e1e6;
  background: #ffffff;
  display: grid;
  gap: 32px;
  overflow: hidden;
}
main #steps-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  counter-reset: step;
}
main #steps-progress .step {
  font-size: 16px;
  line-height: 150%;
  font-weight: 700;
  color: #7c7c8a;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
main #steps-progress .step::before {
  counter-increment: step;
  counter-increment: step;
  content: counter(step);
  color: #7c7c8a;
  font-size: 14px;
  background-color: #e1e1e6;
  border-radius: 50px;
  display: grid;
  place-content: center;
  height: 28px;
  width: 28px;
  transition: background-color 0.5s, color 0.5s;
}
main #steps-progress .step.select {
  color: #323238;
}
main #steps-progress .step.select::before {
  color: #ffffff;
  background-color: #633bbc;
}
main #steps-progress .step.complete {
  color: #323238;
}
main #steps-progress .step.complete::before {
  background-color: #1d8841;
  content: "";
  background-image: url(../assets/complete-icon.svg);
  background-position: center;
  background-repeat: no-repeat;
}
main #steps-progress i {
  color: #323238;
  font-size: 20px;
}
main .divider {
  color: #e1e1e6;
}
main form {
  position: relative;
}
@keyframes appear {
  from {
    transform: translateX(200px);
    scale: 0.7;
    opacity: 0;
  }
}
@keyframes desappear {
  to {
    transform: translateX(-200px);
    scale: 0.7;
    opacity: 0;
  }
}
main form .form-step {
  animation: desappear 0.5s forwards;
  gap: 16px;
  position: absolute;
  top: 0;
}
main form .form-step.hide {
  display: none;
}
main form .form-step.active {
  animation: appear 0.5s backwards;
  display: grid;
  position: static;
}
main form .form-step .input-wrapper {
  gap: 4px;
  display: grid;
}
main form .form-step .input-wrapper label {
  font-size: 16px;
  line-height: 150%;
  font-weight: 700;
  color: #323238;
}
main form .form-step .input-wrapper input,
main form .form-step .input-wrapper textarea {
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  color: #323238;
  padding: 8px 16px;
  border: 1px solid #e1e1e6;
  border-radius: 2px;
  outline: none;
  transition: border 300ms;
}
main form .form-step .input-wrapper input::-moz-placeholder, main form .form-step .input-wrapper textarea::-moz-placeholder {
  color: #8c8c99;
}
main form .form-step .input-wrapper input::placeholder,
main form .form-step .input-wrapper textarea::placeholder {
  color: #8c8c99;
}
main form .form-step .input-wrapper input:hover, main form .form-step .input-wrapper input:focus,
main form .form-step .input-wrapper textarea:hover,
main form .form-step .input-wrapper textarea:focus {
  border-color: #633bbc;
}
main form .form-step .buttons {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
}
main form .form-step .buttons.one-button button {
  margin-left: auto;
}
main form .form-step .buttons button {
  font-size: 16px;
  line-height: 150%;
  font-weight: 700;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  background-color: #633bbc;
  min-height: 56px;
  min-width: 158px;
  padding: 16px 32px;
  transition: background 300ms, color 300ms;
  cursor: pointer;
}
main form .form-step .buttons button.ghost {
  color: #633bbc;
  background-color: transparent;
  border: 1px solid #633bbc;
}
main form .form-step .buttons button:hover {
  color: #ffffff;
  background-color: #8257e5;
}

@media (max-width: 450px) {
  main #steps-progress .step {
    padding: 0px;
    display: flex;
    flex-direction: column;
  }
  main form .form-step .buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  main form .form-step .buttons.one-button button {
    margin-left: 0;
  }
}/*# sourceMappingURL=style.css.map */