@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=Urbanist:ital,wght@0,100..900;1,100..900&family=Victor+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.cdnfonts.com/css/opendyslexic');


* {
  box-sizing: border-box;
}

:root {
  --font-base: 'Victor mono', monospace;
  --font-size-base: 20px;
  --line-height-base: 1.5;
  --line-height-tight: 1.2;
  --color-background: #FFFFFF;
  --color-text: black ;
  --color-accent: black;
  --color-faded: black;
  --color-link: black;
  --scale-ratio: 1.25;
  --color-hover:OrangeRed;
  --width-border:0.1em;
  --type-border:solid;
  --color-border: black;
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main{
  flex: 1;
}

header > div.hero {
  font-weight: bold;
  font-size: 5em;
  text-align: center;
  letter-spacing: -2px;
}

nav ul {
  font-size: 1.5em;
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 2em 0;
  padding: 0;
  border-width: var(--width-border) 0;
  border-color: var(--color-border);
  border-style: var(--type-border);
}

nav ul li {
  padding: 14px 16px;
  border-right: var(--width-border) var(--color-border) var(--type-border);
}

nav li:nth-last-child(1) {
  margin-left: auto;
}

.right{
  border-right: none;
}

nav ul li a {
  text-decoration: none;
  color: var(--color-link);
}

#giticon,
nav img {
  display: inline-block;
  height: 1em;
  width: auto;
  transform: translate(0, 0.1em);
}

/*main*/
main > section {
  margin: auto;
}

main > section.table {
  width: 40em;
}

section.table > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 33.333%), 1fr));
  grid-auto-rows: 1fr;
  gap: 0em;
  list-style: none;
  padding-left: 0;
  border-left: .2em var(--color-border) solid;
  border-top: .2em var(--color-border) solid;
}

section.table > ul > li {
  border-right: .2em var(--color-border) solid;
  border-bottom: .2em var(--color-border) solid;
  padding: 14px 16px;
  display: flex;
  align-items: center;
}

section.article {
  min-width: 40ch;
  max-width: 70ch;
}

a{
  text-decoration: none;
  cursor:pointer;
  color: var(--color-link);
}

a:link {
  color: var(--color-link);
}

a:visited {
  color: var(--color-link);
}

a:hover {
  color:var(--color-hover);
}

a:active {
  color:OrangeRed;
}

h2 {
  margin: 1.5em 0 .5em 0;
}

.footer{
  margin-top: auto;
  width: 100%;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction:row;
  overflow: hidden;
  justify-content: center;
}

.legal {
  font-size: small;
}

.legal > ul  {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1em;
}

.legal > ul > li:not(:first-child)::before {
  content: "| ";
  margin-right: 1em;
}

.footer a{
  color: #D3D3D3;
}
