.sucesso-wrapper {
  top: 0;
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  background: white;
  flex-direction: column;
  gap: 2rem;
}

.sucesso-checkmark {
  width: 200px;
  height: 200px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.sucesso-wrapper .sucesso-msg {
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  z-index: 9999;
  top: -109px;
  position: relative;
}
.sucesso-wrapper img{
  width: 100%;
}

.sucesso-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  /* border: 4px solid #4CAF50; */
}

.sucesso-checkmark .check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

/* .sucesso-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.sucesso-checkmark .check-icon::before,
.sucesso-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
} */

.sucesso-checkmark .check-icon .green-dot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4CAF50;
    position: absolute;
    top: 0;
    left: 0;
    animation: grow-dot 3s ease-in-out forwards;
    opacity: 0;
    z-index: 999;
}

.sucesso-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #fff;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 99999;
}

.sucesso-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 1.75s;
}

.sucesso-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 1.75s;
}

.sucesso-checkmark .check-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    /* border: 4px solid rgba(76, 175, 80, .5); */
}

.sucesso-checkmark .check-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
}

.explode-line {
    width: 5px;
    height: 18px;
    background-color: rgba(76, 175, 80, .5);
    position: absolute;
    border-radius: 2px;
    z-index: 99;
    opacity: 0;
}

.explode-line.top{
    top: -18px;
    left: 36px;

    animation: explodeTop 2.5s normal forwards 0.7;
}

.explode-line.top-right {
    top: -5px;
    right: 0px;
    transform: rotate(45deg);

    animation: explodeTopRight 2.5s normal forwards 0.7;
  }
  
  .explode-line.right {
    top: 28px;
    right: -14px;
    transform: rotate(90deg);

    animation: explodeRight 2.5s normal forwards 0.7;
  }
  
  .explode-line.bottom-right {
    bottom: -2px;
    right: -1px;
    transform: rotate(135deg);

    animation: explodeBottomRight 2.5s normal forwards 0.7;
  }
  
  .explode-line.bottom {
    bottom: -18px;
    left: 36px;
    transform: rotate(180deg);

    animation: explodeBottom 2.5s normal forwards 0.7;
  }
  
  .explode-line.bottom-left {
    bottom: -2px;
    left: -1px;
    transform: rotate(-135deg);

    animation: explodeBottomLeft 2.5s normal forwards 0.7;
  }
  
  .explode-line.left {
    top: 28px;
    left: -14px;
    transform: rotate(-90deg);

    animation: explodeLeft 2.5s normal forwards 0.7;
  }
  
  .explode-line.top-left {
    top: -5px;
    left: 0px;
    transform: rotate(-45deg);

    animation: explodeTopLeft 2.5s normal forwards 0.7;
}

@keyframes explodeTop {
    0% {
      transform: translateY(0) scaleY(1);
      opacity: 0;
    }
    38% {
      transform: translateY(0) scaleY(1);
      opacity: 0;
    }
    55% {
      transform: translateY(-20px) scaleY(1);
      opacity: 0.5;
    }
    63% {
      transform: translateY(-20px) scaleY(1);
      opacity: 0;
    }
    100% {
      transform: translateY(-20px) scaleY(1);
      opacity: 0;
    }
  }

  @keyframes explodeBottom {
      0% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
      }
      38% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
      }
      55% {
        transform: translateY(20px) scaleY(1);
        opacity: 0.5;
      }
      63% {
        transform: translateY(20px) scaleY(1);
        opacity: 0;
      }
      100% {
        opacity: 0;
      }
    }

  @keyframes explodeRight {
    0% {
      transform: translateX(0) scaleY(1) rotate(90deg);
      opacity: 0;
    }
    38% {
      transform: translateX(0) scaleY(1) rotate(90deg);
      opacity: 0;
    }
    55% {
      transform: translateX(20px) scaleY(1) rotate(90deg);
      opacity: 0.5;
    }
    63% {
      transform: translateX(20px) scaleY(1) rotate(90deg);
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }

  @keyframes explodeLeft {
    0% {
      transform: translateX(0) scaleY(1) rotate(-90deg);
      opacity: 0;
    }
    38% {
      transform: translateX(-0) scaleY(1) rotate(-90deg);
      opacity: 0;
    }
    55% {
      transform: translateX(-20px) scaleY(1) rotate(-90deg);
      opacity: 0.5;
    }
    63% {
      transform: translateX(-20px) scaleY(1) rotate(-90deg);
      opacity: 0;
    }
    100% {
      transform: translateY(-20px) scaleY(1) rotate(-90deg);
      opacity: 0;
    }
  }
  


  @keyframes explodeTopRight {
    0% {
      transform: translate(0, 0) scaleY(1) rotate(45deg);
      opacity: 0;
    }
    43% {
      transform: translate(0, 0) scaleY(1) rotate(45deg);
      opacity: 0;
    }
    56% {
      transform: translate(10px, -10px) scaleY(1) rotate(45deg);
      opacity: 0.5;
    }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }


  @keyframes explodeTopLeft {
    0% {
      transform: translate(0, 0) scaleY(1) rotate(-45deg);
      opacity: 0;
    }
    43% {
      transform: translate(0, 0) scaleY(1) rotate(-45deg);
      opacity: 0;
    }
    56% {
      transform: translate(-10px, -10px) scaleY(1) rotate(-45deg);
      opacity: 0.5;
    }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  @keyframes explodeBottomRight {
    0% {
      transform: translate(0, 0) scaleY(1) rotate(135deg);
      opacity: 0;
    }
    43% {
      transform: translate(0, 0) scaleY(1) rotate(135deg);
      opacity: 0;
    }
    56% {
      transform: translate(10px, 10px) scaleY(1) rotate(135deg);
      opacity: 0.5;
    }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 00;
    }
  }
  
  @keyframes explodeBottomLeft {
    0% {
      transform: translate(0, 0) scaleY(1) rotate(45deg);
      opacity: 0;
    }
    43% {
      transform: translate(0, 0) scaleY(1) rotate(45deg);
      opacity: 0;
    }
    56% {
      transform: translate(-10px, 10px) scaleY(1) rotate(45deg);
      opacity: 0.5;
    }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }


@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

@keyframes grow-dot {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  30% {
    transform: scale(0);
    opacity: 0;
  }
  38% {
    transform: scale(1);
    opacity: 1;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
  42% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}