#tick {
  stroke: #63bc01;
  stroke-width: 6;
  transition: all 1s;
}

#circle {
  stroke: #63bc01;
  stroke-width: 6;
  transform-origin: 50px 50px 0;
  transition: all 1s;
}

.progressn #tick {
  opacity: 0;
}

.ready #tick {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 8s ease-out forwards;
}

.progressn #circle {
  stroke: #212121;
  stroke-dasharray: 314;
  stroke-dashoffset: 1000;
  animation: spin 3s linear infinite;
}

.ready #circle {
  stroke-dashoffset: 66;
  stroke: #63bc01;
}

#circle {
  stroke-dasharray: 500;
}

@keyframes spin {
  0% { 
    transform: rotate(0deg);
    stroke-dashoffset: 66;
  } 
  50% {
    transform: rotate(540deg);
    stroke-dashoffset: 314;
  } 
  100% {
    transform: rotate(1080deg);
    stroke-dashoffset: 66;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

#check {
  width: 100px;
  height: 100px;
}


.confirm-section { text-align: center; display: flex; align-items: center; justify-content: center; height: 100vh; }
.confirm-wrapper { border-radius: 8px; border: 1px solid var(--grey-2002, #D8DAE0); background: #FFF; box-shadow: -2px 2px 10px 0px rgba(0, 0, 0, 0.08), 2px 2px 9px 0px rgba(0, 0, 0, 0.08); padding: 56px 45px; max-width: 480px; }
.confirm-wrapper h1 { color: #212121; font-size: 24px; font-weight: 600; line-height: 36px; margin-top: 38px; margin-bottom: 30px; }
.confirm-textframe { color: #5C5C5E;font-size: 16px; line-height: 24px; }

.hourglassBackground { position: relative; background-color: #000000; height: 120px; width: 120px; border-radius: 50%; margin: 0px auto; }
.hourglassContainer {
    position: absolute;
    top: 30px;
    left: 35px;
    width: 50px;
    height: 70px;
    animation: hourglassRotate 2.0s ease-in 0s infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.hourglassContainer div, .hourglassContainer div:before, .hourglassContainer div:after{transform-style: preserve-3d;}

@keyframes hourglassRotate { 
    0%    { transform: rotateX(0deg); }
    50%   { transform: rotateX(180deg); }
    100%  { transform: rotateX(180deg); }
}


[class^="hourglassCap"] {
    position: absolute;
    left: 0;
    height: 5px;
    width: 50px;
    background-color: #fff;
}
[class^="hourglassCap"]:after, [class^="hourglassCap"]:before{
content: "";
        display: block;
        position: absolute;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        transform: rotateX(90deg);
        background-color: #fff;
}
.hourglassCapTop {
    top: 0;
}
.hourglassCapTop:before{
     top: -25px; 
}
.hourglassCapTop:after{
   top: -20px; 
}
.hourglassCapBottom {
    bottom: 0;
}
.hourglassCapBottom:before {
   bottom: -25px;
}
.hourglassCapBottom:after {
    bottom: -20px;
}
.hourglassGlassTop {
    transform: rotateX(90deg);
    position: absolute;
    top: -16px;
    left: 3px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    background-color: #f3f3f7;
}
.hourglassGlass {
    perspective: 100px;
    position: absolute;
    top: 32px;
    left: 20px;
    width: 10px;
    height: 6px;
    background-color: #f3f3f7;
    opacity: 0.5;
}
.hourglassGlass:before {

        content: "";
        display: block;
        position: absolute;
        background-color: #f3f3f7;
        left: -17px;
        width: 44px;
        height: 28px;
      top: -27px;
        border-radius: 0 0 25px 25px;
}
.hourglassGlass:after {
        content: "";
        display: block;
        position: absolute;
        background-color: #f3f3f7;
        left: -17px;
        width: 44px;
        height: 28px;
      bottom: -27px;
        border-radius: 25px 25px 0 0;
}

.hourglassCurves:before {
        content: "";
        display: block;
        position: absolute;
        top: 32px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #333;
        animation: hideCurves 2.0s ease-in 0s infinite;
      left: 15px;
}
.hourglassCurves:after {
        content: "";
        display: block;
        position: absolute;
        top: 32px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #333;
        animation: hideCurves 2.0s ease-in 0s infinite;
      left: 29px;
}
@keyframes hideCurves { 
    0%    { opacity: 1; }
    25%   { opacity: 0; }
    30%   { opacity: 0; }
    40%   { opacity: 1; }
    100%  { opacity: 1; }
}
.hourglassSandStream:before { 
        content: "";
        display: block;
        position: absolute;
        left: 24px;
        width: 3px;
        background-color: #fff;
        animation: sandStream1 2.0s ease-in 0s infinite;
}
.hourglassSandStream:after {
     content: "";
        display: block;
        position: absolute;
        top: 36px;
        left: 19px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #fff;
        animation: sandStream2 2.0s ease-in 0s infinite;
}
@keyframes sandStream1 { 
    0%      { height: 0;    top: 35px; }
    50%     { height: 0;    top: 45px; }
    60%     { height: 35px; top: 8px; }
    85%     { height: 35px; top: 8px; }
    100%    { height: 0;    top: 8px; }
}
@keyframes sandStream2 { 
    0%      { opacity: 0; }
    50%     { opacity: 0; }
    51%     { opacity: 1; }
    90%     { opacity: 1; }
    91%     { opacity: 0; }
    100%    { opacity: 0; }
}
.hourglassSand:before {
        content: "";
        display: block;
        position: absolute;
        left: 6px;
        background-color: #fff;
        perspective: 500px;
        top: 8px;
        width: 39px;
        border-radius: 3px 3px 30px 30px;
        animation: sandFillup 2.0s ease-in 0s infinite;
}
.hourglassSand:after {
        content: "";
        display: block;
        position: absolute;
        left: 6px;
        background-color: #fff;
        perspective: 500px;
      border-radius: 30px 30px 3px 3px;
        animation: sandDeplete 2.0s ease-in 0s infinite;
}
@keyframes sandFillup { 
    0%      { opacity: 0; height: 0; }
    60%     { opacity: 1; height: 0; }
    100%    { opacity: 1; height: 17px; }
}
@keyframes sandDeplete { 
    0%      { opacity: 0; top: 45px; height: 17px; width: 38px; left: 6px; } // prevents flickering
    1%      { opacity: 1; top: 45px; height: 17px; width: 38px; left: 6px; }
    24%     { opacity: 1; top: 45px; height: 17px; width: 38px; left: 6px; }
    25%     { opacity: 1; top: 41px; height: 17px; width: 38px; left: 6px; }
    50%     { opacity: 1; top: 41px; height: 17px; width: 38px; left: 6px; }
    90%     { opacity: 1; top: 41px; height: 0;    width: 10px; left: 20px; }
}
@media (max-width:767px){
  .confirm-wrapper{padding:24px 36px 24px;}
  .confirm-wrapper h1 { font-size: 18px; line-height: 27px;margin-top: 17px; margin-bottom: 8px;}
  .confirm-icon img { width: 76px; }
  .confirm-textframe { font-size: 14px; }
}