@font-face {
  font-family: fabfont;
  src: url("/font/DejaVuSansMono.woff2");
  font-display: block;
}

@font-face {
  font-family: fabfont;
  src: url("/font/DejaVuSansMono-Bold.woff2");
  font-weight: bold;
  font-display: block;
}

* { font-size: 16px; }

html {
  font-family: fabfont, "DejaVu Sans Mono", monospace;
  max-width: 900px;
  padding-left: 2%;
  padding-right: 3%;
  margin: 0 auto;
  background: #F5F5F0;
  color: #000;
}

body { margin: 0; padding: 0 0 4ch; }

a {
  color: #000;
  font-weight: bold;
}

a.title,
a.title:visited {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

p {
  margin-top: 0;
  margin-bottom: 1.2em;
  text-align: justify;
}

hr {
  border: none;
  border-top: 1px solid #000;
  margin: 0.5em 0 1em;
}

header {
  text-align: center;
  padding-top: 2ch;
  margin-bottom: 3ch;
}

header .brand {
  display: block;
  text-align: center;
  width: 100%;
}

header .brand .site-name {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  margin: 0 auto;
  text-align: center;
}

header .brand > hr {
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

header .contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75em;
  margin: 0.75em auto 0;
  width: 100%;
}

header .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 0;
  text-decoration: none;
  color: #000;
  flex: 0 0 18px;
}

header .icon,
header .icon-link svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: block;
  fill: currentColor;
}

header nav {
  margin-top: 1.5ch;
  text-transform: uppercase;
}

header nav a { text-decoration: none; }

h2, .heading {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 4ch;
  margin-bottom: 0;
  font-size: 16px;
}

h2 + hr, .heading + hr { margin-top: 0.5em; }

.job, .edu { margin: 0 0 2ch; }

.job-head, .edu-head {
  display: flex;
  justify-content: space-between;
  gap: 2ch;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0.5ch;
}

.dates, .meta, .gpa, footer {
  font-size: 14px;
  color: #333;
}

.job p, .edu p, .intro { margin-bottom: 0; }

.contact-block p {
  margin: 0 0 0.4em;
  text-align: left;
}

.skills p { margin-bottom: 0.4em; }

.certs { padding-left: 2ch; margin: 0.5em 0; }
.certs li { margin-bottom: 0.5em; }

.app-list { margin: 16px 0; }
.app-list .app { margin: 0 0 2.5ch; }
.app-list .app-title { margin: 0 0 0.4em; }
.app-list .app p { margin: 0; }
.app-list .app-en { margin-top: 0.6em; color: #333; }

footer {
  margin-top: 5ch;
  text-align: left;
}

footer p { text-align: left; }

@media (max-width: 500px) {
  * { font-size: 12px; }
  .dates, .meta, .gpa, footer { font-size: 11px; }
}
