/* HTML5 ✰ Boilerplate */
/* == normalize ========================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
audio:not([controls]) {
  display: none;
}
[hidden] {
  display: none;
}
html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: 13px;
  line-height: 1.231;
}
body,
button,
input,
select,
textarea {
  font-family: sans-serif;
  color: #222;
}
::-moz-selection {
  background: #fe57a1;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #fe57a1;
  color: #fff;
  text-shadow: none;
}
a {
  color: #00e;
}
a:visited {
  color: #551a8b;
}
a:hover {
  color: #06e;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
blockquote {
  margin: 1em 40px;
}
dfn {
  font-style: italic;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}
q {
  quotes: none;
}
q:before,
q:after {
  content: "";
  content: none;
}
small {
  font-size: 85%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
ul,
ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}
dd {
  margin: 0 0 0 40px;
}
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 0;
}
form {
  margin: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
label {
  cursor: pointer;
}
legend {
  border: 0;
  *margin-left: -7px;
  padding: 0;
}
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
button,
input {
  line-height: normal;
  *overflow: visible;
}
table button,
table input {
  *overflow: auto;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}
input:invalid,
textarea:invalid {
  background-color: #f0dddd;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td {
  vertical-align: top;
}
/* == primary styles | Author: A.Burr ==================================== */
html {
  background: #fafafa;
  padding: 0 1em 2em 1em;
}
body {
  width: 820px;
  margin: 0 auto;
  font-family: "Actor", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}
a {
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
a:link,
a:visited,
a:active {
  color: #0000ff;
  text-decoration: underline;
}
a:hover {
  color: #01007f;
  text-decoration: underline;
}
h1,
h2,
h3 {
  clear: left;
  font-family: "Coustard", serif;
  font-weight: normal;
  color: #333333;
  font-size: 24px;
}
header h1 {
  float: left;
  font-size: 18px;
  margin: 0 0 2em -1em;
}
header h1 a {
  display: block;
  width: 150px;
  padding: 1em;
}
header h1 a:link,
h1 a:visited,
h1 a:active {
  color: #fafafa;
  text-decoration: none;
  background-color: #333333;
  opacity: 0.7;
}
header h1 a:hover {
  opacity: 1;
  background-color: #993333;
  text-shadow: 1px 1px 0 #333333;
}
h2 {
  clear: both;
  font-size: 18px;
  margin: 2em 0 1em 0;
}
h3 {
  font-size: 16px;
  margin: 2em 0 1em 0;
}
p {
  margin: 0 0 1em 0;
  max-width: 820px;
}
p.footnote {
  font-size: 10px;
  margin: 2em 0;
  text-align: right;
}
p.center {
  text-align: center;
}
p.small {
  font-size: 10px;
  margin-top: 2em;
}
iframe {
  display: block;
  margin: 0 auto;
}
ul li,
ol li {
  margin-bottom: 0.25em;
}
nav ul {
  font-family: "Coustard", serif;
  list-style-type: none;
  font-size: 15px;
  margin: 2em 1em;
  float: right;
}
nav li {
  display: inline;
  margin-right: 2em;
}
nav a:link,
nav a:visited,
nav a:active {
  color: #333333;
  opacity: 0.6;
}
nav a:hover {
  opacity: 1;
}
ul.timeline {
  list-style-type: none;
}
.timeline li {
  padding: 0.25em 0;
}
.mainmenu {
  display: flex;
  justify-content: center;
}
.mainmenu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mainmenu li {
  border: 1px solid #333333;
  box-shadow: 0.25em 0.25em 1em rgba(0, 0, 0, 0.25);
  text-align: center;
  width: 33%;
}
.mainmenu li:first-child {
  margin-right: 1em;
}
.mainmenu li:last-child {
  margin-left: 1em;
}
.mainmenu li .gamename {
  border-bottom: 1px solid #333333;
  padding: 0.5em;
  background-color: #ffffff;
}
.mainmenu li .gamedescription {
  padding: 0.5em;
}
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}
dt {
  font-weight: bold;
  margin-bottom: 1em;
}
dd {
  margin-bottom: 1.25em;
}
dd a {
  font-size: 11px;
}
footer p {
  margin-bottom: 1em;
  font-size: 9px;
  color: #999;
}
footer p:first-child {
  border-top: 1px dotted #777;
  margin-top: 4em;
  padding-top: 2em;
}
/* Specific games */
#autoPoke {
  max-width: 320px;
}
#javaPoke {
  background-image: url(/images/javaPoke.jpg);
  cursor: pointer;
  height: 240px;
  margin: 0 auto;
  width: 320px;
}
#javaPoke.noPoke {
  background-position: top left;
}
#javaPoke.prePoke {
  background-position: bottom left;
}
#javaPoke.poke {
  background-position: top right;
}
#javaPoke.postPoke {
  background-position: bottom right;
}
#pokePro {
  width: 640px;
  height: 480px;
}
/* == media queries ====================================================== */
/* iPad etc */
@media (max-width: 54rem) {
  body {
    font-size: 82%;
    width: 100%;
  }
  header h1 {
    margin-bottom: 1em;
    text-align: center;
    width: 100%;
  }
  header h1 a {
    width: 100%;
  }
  ul,
  ol {
    margin: 1em 0;
    padding: 0 0 0 1em;
  }
  .mainmenu ul {
    margin: 0;
    padding: 0;
  }
  blockquote {
    margin: 1em 1em;
  }
  footer p {
    text-align: justify;
  }
}
/* iPhone etc */
@media (max-width: 32rem) {
  .mainmenu {
    display: block;
  }
  .mainmenu ul {
    display: block;
    margin: 0;
    padding: 0;
  }
  .mainmenu ul li {
    margin: 0 0 1em 0 !important;
    width: auto;
  }
}
/* == print styles ======================================================= */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
