.preloader {
  position: fixed;
  z-index: 999;
  background-color: var(--layer-bg);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  opacity: 1;
  visibility: visible;
}

.preloader.is-transition {
  background-color: #140b1ebf;
  backdrop-filter: blur(15px);
}

.preloader.is-hide {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}

.preloader.is-none {
  display: none !important;
}

.preloader .blobs {
  -webkit-filter: url("#goo");
  filter: url("#goo");
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.preloader .blob {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--button-bg-primary);
}

.preloader .blob:nth-child(1) {
  animation: blob-left-anim cubic-bezier(0.77, 0, 0.175, 1) 2s infinite;
}

.preloader .blob:nth-child(2) {
  animation: blob-right-anim cubic-bezier(0.77, 0, 0.175, 1) 2s infinite;
}

@keyframes blob-left-anim {
  0% {
    transform: scale(1) translate(0, 0);
  }
  33% {
    transform: scale(0.55, 0.5) translate(80px, 0);
  }
  66% {
    transform: scale(0.8) translate(0, 0);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes blob-right-anim {
  0% {
    transform: scale(1) translate(0, 0);
  }
  33% {
    transform: scale(0.55, 0.5) translate(-80px, 0);
  }
  66% {
    transform: scale(0.8) translate(0, 0);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes scene {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  20% {
    transform: scale(1);
    opacity: 0;
  }
  40% {
    transform: scale(0.5);
    opacity: 0;
  }
  66% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.scene {
  position: absolute;
  height: 28px;
  width: 28px;
  left: calc(50% - 14px);
  top: calc(50% - 14px);
  animation: scene cubic-bezier(0.77, 0, 0.175, 1) 2s infinite;
}

.scene svg, .scene img {
  height: 100%;
  width: 100%;
}
