/* Colours and layout follow the PaperMod profile page the site used to be. */
:root {
  --bg: rgb(245, 245, 245);
  --primary: rgb(30, 30, 30);
  --secondary: rgb(108, 108, 108);
  --button: rgb(214, 214, 214);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: rgb(29, 30, 32);
    --primary: rgb(218, 218, 219);
    --secondary: rgb(155, 156, 157);
    --button: rgb(65, 66, 68);
  }
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0 24px;
  background: var(--bg);
  color: var(--primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 24px 0;
  text-align: center;
}

main > * {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
}

a {
  color: inherit;
  text-decoration: none;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button {
  background: var(--button);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
}

.link {
  box-shadow: 0 1px 0 var(--primary);
}

.not-found-code {
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
}

footer {
  padding: 13px 0;
  color: var(--secondary);
  font-size: 12px;
  text-align: center;
}
