body {
  /* background-color: #ffffff; */
  background: url("./img/bg.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  margin: 0 auto;
  max-width: 100em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Osaka, Meiryo, "ＭＳ ゴシック", "MS Gothic", HiraKakuProN-W3, "TakaoExゴシック", TakaoExGothic, "MotoyaLCedar", "Droid Sans Japanese", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 9pt;
}

.mainGridContainer {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto auto;
  gap: 0px 0px;
  grid-template-areas:
    "header header"
    "main aside"
    "footer footer";
}

header {
  grid-area: header;
}

main {
  grid-area: main;
}

aside {
  grid-area: aside;
  max-width: 256px;
}

footer {
  grid-area: footer;
}

.disclaimer {
  background-color: #000000;
  color: #eeeeee;
  padding: 0 8px 0.25em;
  text-align: center;
}

.disclaimer p {
  margin: 0;
}

h1 {
  /* background-color: #000000; */
  color: #000000;
  padding: 0 0.25em;
  margin: 0.5em auto 0.25em;
  font-size: 5em;
  text-transform: uppercase;
  text-align: center;
}

#subtitle {
  color: #e00000;
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

#tagline {
  display: table;
  background-color: #000000;
  color: #ffffff;
  border-radius: 10em;
  border: none;
  padding: 0 0.5em;
  margin: 0.25em auto;
  text-transform: capitalize;
  font-style: italic;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

#taglinePlayStation {
  background-color: #ffffff;
  color: #e00000;
  padding: 0 0.25em;
  text-transform: uppercase;
}

.mainHeadings {
  background-color: #000000;
  color: #ffffff;
  padding: 0 0.25em;
  margin: 1em auto 0.5em;
  font-size: 2.5em;
  font-weight: normal;
  text-transform: uppercase;
  text-align: center;
}

/* #buyersGuide { */
  /* background-color: #0099ff; */
  /* background-color: #0084db; */
/* } */

#playlist {
  /* background-color: #000000; */
  background-color: #0084db;
  color: #ffffff;
}

.contentContainer {
  padding: 0 8px;
  text-align: center;
}

.gridContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: minmax(min-content, max-content);
  grid-gap: 0.5em;
  justify-items: center;
  align-items: start; 
}

.gridItem {
  margin-bottom: 1em;
}

small {
  font-size: 0.8em;
}

.top10,
.top5 {
  display: inline-table;
  background-color: #ffffff;
  border: 1px solid #000000;
  box-shadow: 2px 2px 4px #000000;
  /* min-width: 17em; */
  /* margin: 0.5em; */
  letter-spacing: -0.06125em;
  text-align: left;
  /* content-visibility: auto; */
  width: 240px;
}

.top10 h3,
.top5 h3 {
  background-color: #000000;
  color: #ffffff;
  margin: 0;
  padding: 0.25em 0.25em;
  text-transform: capitalize;
  letter-spacing: -0.06125em;
  font-size: 1.5em;
}

.top10Text {
  color: #186ab5;
  word-spacing: -0.25em;
  text-transform: uppercase;
  text-shadow: -1px -1px #a6c8e7;
}

.top10 ol,
.top5 ol {
  margin: 0;
  padding: 0;
  counter-reset: items;
  font-size: 1.2em;
}

.top10 li,
.top5 li {
  display: block;
  border-bottom: 1px solid #000000;
  padding-left: 0.25em;
  list-style-position: inside;
  counter-increment: items;
  font-style: italic;
}

.top10 li:first-child,
.top5 li:first-child {
  border-top: 1px solid #000000;
  padding-left: 0;
  text-transform: uppercase;
  font-weight: bold;
}

.top10 li:last-child,
.top5 li:last-child {
  border: none;
}

.top10 li::marker,
.top5 li::marker {
  font-weight: bold;
}

.top10 li:before,
.top5 li:before {
  content: "0" counter(items)" ";
  font-weight: bold;
  font-style: normal;
}

.top10 li:first-child::before,
.top5 li:first-child::before {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  border-right: 1px solid #000000;
  font-size: 2em;
  padding: 0 0.125em;
  margin-right: 0.125em;
}

.top10 li:nth-child(n+10):before,
.top5 li:nth-child(n+10):before {
  content: counter(items)" ";
}

.top10 li:nth-child(odd) {
  background-color: #afcced;
}

.top10 li:first-child,
.top5 li:first-child,
.top5 li:first-child small {
  background-color: #000000;
  color: #ffffff;
}

.top10 small,
.top5 small {
  /* color: #0084db; */
  color: #007bb4;
  text-transform: uppercase;
  font-size: 0.6em;
  font-weight: bold;
  letter-spacing: normal;
}

.top10 img,
.top5 img {
  display: block;
  margin: 0 auto;
  width: 240px;
  height: 180px;
}

#colorLegend {
  display: table;
  color: #000000;
  padding: 0;
  margin: 0.5em auto;
  font-size: 0.8em;
  text-transform: lowercase;
  text-align: center;
}

#colorLegend li {
  display: inline-block;
  padding: 1em 0 0 0.25em;
}

#colorLegend input[type="checkbox"] {
  margin-left: 1em;
}

table {
  color: #000000;
  /* border: 1px solid; */
  border-spacing: 1px;
  margin: 0.5em auto;
  /* content-visibility: auto; */
}

thead {
  background-color: #000000;
  color: #ffffff;
  position: sticky;
  vertical-align: middle;
  text-align: left;
  inset-block-start: 0;
}

tbody th {
  background-color: #000000;
  color: #ffffff;
  vertical-align: middle;
  text-align: left;
}

th {
  padding: 0.5em 8px 0.25em;
  font-weight: normal;
}

#issueTable {
  background-color: #ffffff;
  border-collapse: collapse;
}

#issueTable td {
  text-align: center;
  border: 1px solid;
}

#gameTable {
  background-color: #ffffff;
}

#gameTable thead > tr > :nth-child(3),
#gameTable thead > tr > :nth-child(4),
#gameTable thead > tr > :nth-child(5),
#gameTable thead > tr > :nth-child(6),
#gameTable thead > tr > :nth-child(7),
#gameTable thead > tr > :nth-child(8),
#gameTable thead > tr > :nth-child(9),
#gameTable thead > tr > :nth-child(10) {
  font-size: 0.8em;
}

.bigHead {
  word-spacing:-0.25em;
  text-transform: uppercase;
  font-size: 1.6em;
}

#issueHead {
  text-transform: lowercase;
  font-weight: bold;
  font-size: 0.9em;
}

#scoreHead {
  text-transform: uppercase;
}

tbody {
  font-size: 1em;
  vertical-align: center;
}

/* td {
  border-bottom: 1px solid #ffffff40;
} */

td {
  font-weight: bold;
  padding: 0 4px;
}

/* .classic td:nth-child(1) { */
  /* background-color: #ffffff; */
  /* background: linear-gradient(135deg, #ddb56480, #FCF6BA80, #d1aa5480, #FBF5B780, #d3a35280); */
  /* background: linear-gradient(135deg, #99999960, #ffffff60, #99999960, #ffffff60, #99999960); */
  /* background: linear-gradient(135deg, #ddb56480, #FCF6BA80, #d1aa5480, #FBF5B780, #d3a35280); */
  /* position: relative; */
/* } */

.classic td:nth-child(1)::after {
  content: "⭐";
  /* position: absolute;
  left: -1.25em; */
}

#gameTable tbody > tr > :nth-child(1) {
  max-width: 25ch;
}

#gameTable tbody > tr > :nth-child(13) {
  font-weight: normal;
  font-style: italic;
  font-size: 0.8em;
  padding: 0.25em 0.25em;
}

#gameTable tbody > tr > :nth-child(13) em {
  font-style: normal;
}

#gameTable tbody > tr > :nth-child(3),
#gameTable tbody > tr > :nth-child(4),
#gameTable tbody > tr > :nth-child(5),
#gameTable tbody > tr > :nth-child(6),
#gameTable tbody > tr > :nth-child(7),
#gameTable tbody > tr > :nth-child(8),
#gameTable tbody > tr > :nth-child(9),
#gameTable tbody > tr > :nth-child(10) {
  font-size: 1.5em;
  line-height: 1;
}

#gameTable tr > :nth-child(3),
#gameTable tr > :nth-child(4),
#gameTable tr > :nth-child(5),
#gameTable tr > :nth-child(6),
#gameTable tr > :nth-child(7),
#gameTable tr > :nth-child(8),
#gameTable tr > :nth-child(9),
#gameTable tr > :nth-child(10),
#gameTable tr > :nth-child(11),
#gameTable tr > :nth-child(12) {
  text-align: center;
  /* max-width: 2.5em; */
}

#gameTable tr > :nth-child(2),
#gameTable tr > :nth-child(3),
#gameTable tr > :nth-child(4),
#gameTable tr > :nth-child(5),
#gameTable tr > :nth-child(6),
#gameTable tr > :nth-child(7),
#gameTable tr > :nth-child(8),
#gameTable tr > :nth-child(9),
#gameTable tr > :nth-child(10) {
  max-width: 35px;
}

.shmup,
.shmupLabel {
  /* background-color: #f79e86; */
  background-color: #faae99;
}

.beatemup,
.beatemupLabel {
  /* background-color: #ffc88c; */
  background-color: #ffd2a1;
}

.fps,
.fpsLabel {
  /* background-color: #d6ccc3; */
  background-color: #d3c7bc;
}

.partypuzzler,
.partypuzzlerLabel {
  /* background-color: #ffe99e; */
  background-color: #ffecad;
}

.platformer,
.platformerLabel {
  /* background-color: #d0a3d6; */
  background-color: #d4acda;
}

.racing,
.racingLabel {
  /* background-color: #c7ebff; */
  background-color: #c7efff;
}

.sports,
.sportsLabel {
  /* background-color: #91d9b3; */
  background-color: #8ed6a6;
}

.strategyadventure,
.strategyadventureLabel {
  /* background-color: #79b6f7; */
  /* background-color: #80b4ec; */
  /* background-color: #86b6e9; */
  background-color: #9ac4e7;
}

@media screen and (max-width: 1350px) {
  .mainGridContainer {
  display: grid; 
  grid-template-columns: auto; 
  grid-template-rows: auto auto auto auto; 
  gap: 0px 0px; 
  grid-template-areas: 
    "header"
    "main"
    "aside"
    "footer";
  }

  aside {
    max-width: unset;
  }
}

/* @media screen and (max-width: 1200px) {
  #gameTable th:nth-of-type(3),
  #gameTable td:nth-of-type(3) {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  #gameTable th:nth-of-type(10),
  #gameTable td:nth-of-type(10) {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  #gameTable th:nth-of-type(9),
  #gameTable td:nth-of-type(9) {
    display: none;
  }
} */

@media screen and (max-width: 450px) {
  #tagline {
    border-radius: 0;
  }

  #issueGuide,
  #issueTable {
    display: none;
  }

  table {
    border-spacing: 0;
    margin: 0.5em auto;
  }

  #gameTable td:nth-of-type(2),
  #gameTable th:nth-of-type(2),
  #gameTable td:nth-of-type(3),
  #gameTable th:nth-of-type(3),
  #gameTable td:nth-of-type(4),
  #gameTable th:nth-of-type(4),
  #gameTable td:nth-of-type(5),
  #gameTable th:nth-of-type(5),
  #gameTable td:nth-of-type(6),
  #gameTable th:nth-of-type(6),
  #gameTable td:nth-of-type(7),
  #gameTable th:nth-of-type(7),
  #gameTable td:nth-of-type(8),
  #gameTable th:nth-of-type(8),
  #gameTable td:nth-of-type(9),
  #gameTable th:nth-of-type(9),
  #gameTable td:nth-of-type(10),
  #gameTable th:nth-of-type(10),
  #gameTable td:nth-of-type(11),
  #gameTable th:nth-of-type(11),
  #gameTable td:nth-of-type(14),
  #gameTable th:nth-of-type(14) {
    display: none;
  }
}

/* @media (prefers-color-scheme: dark) {
  body {
    background-color: #293c4e;
    color: #dddddd;
  }

  h1 {
    color: #ffffff;
  }

  .top10 li:nth-child(odd) {
    background-color: #414c5a;
  }

  .top10 li:first-child,
  .top5 li:first-child,
  .top5 li:first-child small {
    background-color: #000000;
    color: #ffffff;
  }

  .top10 small,
  .top5 small {
    color: #8ed1fd;
    text-transform: uppercase;
    font-size: 0.6em;
    font-weight: bold;
    letter-spacing: normal;
  } 
} */