.success {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5rem;
  position: fixed;
  background: #fff;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 9000;

  h1 {
    font-size: 4rem;
    color: $base-green;
    text-align: center;
  }
}

.wrapper {
  width: 10rem;
  margin: 4em auto 0;
}

.checkmark {
  stroke: $base-green;
  stroke-dashoffset: 745.74853515625;
  stroke-dasharray: 745.74853515625;
  animation: dash 2s ease-out forwards;
}

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

// MEDIA

@media screen and (max-width: 900px) {
  .success {
    h1 {
      font-size: 3rem;
      padding: 0 2rem;
    }
  }
  .wrapper {
    width: 8rem;
    margin: 4em auto 0;
  }
}

@media screen and (max-width: 500px) {
  .success {
    h1 {
      font-size: 2.6rem;
      padding: 0 2rem;
    }
  }
  .wrapper {
    width: 7rem;
    margin: 4em auto 0;
  }
}
