/* Fonts — local file used when present, Google Fonts as fallback */
@font-face {
  font-family: SCP;
  src: url('../fonts/SourceCodePro-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Reset & defaults */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #1a1a1a;
  margin: 0;
  font-family: SCP, 'Source Code Pro', ui-monospace, monospace;
  color: #dbdbdb;
  font-size: 14px;
}

h1 {
  font-size: 22px;
  margin: 40px 0 0;
}

h2 {
  font-size: 16px;
  margin: 40px 0 0;
}

h3 {
  font-size: 14px;
  margin: 10px 0;
}

h4 {
  font-size: 14px;
  margin: 0 0 10px;
}

hr {
  background-color: #a19f9f;
  border: 0;
  height: 1px;
  margin: 0 0 20px;
}

p {
  margin: 0 0 20px;
  line-height: 1.4;
}

ul,
ol {
  list-style-position: outside;
  margin: 0 0 20px;
}

ul {
  padding-left: 1.1rem;
}

ol {
  padding-left: 1.6rem;
}

a {
  color: inherit;
  transition: filter 0.3s ease;
}

a:hover {
  filter: brightness(1.4);
}
