/* Splash Screen Transitions */
#splash {
  transition:
    opacity 0.5s ease-out,
    visibility 0.5s ease-out;
}
#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Shake Animation for bad password */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

body {
  overscroll-behavior-y: none;
}

input:focus {
  outline: none;
}
