*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  background-image: url(bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#box {
  margin: auto;
  width: 50em;
  height: 100%;
  white-space: nowrap;
}
@media all and (max-width: 52em) {
  #box {
    width: 100%;
  }
}

#center {
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  width: 100%;
}

table {
  background-color: white;
  padding: 1em;
  width: 100%;
}
table, table * {
  border-color: #27ae60 !important;
}
table th {
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
  color: white;
  background-color: #27ae60;
  position: relative;
}

td.center {
  text-align: center;
}
img.platform {
  height: 20px;
}

img.rarity {
  width: 15px;
  height: 15px;
  display: inline;
}
img.flag {
  height: 20px;
  width: 30px;
  border: 1px solid #000;
}

.cover {
  width: 50px;
  margin: 0;
  padding: 0;
}

th {
  cursor: pointer;
}

tr:not(.owned) {
  opacity: 0.5;
}

#stats,
#show-all {
  margin: 5px 5px 5px 0;
}

#stats {
  float: right;
}
