body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  display: flex;
  justify-content: center;
}

html {
  font-size: 62.5%;
}
*,
*::before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --color-progress-inactive: #e0e0e0;
  --color-progress-active: #3498db;
}

.progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 200px;
  width: 100%;
  max-width: 600px;
  padding: 0 2rem;
  margin: 1rem;
  border-radius: 0.6rem;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* steps */
.steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.steps::before {
  content: "";
  background-color: var(--color-progress-inactive);
  height: 0.4rem;
  width: 100%;
  position: absolute;
  z-index: 2;
}
.progress-bar {
  position: absolute;
  z-index: 3;
  background-color: var(--color-progress-active);
  height: 0.4rem;
  transition: 0.4s ease;
  width: 0%;
}

.step {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  font-size: 1.6rem;
  background-color: #fff;
  color: #999;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  border: 4px solid var(--color-progress-inactive);
  z-index: 4;
  line-height: 0;
}

.step.active {
  border-color: var(--color-progress-active);
  transition: 0.4s ease;
}

/* button */

.progress-btn {
  cursor: pointer;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  padding: 0.8rem 3rem;
  border: 0;
}

.progress-btn:disabled {
  background-color: var(--color-progress-inactive);
  cursor: not-allowed;
}
.progress-btn:active {
  transform: scale(0.98);
}
.progress-btn:focus {
  outline: transparent;
}

.primary {
  color: #fff;
  background-color: var(--color-progress-active);
}
