html,
body {
  height: 100%;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.is-darkmode {
  background-color: #272827;
}

.is-darkmode .loading-user:before {
  display: none;
}

.hourglassx {
  width: 120px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hourglass {
  stroke-dasharray: 210;
  -webkit-animation: snake 3s linear infinite both;
  animation: snake 3s linear infinite both;
}

.loading-user {
  width: 40%;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #999;
  overflow: hidden;
}

.loading-user:before {
  content: '';
  position: absolute;
  left: -100px;
  top: -80px;
  width: 16px;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  animation: flash 1.5s linear 0.1s infinite;
}

@-webkit-keyframes snake {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 420;
  }
}

@keyframes snake {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 420;
  }
}

@-webkit-keyframes flash {
  0% {
    left: -100px;
  }
  100% {
    left: 100%;
  }
}

@keyframes flash {
  0% {
    left: -100px;
  }
  100% {
    left: 100%;
  }
} 