.splash {
  inset: 0;
  position: absolute;
  text-align: center;
  z-index: 60;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.dark .splash {
  background: #171e28;
}

.mdc-linear-progress {
  height: 8px;
  width: 220px;
  border-radius: 6px;
  margin-top: 50px;
  position: relative;
  transform: translateZ(0);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.6, 1) 0ms;
  overflow: hidden;
}

.mdc-linear-progress__buffer {
  background-color: #e6e6e6;
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.6, 1) 0ms;
}

.dark .mdc-linear-progress__buffer {
  background-color: #475569;
}

.mdc-linear-progress__bar {
  left: 0;
  animation: splash-progress 1.35s ease-in-out infinite;
  transition: none;
  transform: translateX(-100%);
  position: absolute;
  width: 45%;
  height: 100%;
  transform-origin: top left;
}

.mdc-linear-progress__bar-inner {
  background-color: var(--brand-color, #2ba6fe);
  background-image: linear-gradient(
    135deg,
    var(--brand-color, #2ba6fe),
    var(--brand-color, #2ba6fe)
  );
  border-radius: inherit;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}

@keyframes splash-progress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(245%);
  }
}
