main {
  max-width: 90ch;
  margin: 0 auto;
}

body > header {
  text-align: center;
  margin-bottom: 2rem;
}

a:link {
  color: unset;
  text-decoration: unset;
}

a:visited {
  color: unset;
}

header .email {
  display: none;
}

h1 {
  font-size: min(3rem, calc(100vw / 12));
  font-weight: normal;
  margin: 0;
}

h2 {
  font-size: 1.5em;
  border-bottom: solid 1px;
  margin-block-end: 0.3em;
}

h3 {
  font-size: 1.1em;
  opacity: 0.8;
  margin-block-end: 0;
  margin-block-start: 0;
  border-botom: solid 1px;
}

h4 {
  border-bottom: solid 1px;
  opacity: 0.7;
}

article {
  margin-bottom: 0.8em;
}

.tools-header,
.summary-header,
.projects-header {
  font-weight: 700;
  opacity: 0.4;
  text-align: right;
}


article p {
  padding: 0;
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: disc;
  display: block;
}

li {
  display: inline;
}

article header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

article header .spacetime {
  grid-column: 1 / 2;
  grid-row: 2 / 2;
  font-size: 0.8rem;
  text-align: right
}

article .description {
  display: grid;
  grid-template-columns: 9ch auto;
  gap: 0.2rem;
}

#education article .description {
  display: block;
}

footer {
  display: none;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 1rem;
}


@media (max-width: 640px) {
  h1 {
  }
  .employment {
    grid-template-columns: 10ch auto;
    column-gap: 2ch;
    row-gap: 0.2em;
  }
  .separator {
    display: none;
  }
  .full-date, .location {
    display: block;
  }
  article header {
    display: block;
  }
  article header .spacetime {
    text-align: left;
  }
  .employment .projects {
    display: none;
  }
  #employment .description {
    display: block;
  }
  #employment .description > * {
    display: none;
  }
  #employment .description > p {
    display: block;
  }
  #education {
    grid-template-columns: 10ch auto;
    column-gap: 2ch;
    row-gap: 0.2em;
  }
}

@media (max-width: 320px) {
  .short-date {
    display: none;
  }
  .separator {
    display: none;
  }
  .full-date, .location {
    display: block;
  }
  article header {
    display: block;
  }
  article header .spacetime {
    text-align: left;
  }
  #employment .description {
    display: block;
  }
  #employment .description > * {
    display: none;
  }
  #employment .description > p {
    display: block;
  }
  h3 {
    margin-bottom: 0;
  }
  h4 {
    margin: 0.5rem 0;
  }
}

@media print {
  *:link {
    color: unset;
  }
  *:visited {
    color: unset;
  }

  article {
    break-inside: avoid-page;
  }

  .employment .tags {
    display: block;
  }
  header .email {
    display: block;
  }

}
