@charset "utf-8";

.pageLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.pageLoader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pageLoader__inner {
  width: min(320px, 80vw);
  text-align: center;
}

.pageLoader__name {
  margin: 0 0 28px;
  color: #5c3a1e;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.pageLoader__bar {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee;
}

.pageLoader__barFill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: #c86b2a;
  transition: width 0.15s linear;
}

.pageLoader__percent {
  margin: 12px 0 0;
  color: #888;
  font-size: 13px;
  letter-spacing: 0.05em;
}

body.is-loading {
  overflow: hidden;
}
