/*
    Used on:
    - theorb.css

    Description: Makes a pulse effect scaling an element
*/
@keyframes pulse {
  from {
    transform: scale(1);
  }

  65% {
    transform: scale(1.6);
  }

  to {
    transform: scale(1);
  }
}

/* 
    Used on:
    - orbs.css

    Description: Rotates the element 360 positive
*/
@keyframes rotaion360 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*
    Used on:
    - home.css
    
    Description: Makes a white progressive light covers the entire viewport
*/
@keyframes enlightening-expand {
  from {
    visibility: hidden;
    transform: scale(0);
    filter: blur(2px);
  }
  90% {
    visibility: visible;
    transform: scale(150);
    filter: blur(2px);
  }
  to {
    visibility: visible;
    transform: scale(150);
    filter: blur(2px);
  }
}

@keyframes enlightening-expand-hide {
  from {
    visibility: hidden;
    transform: scale(0);
    filter: blur(2px);
  }
  90% {
    visibility: visible;
    transform: scale(150);
    filter: blur(2px);
  }
  99.99% {
    visibility: visible;
    transform: scale(150);
    filter: blur(2px);
  }
  to {
    visibility: hidden;
  }
}

@keyframes enlightening-shrink {
  from {
    visibility: visible;
    transform: scale(150);
    filter: blur(2px);
  }
  10% {
    visibility: visible;
    transform: scale(150);
    filter: blur(2px);
  }
  to {
    visibility: hidden;
    transform: scale(0);
    filter: blur(3px);
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  to {
    opacity: 0;
    display: none;
  }
}

@keyframes fadeinout {
  from {
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadein {
  to {
    visibility: visible;
    opacity: 1;
  }
}

@keyframes blurout {
  from {
    filter: none;
    text-shadow: 0 0 2px rgb(255 255 255 / 50%), 0 0 4px rgba(0, 0, 0, 0.503);
  }
  35% {
    filter: none;
    text-shadow: 0 0 2px rgb(255 255 255 / 50%), 0 0 4px rgba(0, 0, 0, 0.503);
  }
  to {
    filter: blur(15px);
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  }
}

@keyframes blurin {
  from {
    filter: blur(15px);
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  }
  35% {
    filter: none;
    text-shadow: 0 0 2px rgb(255 255 255 / 50%), 0 0 4px rgba(0, 0, 0, 0.503);
  }
  to {
    filter: none;
    text-shadow: 0 0 2px rgb(255 255 255 / 50%), 0 0 4px rgba(0, 0, 0, 0.503);
  }
}

@keyframes blurinout {
  from {
    filter: blur(15px);
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  }
  35% {
    filter: none;
    text-shadow: 0 0 2px rgb(255 255 255 / 50%), 0 0 4px rgba(0, 0, 0, 0.503);
  }
  80% {
    filter: none;
    text-shadow: 0 0 2px rgb(255 255 255 / 50%), 0 0 4px rgba(0, 0, 0, 0.503);
  }
  to {
    filter: blur(15px);
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  }
}
