@font-face {
  font-family: "SpaceMono Nerd Font";
  font-display: swap;
  src: local("SpaceMono Nerd Font"),
       url(../fonts/SpaceMonoNF.woff2) format("woff2"),
       url(../fonts/SpaceMonoNF.woff) format("woff");
}

:root {
  color-scheme: dark;

  --background-color: #1a1a1a;
  --text-color: #e6e6e6;
  --accent-color: #b0b0b0;
  --accent-color-2: #7a7a7a;
  --hover-color: #7a7a7a;
}

textarea,
input,
button {
  font-family: "SpaceMono Nerd Font", monospace;
}

input:focus {
  outline: none;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  background-color: #232323;
  overflow-x: clip;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #232323;
  color: #e6e6e6;
  font-family: "SpaceMono Nerd Font", monospace;
}

#nokey {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: auto;
}

#wrap {
  display: flex;
  gap: 2em;
  transform: translateY(-90px);
}

#text {
  height: min-content;
}

#greeting {
  color: #7a7a7a;
  font-size: 2.5em;
  font-weight: 900;
  text-align: center;
}

#date {
  font-size: 1.2em;
  font-weight: 600;
  color: #b0b0b0;
  text-align: center;
  margin: 1em 0;
}

#search {
  position: relative;
  margin-bottom: 20px;
}

#search input {
  width: 100%;
  padding: 10px 10px 13px 40px;
  background: #222222;
  color: #e6e6e6;
  font-size: 1.3em;
  border: 2px solid #7a7a7a;
  box-sizing: border-box;
  border-radius: 8px;
}

#search i {
  position: absolute;
  display: block;
  transform: translateY(-50%);
  top: 50%;
  left: 10px;
  pointer-events: none;
  font-style: normal;
  font-size: 1.3em;
  color: #e6e6e6;
}

.category {
  color: #b0b0b0;
  font-size: 1.6em;
}

.category button {
  font-weight: 600;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.category button:disabled {
  cursor: default;
  opacity: 0.6;
}

.header {
  white-space: nowrap;
  font-weight: 600;
  margin-right: 5px;
}

#links {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(4, 1fr);
}

.page {
  position: relative;
  padding: 1em;
  border: 1px solid #555555;
  border-radius: 8px;
  background: #232323;
  text-align: center;
}

ul {
  list-style-type: none;
  padding-left: 0;
  margin: 14px 0;
}

.page li {
  opacity: 1;
}

a {
  color: #e6e6e6;
  font-size: 1.2em;
  text-decoration: none;
}

a:hover {
  color: #3d3d3d;
}
