@charset "UTF-8";

/* === Global === */
body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10pt;
  margin: 2em 4em 4em 4em;
  max-width: 750px;
}

img {
  max-width: 100%;
}

/* === Headings === */
h2 {
  margin-top: 1.8em;
}

h3, h4 {
  color: #333;
  margin-top: 1.2em;
  margin-bottom: 4px;
}

/* === Lists === */
li {
  padding-bottom: 0.3em;
}

.no-bullet {
  list-style-type: none;
}

.indent {
  margin-left: 2em;
}

.footnote {
  font-size: 0.8em;
}

/* === Layout === */
#header {
  font-weight: bold;
  text-transform: lowercase;
  font-size: 2.7em;
  letter-spacing: -0.08em;
  color: #CCC;
}

#nav {
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
  padding-bottom: 0.4em;
  border-bottom: 1px dotted #BBB;
}

#content {
  margin-top: 2em;
}

div.c {
  text-align: center;
}

/* === Contact Section === */
#contact {
  text-align: left;
  margin-top: 2.2em;
}

.contact-box {
  display: inline-block;
  text-align: center; /* centers the email under the monogram */
}

.contact-box img {
  display: block;
  width: 16em; /* wing-span just slightly wider than the nav (nav ~15.2em) */
  max-width: 100%;
  height: auto;
  margin: 0 0 0.55em 0; /* anchored under the nav, not floating mid-column */
}

.contact-box a,
#contact a {
  display: inline;
  color: blue;
  font-weight: bold;
  text-decoration: none;
  padding: 0.1em 0.3em 0.3em 0.3em;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#contact a:hover {
  color: white;
  background-color: blue;
}

/* === Links === */
a {
  text-decoration: none;
}

a:link,
a:visited {
  color: blue;
}

a:hover,
a:active {
  color: white;
  background-color: blue;
}

a.idem {
  color: gray;
}

a.nodec {
  color: #333;
  background-color: white;
}

/* === Blockquote === */
.blockquote {
  max-width: 600px;
  text-align: left;
  margin: 20px 0 20px 35px;
  padding: 20px;
  font-style: italic;
  position: relative;
}

.blockquote::before {
  content: "\201C";
  font-size: 50px;
  font-family: Times, serif;
  position: absolute;
  top: -20px;
  left: -25px;
  opacity: 0.1;
  line-height: 0;
}

/* === Attribution === */
.attribution {
  max-width: 600px;
  text-align: right;
  padding: 5px;
  margin-top: -35px;
  margin-bottom: 20px;
}

/* === Code === */
.code {
  font-family: Inconsolata, Courier, monospace;
  font-size: 12pt;
  background-color: #F5F5F5;
}

.big {
  font-family: Inconsolata, Courier, monospace;
  font-size: 24pt;
}

.bigger {
  font-size: 120pt;
}

/* === Tables === */
table,
th,
td {
  border: 1px solid grey;
  border-collapse: collapse;
}

th,
td {
  padding: 4px;
  text-align: left;
}
