/* Deliberately period-accurate: fixed-width centred column sized for an 800x600
   screen, system fonts, table-ish beveled boxes, default-blue links. No grid,
   no flexbox, no webfonts. The one concession to the present is a media query
   so the fixed column degrades instead of overflowing on a phone. */

body {
  background: #c9c9c9 url("media/bg.gif") repeat;
  color: #000000;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  padding: 16px 8px 40px 8px;
}

#page {
  width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px outset #eeeeee;
  padding: 18px 24px 24px 24px;
}

/* ---- masthead ---- */

#masthead {
  text-align: center;
  border-bottom: 1px solid #999999;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 34px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 2px 0;
}

#tagline {
  font-size: 11px;
  color: #444444;
  font-style: italic;
}

#blurb {
  background: #f4f4f4;
  border: 1px solid #bbbbbb;
  padding: 12px 14px;
  margin-bottom: 22px;
}

#blurb p { margin: 0 0 9px 0; }
#blurb p:last-child { margin-bottom: 0; }

/* ---- section rules ---- */

h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 21px;
  margin: 0 0 10px 0;
  padding-bottom: 3px;
  border-bottom: 1px solid #999999;
}

/* ---- a project ---- */

.project {
  border: 2px outset #eeeeee;
  background: #fbfbfb;
  padding: 14px;
  margin-bottom: 20px;
}

.project h3 {
  font-family: "Times New Roman", Times, serif;
  font-size: 19px;
  margin: 0 0 1px 0;
}

.dates {
  font-size: 11px;
  color: #555555;
  margin-bottom: 8px;
}

.dates .live {
  color: #007000;
  font-weight: bold;
}

.project p { margin: 0 0 9px 0; }

.stack {
  font-size: 11px;
  color: #444444;
  background: #efefef;
  border: 1px solid #cccccc;
  padding: 5px 7px;
  margin-bottom: 10px;
}

/* ---- media viewer ---- */

.viewer {
  background: #000000;
  border: 2px inset #dddddd;
  padding: 4px;
  text-align: center;
  margin-bottom: 6px;
}

.viewer img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.controls {
  font-size: 11px;
  margin-bottom: 4px;
}

.controls button {
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 11px;
  padding: 1px 7px;
  margin-right: 2px;
  cursor: pointer;
}

.controls .idx {
  margin: 0 5px;
  color: #444444;
}

.caption {
  font-size: 11px;
  color: #333333;
  min-height: 15px;
}

.caption .dl { color: #666666; }

/* ---- footer ---- */

#footer {
  border-top: 1px solid #999999;
  padding-top: 9px;
  font-size: 11px;
  color: #555555;
  text-align: center;
}

a { color: #0000ee; }
a:visited { color: #551a8b; }

@media (max-width: 820px) {
  #page { width: auto; }
}
