@import url('https://fonts.googleapis.com/css?family=Alegreya:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Amaranth:400,700,400italic,700italic');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:500,500i,700,700i');

body {
  margin-top: 1em;
  margin-left: 10%;
  margin-right: 10%;
  background-image: url("respap.png");
  background-color: #ffffee;
  color: black;
  font-family: Alegreya, serif;
  font-size: 14pt;
}

@media (min-resolution: 250dpi) and (max-width: 1000px) {
  body {
    margin-top: 0;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 12pt;
  }
}

@media (min-width: 1200px) {
  body {
    width: 60em;
    margin-left: auto;
    margin-right: auto;
  }
}

body.resume {
  font-size: 13pt;
}

a {
  color: #602020;
}

h1, h2, h3 {
  font-family: Amaranth, sans-serif;
  text-align: center;
}

code, tt {
  font-family: Roboto Mono, monospace;
  font-size: 90%;
}

table.bad-eggs {
  text-align: center;
  background: #fff8e8;
  border-collapse: collapse;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
  font-size: 11pt;
}

table.bad-eggs tbody tr:nth-child(odd) {
  background: #e8e0d0;
}

table.bad-eggs td {
  padding: 5px;
}

table.bad-eggs td:nth-child(1) {
  width: 8em;
}

table.bad-eggs td:nth-child(2) {
  width: 12em;
}

table.bad-eggs td:nth-last-child(2) {
  width: 14em;
}

table.bad-eggs td:nth-last-child(1) {
  width: 2em;
}

table.bad-eggs thead td {
  border-bottom: 1px solid;
  font-weight: bold;
}

div.ad {
  padding-top: 20pt;
  text-align: center;
}

div.ad ins.adsbygoogle {
  display: inline-block;
  width: 600px;
  height: 150px;
}

@media only screen and ((pointer: coarse) or (width <= 500) or (height <= 500)) {
  div.ad ins.adsbygoogle {
    width: 300px;
    height:120px;
  }
}
