body {
  padding: 0;
  margin: 0;
}

preloader {
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999999999;
  height: 100vh;
  width: 100vw;
  background-color: var(--bg1);
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: 0.8s all cubic-bezier(0.7, 0, 0.3, 1);
  overflow: hidden;
}

preloader>div {
  height: 100px;
  width: 200px;
  animation: load infinite 1s linear;
  position: relative;
}

preloader .logo_text {
  /* filter: var(--filter-logo); */
  fill: var(--color-dark);
}

@keyframes load {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

preloader error {
  background-color: #E53935;
  padding: 15px;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
}

preloader error [errorTitle] {
  font-weight: 700;
}

loader {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  width: 200px;
  margin: auto;
  height: 5px;
  border-radius: var(--radius-elg);
  transition: var(--trans-md);
  background-color: #7777771c;
}

loaderProcess {
  position: absolute;
  width: 0%;
  background-color: var(--main-color1);
  height: 100%;
  transition: var(--trans-md);
  border-radius: var(--radius-elg);
}

loaderProcessText {
  position: absolute;
  left: 50%;
  text-align: center;
  top: 0;
  width: 350%;
  font-family: gl;
  font-size: 14px;
  opacity: 0.5;
  color: var(--color);
  transform: translate(-50%, calc(-100% - 10px));
}

loader-update {
  position: fixed;
  height: 20px;
  width: calc(100% + 15px);
  top: 0;
  left: -15px;
  background: repeating-linear-gradient(-45deg, var(--main-color1), var(--main-color1) 5px, #7e7e7e14 5px, #7e7e7e14 10px);
  animation: updateLoader 1s infinite linear;
  opacity: 0;
  transition: var(--trans-md);
}

@keyframes updateLoader {
  0% {
    transform: translate(0px, 0px);
  }

  100% {
    transform: translate(15px, 0px);
  }
}

@keyframes updateLoaderInvert {
  0% {
    transform: translate(0px, 0px);
  }

  100% {
    transform: translate(-15px, 0px);
  }
}

loader-update:before {
  content: attr(text);
  position: fixed;
  left: 0;
  right: 0;
  margin: auto;
  width: 250px;
  background-color: var(--bg1);
  text-align: center;
  color: var(--main-color1);
  font-size: 12px;
  height: 20px;
  line-height: 20px;
  animation: updateLoaderInvert 1s infinite linear;
}

loader-update[active=true]{
  opacity: 1;
}