html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #000000;
}

/*
.page-flash {
  position: fixed;
  z-index: 2;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  animation: page-discharge 4.4s linear 2.2s infinite;
  pointer-events: none;
}
*/

.logo-lockup {
  position: fixed;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bolt-animation {
  position: relative;
  display: block;
  width: 2vw;
  max-width: 28.8px;
  aspect-ratio: 122.86 / 491.42;
}

.bolt-animation img {
  display: block;
  width: 100%;
  height: 100%;
}

.bolt-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.95),
    transparent
  );
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 0;
  -webkit-mask: url("Lightning%20Bolt.svg") center / contain no-repeat;
  mask: url("Lightning%20Bolt.svg") center / contain no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  animation: gloss-sweep 4.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gloss-sweep {
  0% {
    background-position: 0 0;
    opacity: 0;
  }

  5%,
  45% {
    opacity: 1;
  }

  50% {
    background-position: 0 100%;
    opacity: 0;
  }

  100% {
    background-position: 0 100%;
    opacity: 0;
  }
}

/*
@keyframes page-discharge {
  0%,
  21%,
  100% {
    opacity: 0;
  }

  22% {
    opacity: 1;
  }

  24% {
    opacity: 0;
  }
}
*/

.logo-lockup p {
  margin: 32px 0 0;
  color: #efefef;
  font-family: "Play", sans-serif;
  font-size: 12px;
}

@media (max-width: 600px) {
  .bolt-animation {
    width: 48px;
    max-width: 48px;
  }

  .logo-lockup p {
    position: fixed;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 50%;
    max-width: calc(100vw - 32px);
    margin: 0;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bolt-gloss {
    animation: none;
  }

  .bolt-gloss {
    opacity: 0;
  }

  /*
  .page-flash {
    opacity: 0;
  }
  */
}
