body {
  background: #ddd;
  color: #222;
  line-height: 1.4;
  min-width: 10em;
  font-family: Georgia;
}
div#column {
  width: 95%;
  max-width: 31em;
  margin-left: auto;
  margin-right: auto;
}
div.pure-g {
  margin-bottom: .5em;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 0;
  font-weight: normal;
}
h2 {
  font-size: 1.5em;
  margin-top: 3em;
  text-align: center;
  font-weight: normal;
}
h2.small-top-margin {
  margin-top: 1.5em;
}
h3 {
  font-size: 1.2em;
  text-align: left;
  font-weight: bold;
  margin-top: 2em;
}

.site-title {
  text-align: center;
}

div.icon {
  text-align: center;
  margin-top: .7em;
  padding-top: 1.33em;
}
div.icon > a > img {
  height: 2em;
  padding: .2em;
  border-style: solid;
  border-radius: .2em;
  border-width: .1em;
  padding: 0em;
  border-color: #ddd;
}
div.icon > a:hover > img {
  border-color: #666;
}

div.skill-label {
  font-style: italic;
}

p a, li a {
  color: #222;
  text-decoration: none;
  border-bottom: solid 1px;
}
p a:hover, li a:hover {
  background-color: #ccc;
}
h1 a {
  color: #222;
  text-decoration: none;
}
h1 a:hover {
  border-bottom: solid 1px;
}

ul {
  padding-left: 1.5em;
}
li {
  margin-top: .5em;
}

#svg-flag {
  margin: 3em auto;
  display: block;
  width: auto;
  height: 1.5em;
}

div.four-oh-four {
  text-align: center;
  margin-top: 3em;
  margin-bottom: 3em;
}
span.four-oh-four {
  font-size: 6em;
  font-weight: 100;
  font-family: monospace;
}

@media (prefers-color-scheme: dark) {
  
  body {
    background: #000;
    color: #bbb;
  }

  h1 a {
    color: #bbb;
  }

  p a, li a {
    color: #bbb;
    text-decoration: none;
    border-bottom: solid 1px;
  }
  p a:hover, li a:hover {
    background-color: #333;
  }

  div.icon > a > img {
    border-color: #000;
  }
}

@media screen and (min-width: 35.5em) {
  div.icon {
    text-align: right;
  }

  .site-title {
    text-align: left;
  }

  div.skill-label {
    font-style: normal;
  }
}
