@keyframes disappear{
    0%{
      opacity: 1;
    }
    50%{
      opacity: 0.5;
    }
    100%{
      display: none;
      opacity: 0;
    }
  }

  .disappear{
      animation-name: disappear;
      animation-duration: 1000ms;
      animation-fill-mode: forwards;
  }
/* Success style */  

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position:relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
 
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}
/* ERROR style */
  .container {
    width: 100px;
    height: 100px;
    display: block;
    position:relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
 }
  .circle, .circle-border {
    width: 100px;
    height: 100px;
    border-radius: 50%;
 }
  .circle {
    z-index: 1;
    position: relative;
    background: white;
    transform: scale(1);
    animation: success-anim 700ms ease;
 }
  .circle-border {
    z-index: 0;
    position: absolute;
    transform: scale(1.1);
    animation: circle-anim 400ms ease;
    background: #f86;
 }
  @keyframes success-anim {
    0% {
      transform: scale(0);
   }
    30% {
      transform: scale(0);
   }
    100% {
      transform: scale(1);
   }
 }
  @keyframes circle-anim {
    from {
      transform: scale(0);
   }
    to {
      transform: scale(1.1);
   }
 }
  .error::before, .error::after {
    content: "";
    display: block;
    height: 4px;
    background: #f86;
    position: absolute;
 }
  .error::before {
    width: 70px;
    top: 48%;
    left: 16%;
    transform: rotateZ(50deg);
 }
  .error::after {
    width: 70px;
    top: 48%;
    left: 16%;
    transform: rotateZ(-50deg);
 }
  
/* Loader style */

.loader {
  width: 48px;
  height: 48px;
  display: block;
  margin: 15px auto;
  position: relative;
  color: gold;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  transform: scale(0.5) translate(0, 0);
  background-color: gold;
  border-radius: 50%;
  animation: animloader 2s infinite ease-in-out;
}
.loader::before {
  background-color: #050139;
  transform: scale(0.5) translate(-48px, -48px);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes animloader {
  50% {
    transform: scale(1) translate(-50%, -50%);
  }
}

/* END Loader style */