/* FONTS */
@font-face {
	font-family: tok;
	src: url(fonts/sitelenselikiwenmonoasuki.woff2);
}

:lang(tok) {
	/*
		logographic glyphs have more conent packed into them, so we make it
		easier to read by doubling the font size
	*/
	font-family: tok;
	letter-spacing: normal; /* otherwise breaks the font somewhere sometimes idk lol */
	font-size: 2rem;
}

body {
	font-family: serif;
	tab-size: 2;
}

a, span, time, code, footer {
	font-family: monospace;
	font-size: 1rem;
}

a#randquote {
	font-family: serif;
	/*font-style: italic;*/
}

p:has(a#randquote) {
	text-align: center;
}

/* SIZE */
h1 {
	font-size: 1.5rem;
}

h2 {
	font-size: 1.2rem;
}

h3 {
	font-size: 1rem;
}

/* LINKS */
a {
	color: white;
	/*text-shadow: 0 0 .25em darkorange;*/
	text-decoration-color: coral;
	text-decoration-thickness: .1em;
}

a:hover {
	color: lightgray;
}

a:visited {
	text-decoration-color: white;
}

a:active {
	color: red;
}

a#randquote {
	text-shadow: none;
	color: white;
	text-decoration-line: none;
}

a#randquote:visited {
	color: white;
}

a#randquote:hover {
	color: lime;
	text-decoration: initial;
	text-decoration-line: underline;
}

.feedlist a {
	text-decoration: none;
	text-shadow: none;
}

footer span {
	color: white;
	font-size: smaller;
}

footer a {
	color: inherit;
	text-shadow: none;
	text-decoration-line: none;
	font-size: inherit;
}

/* IMG */
.has-button img {
	image-rendering: pixelated;
}

footer img {
	width: 88px;
	margin-left: 1em;
}

/* OTHER */
main ::selection { /* when selecting text inside <main> */
	background: white;
	color: black;
}

/* from https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/kbd */
kbd {
  background-color: #eeeeee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow:
    0 1px 1px rgb(0 0 0 / 0.2),
    0 2px 0 0 rgb(255 255 255 / 0.7) inset;
  color: #333333;
  display: inline-block;
  font-size: 0.85em;
  font-weight: bold;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}