:root {
  --bg: #000000;
  --header: oklch(92% 0.004 286.3);
  --text: oklch(70.5% 0.015 286.067);
  --hover-bg: oklch(0.872 0.0106 261.79 / 10.2%);
  --muted: oklch(60% 0.015 286.067);
  --focus: #6ea8ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background-color: var(--header);
  color: var(--bg);
}

body {
  margin: 0;
  font-family:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  vertical-align: middle;
  transition: all 0.3s ease-in-out;
}

a:hover {
  opacity: 0.8;
  background-color: var(--hover-bg);
  border-radius: 5px;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 5px;
}

h1 {
  color: var(--header);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.intro {
  max-width: 34ch;
  font-weight: 500;
  font-size: 1.125rem;
}

.intro em {
  display: block;
}

#me {
  cursor: pointer;
}

#me:hover {
  opacity: 0.8;
}

#tux {
  width: 10rem;
  position: absolute;
  right: 10%;
  top: 35%;
  display: none;
  cursor: grab;
}

#tux:active {
  cursor: grabbing;
}

#tux.show {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
