svg {
  width: 100px;
  display: block;
  margin: 40px auto 0;
}

.svg-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
}

.svg-path.circle {
  animation: dash 0.9s ease-in-out;
}

.svg-path.line {
  stroke-dashoffset: 1000;
  animation: dash 0.9s 0.35s ease-in-out forwards;
}

.svg-path.check {
  stroke-dashoffset: -100;
  animation: dash-check 0.9s 0.35s ease-in-out forwards;
}

p {
  text-align: center;
  margin: 20px 0 60px;
  font-size: 1.25em;
}

p.success {
  color: #73af55;
}

p.error {
  color: #d06079;
}

@keyframes dash {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes dash-check {
  0% {
    stroke-dashoffset: -100;
  }
  100% {
    stroke-dashoffset: 900;
  }
}
