/* ------------------------------------------------*/
/* Loader Styles Start */
/* ------------------------------------------------*/
.loader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background-color: var(--base-tint);
  opacity: 1;
  visibility: visible;
  -webkit-transition: all var(--_animspeed-slow) ease-in-out;
  -moz-transition: all var(--_animspeed-slow) ease-in-out;
  transition: all var(--_animspeed-slow) ease-in-out;
}

.loader.loaded {
  background-color: var(--base);
  opacity: 0;
  visibility: hidden;
}

.loader__content {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
     -moz-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 40px;
  height: 60px;
  -webkit-transition: opacity var(--_animspeed-medium) ease-in-out;
  -moz-transition: opacity var(--_animspeed-medium) ease-in-out;
  transition: opacity var(--_animspeed-medium) ease-in-out;
  opacity: 1;
}
.loader__content.fade-out {
  opacity: 0;
}

.loader__box {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
  animation: skLinRotate 1s ease-in-out infinite alternate;
}
.loader__box:after{
  content:"";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: var(--accent);
}
@keyframes skLinRotate {
  95% ,100% { transform: rotate(840deg) }
} 
/* ------------------------------------------------*/
/* Loader Styles End */
/* ------------------------------------------------*/