body {
  margin: auto;
  padding: 0 10px;
  max-width: 640px;
  font-family: Helvetica, sans-serif;
  line-height: 1.4;
  color: #333;
  margin-bottom: 1em;
}
p {
  padding: 0;
  margin: 0;
  margin-bottom: 0.5em;
}
ul, ol {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  padding-left: 30px;
}
h1, h2, h3, h4, h5 {
  font-weight: bold;
  line-height: 1.2;
  padding: 0;
  margin: 0;
}
h1, h2 {
  border-bottom: 1px solid #ccc;
}
h1, h2, h3, h4, h5 {
  margin: 10px 0;
}
h3 {
  margin-top: 1.5em;
}
h2 + h3 {
  margin-top: 10px;
}
a {
  color: #007ABE;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.headicon {
  box-sizing: border-box;
  height: 20px;
  position: relative;
  top: 3px;
  right: 0.3em;
  padding: 0 0 0 0.3em;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 1em;
  margin: 10px 0 5px 0;
}
.links > div {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 0.3em;
  font-size: 0.9em;
  flex-shrink: 0;
  height: 20px;
}
.links > div img {
  height: 20px;
  width: auto;
  flex-shrink: 0;
}
.links > div img[src$="icon_doc.svg"] {
  width: 15px;
  height: 17px;
}
.links > div a {
  position: relative;
  bottom: -1px;
}
.tiles {
  display: flex;
  flex-flow: row wrap;
  align-content: space-between;
  align-items: stretch;
}
.tiles > div {
  display: inline-block;
  border-radius: 5px;
  border: 1px solid #c8c8c8;
  background: #f3f3f3;
  font-weight: bold;
  font-size: 0.9em;
  line-height: 1.3em;
  width: 140px;
  padding: 3px;
  margin: 4px;
  position: relative;
}
.tiles > div a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.tiles > div:hover,
.tiles > div:focus-within {
  background: #e9e9e9;
  border-color: #aaa;
}
.tiles > div img {
  width: 100%;
  padding: 0;
  margin: 0;
}
.nocolor {
  color: #333;
  text-decoration: none;
}
.gray {
  color: #90A1AA;
}
.intro {
}
.intro > div img {
  height: 110px;
  margin: 3px 0 3px 3px;
  float: right;
}
.skills {
}
.skills > p {
  padding: 0;
  margin: 0.5em 0 0.5em 0;
}
.tiles > div.video::before,
.tiles > div.paper::before,
.tiles > div.demo::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 14px;
  vertical-align: -2px;
  background: center / 100% 100% no-repeat;
}
.tiles > div.video::before {
  background-image: url(media/icon_video.svg);
}
.tiles > div.paper::before {
  background-image: url(media/icon_doc.svg);
}
.tiles > div.demo::before {
  background-image: url(media/icon_bolt.svg);
}
:root {
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  body {
    background: #1c1c1e;
    color: #d6d6d6;
  }
  h1, h2 {
    border-bottom-color: #555;
  }
  a {
    color: #4db2ec;
  }
  .nocolor {
    color: #d6d6d6;
  }
  .tiles > div {
    border-color: #48484d;
    background: #28282b;
  }
  .tiles > div:hover,
  .tiles > div:focus-within {
    background: #333337;
    border-color: #5c5c62;
  }
  .tiles > div img {
    background: white;
    filter: brightness(0.85);
  }
  .headicon,
  .links img[src$="icon_email.svg"],
  .links img[src$="icon_github.svg"],
  .links img[src$="icon_doc.svg"],
  .tiles > div::before {
    filter: invert(1);
  }
}
