/* Background for Authelia's sign-in page, linked into its HTML by authelia-skin/default.conf.
   Only body, #root and the stage ids are relied on; if an Authelia update renames them the page
   falls back to its own dark theme and sign-in keeps working. */

html,
body {
  background: #000 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("skull.jpg") center / auto 94vh no-repeat;
  opacity: 0.35;
}

#root {
  position: relative;
  z-index: 1;
}

#root > div {
  background: transparent !important;
}

/* The skull is the page now; the small logo above the form would repeat it. */
#root img[alt="Logo"] {
  display: none;
}

/* English is the only language in use, and the footer link is not wanted. */
#language-button,
#root a[href*="authelia.com"] {
  display: none !important;
}

@media (max-width: 600px) {
  body::before {
    background-size: 140vw auto;
  }
}
