/* Adapted from: Bearblog's default theme: https://bearblog.dev/ */

html {
  font-family: Jetbrains Mono, monospace;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

:root {
  --width: 920px;
  --font-main: Jetbrains Mono, monospace;
  --font-secondary: Verdana, sans-serif;
  --font-scale: 1em;
  --background-color: #1e1e2e;
  --heading-color: #cdd6f4;
  --text-color: #cdd6f4;
  --link-color: #89b4fa;
  --visited-color: #89b4fa;
  --code-background-color: #26263a;
  --code-color: #575279;
  --blockquote-color: #11111b;
  --em-color: #575279;
  --size-mega: 2.5rem;
  --size-macro: 2.1rem;
  --size-larger: 1.8rem;
  --size-large: 1.5rem;
  --size-mid: 1.05rem;;
  --size-small: .9rem;
  --size-smaller: .75rem;
  --size-micro: .5rem;
  --size-nano: .3rem;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--size-mid);
  margin: auto;
  padding: 0 20px;
  max-width: var(--width);
  text-align: left;
  background-color: var(--background-color);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  color: var(--text-color);
}

#guestbooks___guestbook-made-with {
    text-transform: lowercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--heading-color);
  text-transform: lowercase;
}

h1#title {
  line-height: 1.6;
  border-bottom: dashed var(--link-color);
}

a {
  color: var(--text-color);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 0.2ex;
  text-decoration-color: var(--link-color)
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.3ex;
  text-decoration-color: var(--link-color)
}

strong,
b {
  color: var(--heading-color);
}

main {
  line-height: 1.6;
  border-bottom: dashed var(--link-color);
  padding-bottom: 1.2em;
}

em,
i {
  color: var(--em-color);
}

hr {
  border: 0;
  border-top: dashed var(--link-color);
}

code {
  font-family: monospace;
  padding: 2px;
  background-color: var(--code-background-color);
  color: var(--code-color);
  border-radius: 3px;
}

blockquote {
  margin:  0;
  padding: 1.5rem;
  border-radius: 1.05rem;
  background: var(--code-background-color);
}

footer {
  padding: 25px 0;
  text-align: center;
}

.inline {
  width: auto !important;
}

.highlight,
.code {
  padding: 1px 15px;
  background-color: var(--code-background-color);
  color: var(--code-color);
  border-radius: 3px;
  margin-block-start: 1em;
  margin-block-end: 1em;
  overflow-x: auto;
}

.sr-only {
  display: none;
}

.button-link {
  background: none;
  border: none;
  color: var(--link-color);
  text-decoration: underline;
  text-decoration-thickness: 0.2ex;
  text-decoration-color: var(--link-color)
  cursor: pointer;
  font: inherit;
}

.button-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.3ex;
  text-decoration-color: var(--link-color)
 
}

input, button, textarea, select {
  margin: 0;
  padding: 0;
  font: inherit;
  box-sizing: border-box;
}
label,
legend {
  font-weight: 700;
}
label {
  display: block;
}
legend {
  margin: var(--size-nano) 0 0;
}
input,
textarea {
  margin: 0 0 var(--size-micro);
  padding: var(--size-nano);
  color: var(--text-color);
  border: 2px solid var(--link-color);
  border-radius: var(--size-smaller);
  background: var(--code-background-color);
}
input {
  width: 50%;
}
textarea {
  width: 95%;
}
input[type=button], input[type=submit], input[type=reset] {
  margin: 0 0 var(--size-mid);
  padding: var(--size-nano);
  font: inherit;
  font-weight: 700;
  color: var(--background-color);
  border-radius: var(--size-smaller);
  background: var(--link-color);
  cursor: pointer;
}
::placeholder {
  color: var(--text-color);
  opacity: 0.5;
}

::selection{
	background-color: var(--text-color);
	color: var(--code-background-color);
}