.pub-row {
  display: flex;
  align-items: center;
}

.social-icons a {
  display: inline-block;
  height: 2.4rem;
  width: 2.4rem;
  background-color: transparent;
  color: #043361 !important;
  border-radius: 100%;
  text-align: center;
  font-size: 1.15rem;
  line-height: 2.5rem;
  margin-right: 1rem;
}

.social-icons a:last-child {
  margin-right: 0;
}

.social-icons a:hover {
  background-color: white;
  color: black;
  transform: scale(1.2);
}

email {
  font-size: 14px;
  font-family: "Ubuntu Mono", monospace;
}

autocolor {
  color: #595959;
}

position {
  color: #595959;
}

.image {
  border-radius: 0.35em;
  border: 0;
  display: inline-block;
  position: relative;
}

.image:before {
  transition: opacity 0.2s ease-in-out;
  border-radius: 0.35em;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
}

.image.avatar {
  border-radius: 100%;
}

.image.avatar:before {
  display: none;
}

.image.avatar img {
  border-radius: 100%;
  width: 45%;
  padding: 20px;
}

h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: #043361;
  margin: 0 0 20px;
}

h1 {
  font-weight: 500;
  color: #043361;
  margin: 0 0 20px;
  font-size: 28px;
}

h2 {
  color: #043361;
  font-weight: 500;
  margin: 2px 0 15px;
  font-size: 157%;
}

p,
ul,
ol,
table,
pre,
dl {
  margin: 0 0 20px;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

a {
  color: #39c;
  text-decoration: none;
}

a:hover {
  color: #069;
}

a small {
  font-size: 11px;
  color: #777;
  margin-top: -0.3em;
  display: block;
}

a:hover small {
  color: #777;
}

.wrapper {
  width: 960px;
  margin: 0 auto;
}

blockquote {
  border-left: 1px solid #e5e5e5;
  margin: 0;
  padding: 0 0 0 20px;
  font-style: italic;
}

code,
pre {
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal,
    Consolas, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
  color: #333;
}

pre {
  max-width: 500px;
  padding: 8px 15px;
  background: #f8f8f8;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 5px 10px;
  border-bottom: 1px solid #e5e5e5;
}

dt {
  color: #444;
  font-weight: 500;
}

th {
  color: #444;
}

img {
  max-width: 100%;
}

header {
  width: 232px;
  float: left;
  position: fixed;
  -webkit-font-smoothing: subpixel-antialiased;
  padding-top: 4em;
  text-align: center;
}

strong {
  color: #222;
  font-weight: 500;
}

section {
  width: 650px;
  float: right;
  padding-top: 4em;
  padding-bottom: 50px;
}

small {
  font-size: 11px;
}

hr {
  border: 0;
  background: #e5e5e5;
  height: 1px;
  margin: 0 0 20px;
}

footer {
  width: 232px;
  float: left;
  position: fixed;
  bottom: 30px;
  -webkit-font-smoothing: subpixel-antialiased;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #20212b;
    color: #dadbdf;
  }

  autocolor,
  position {
    color: #dadbdf;
  }

  h1,
  h3,
  h4,
  h5,
  h6 {
    color: #3eb7f0;
  }

  h2 {
    color: #3eb7f0;
  }

  a {
    color: #3eb7f0;
  }

  strong {
    color: #eeeff0;
  }

  .social-icons a {
    color: #3eb7f0 !important;
  }

  .social-icons a:hover {
    background-color: #20212b;
    color: black;
    transform: scale(1.2);
  }

  th,
  dt {
    color: #3eb7f0;
  }
}

@media print, screen and (max-width: 960px) {
  .pub-row {
    display: flex;
    align-items: center;
  }

  div.wrapper {
    width: auto;
    margin: 0;
  }

  header,
  section,
  footer {
    float: none;
    position: static;
    width: auto;
  }

  header {
    padding-right: 320px;
  }

  section {
    border: 1px solid #e5e5e5;
    border-width: 1px 0;
    padding: 20px 0;
    margin: 0 0 20px;
  }

  .image.avatar img {
    border-radius: 100%;
    width: 117px;
    padding: 20px;
  }
}

@media print, screen and (max-width: 960px) {
  body {
    word-wrap: break-word;
    padding: 15px;
  }

  .pub-row {
    display: flex;
    align-items: center;
  }

  header {
    padding: 0;
  }

  pre,
  code {
    word-wrap: normal;
  }
}

@media print, screen and (max-width: 480px) {
  .pub-row {
    display: block;
    align-items: center;
  }

  body {
    padding: 15px;
  }

  .image.avatar img {
    border-radius: 100%;
    width: 95px;
    padding: 20px;
  }
}

@media print {
  body {
    padding: 0.4in;
    font-size: 12pt;
    color: #444;
  }
}
