@import url("simple.min.css");

/* override: force dark mode */
:root {
  --bg: #212121;
  --accent-bg: #2b2b2b;
  --text: #dcdcdc;
  --text-light: #ababab;
  --border: #666;
  --accent: #ffb300;
  --accent-light: #ffecb3;
  --code: #f06292;
  --preformatted: #ccc;
  --disabled: #111;
}

/* override column size from simple */
body {
  grid-template-columns: 1fr min(60rem, 90%) 1fr;
}

@font-face {
  font-family: Mayflower;
  src: url("assets/MayflowerAntique.ttf");
}

p,
li {
  text-align: justify;
}

header {
  font-family: Mayflower;
}

header h1 {
  font-size: 4em;
}

header h1 a {
  color: white !important;
  text-decoration: none;
}

@media only screen and (max-width: 600px) {
  header h1 {
    font-size: 2em;
  }
}

body > footer {
  padding: 4px;
  font-size: 0.5em;
}

body > footer > p {
  text-align: right;
}

div.pagination {
  display: flex;
  justify-content: space-between;
}

div.pagination p {
  margin: 0;
}

.game-icon {
  image-rendering: pixelated;
  width: 64px;
  height: 64px;
}

.image-with-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.image-with-text img {
  max-width: none;
}

.center {
  text-align: center;
}

#card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.card-detail {
  display: grid;
  grid-template-columns: 360px calc(100% - 360px);
  gap: 8px;
}

.stat-block {
  padding: 2px;
  margin: 4px;
  border: 1px solid;
  text-decoration: none;
}

.stat-block img {
  image-rendering: pixelated;
  width: 16px;
  height: 16px;
}

.filter-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
}

.filter-section p {
  margin: 0;
}

.filter-section .game-icon {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.filter-section .game-icon.selected {
  border: 1px solid white;
}

.filter-section .game-icon:not(.selected) {
  opacity: 0.5;
}

.small {
  font-size: 0.6em;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4em;
}

.two-col-grid > .left {
  flex-direction: row;
  text-align: left;
}

.two-col-grid > .left > * {
  text-align: left;
}

.two-col-grid > .right {
  flex-direction: row-reverse;
  text-align: right;
}

.two-col-grid > .right > * {
  text-align: right;
}

.property-list > * {
  margin: 0;
  padding: 0;
}

.symbol-red {
  color: rgba(255, 128, 128, 255);
}

.symbol-green {
  color: rgba(128, 255, 128, 255);
}

.symbol-blue {
  color: rgba(128, 128, 255, 255);
}

.effect-hex {
  background-color: rgba(190, 0, 150, 0.3);
  padding: 4px;
}

.effect-counter {
  background-color: rgba(1, 28, 103, 0.3);
  padding: 4px;
}

.effect-charm {
  background-color: rgba(30, 140, 30, 0.3);
  padding: 4px;
}

.effect-manifest {
  background-color: rgba(232, 160, 32, 0.3);
  padding: 4px;
}

.effect-trait {
  background-color: rgba(0, 195, 255, 0.3);
  padding: 4px;
}

.light-fume {
  padding: 4px;
  background-color: #3C3C3C;
  color: white;
}

.light-fume a {
  color: white;
  text-decoration: none;
}

.dark-fume {
  padding: 4px;
  background-color: #3C3C3C;
  color: black;
}

.dark-fume a {
  color: black;
  text-decoration: none;
}

.symbols {
  display: inline-flex;
  gap: 12px;
}

@media print {
  header {
    display: none;
  }
}