.app-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
  opacity: 1;
  visibility: visible;
}

.app-preloader--hidden {
  opacity: 0;
  visibility: hidden;
}

.app-preloader__content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 340px;
  max-width: 90%;
  animation: flicker 2.5s infinite linear;
}

.app-preloader__line {
  margin-top: 16px;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background-color: #e8e8e8;
  position: relative;
}

.app-preloader__line-inner {
  position: absolute;
  top: 0;
  left: 100%;
  width: 30px;
  height: 2px;
  background-color: #002587;
  animation: linePosition 1.5s infinite linear;
}

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

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

@keyframes linePosition {
  0% {
    left: -30px;
    width: 30px;
  }

  100% {
    width: 80px;
    left: 100% + 30px;
  }
}
