@font-face {
  font-family: "Syntax";
  src: url("../fonts/SyntaxRoman.otf") format("opentype");
}
@font-face {
  font-family: "Minion Pro";
  src: url("../fonts/MinionPro-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Minion Pro";
  src: url("../fonts/MinionPro-It.otf") format("opentype");
  font-style: italic;
}
@font-face {
  font-family: "Minion Pro";
  src: url("../fonts/MinionPro-Bold.otf") format("opentype");
  font-weight: bold;
}
@font-face {
  font-family: "Minion Pro";
  src: url("../fonts/MinionPro-BoldIt.otf") format("opentype");
  font-style: italic;
  font-weight: bold;
}

/*  _  __ __ _____ */
/* |_)|_ (_ |_  |  */
/* | \|____)|__ |  */
body {
  font-family: "Minion Pro";
  font-size: 16px;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.5em;
  font-weight: normal;
  margin: auto;
}
h2 {
  font-size: 1.5em;
  font-weight: normal;
  margin: .1em 0;
}
h3 {
  font-size: 1.2em;
  font-weight: normal;
  margin: .1em 0;
}
hr {
  border: none;
  border-top: 1px solid #CCC;
  margin: 10px 0px;
}
ul {
  list-style: disclosure-closed;
}

a, a:visited {
  color: #000;
}
a.back {
  display: block;
  text-align: center;
}

body > header {
  text-align: center;
  font-variant: small-caps;
  background: #EFEFEF;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

body > header menu {
  margin: 1em;
  padding: 0;
  flex: 0 0 250px;
}
body > header menu li {
  display: inline list-item;
  list-style-type: "|";
}

body > header h1 a {
  font-family: "Syntax";
  text-decoration: none;
}
body > header h1 small {
  font-family: "Minion Pro";
  margin-top: .5em;
  font-size: .5em;
  display: block;
}

body > header form {
  margin: 1em;
  flex: 0 0 250px;
}

footer {
  text-align: right;
}

footer small {
  padding: 0px 20px;
}

footer img {
  height: 1em;
  display: inline;
  vertical-align: sub;
}

section {
  width: 600px;
  margin: 20px auto;
  padding: 20px;
}

/* game session subscription */
.session h1, .session h2 {
  text-align: center;
  margin-bottom: 1em;
}

.session .errors {
  color: #AA0000;
}
.session label {
  position: absolute;
  margin-top: -.5em;
  background: #FFF;
}
.session input[type='email'] {
  width: 100%;
  padding: 1em;
  outline: none;
}

.session input[type='submit'] {
  display: block;
  border: 1px solid #CCC;
  background: #FFF;
  padding: 1em 2em;
  margin: 1em auto;
  cursor: pointer;
}

.session input[type='submit']:hover {
  filter: invert(1);
}

/*     _     __ */
/* |_|/ \|V||_  */
/* | |\_/| ||__ */

.home li {
  display: inline list-item;
  padding-right: 1em;
}

img.logo {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
}

/*  __ _  _  _       ___ _____ */
/* /  |_||_)| \   |   | (_  |  */
/* \__| || \|_/   |___|___) |  */
main.card-list {
  display: flex;
  flex-wrap: wrap;
}

.card-list .card-container > a {
  text-decoration: none;
}

.card-list section > a u {
  margin-top: .5em;
  display: block;
  text-align: center;
}


/*  __ _  _  _     _  _____ _ ___    */
/* /  |_||_)| \   | \|_  | |_| | |   */
/* \__| || \|_/   |_/|__ | | |_|_|__ */
.card-container {
  width: 600px;
  margin: 20px auto;
  padding: 20px;
}

.card-container h3 {
  display: flex;
  justify-content: space-between;
}

.card-container li {
  display: flex;
  justify-content: space-between;
  padding-right: 40px;
}

.sources {
  border: 1px solid #CCC;
  border-radius: 10px;
  padding: 20px;
  margin: 10px 0px;
  background: #EFEFEF;
}

/* card itself */
.card {
  font-size: 13pt;
  line-height: 18pt;
  margin: auto;
  /* 70mm x 100mm */
  width: 70mm;
  aspect-ratio: 70/100;
  border: .1mm solid #DDD;
  box-sizing: border-box;
  display: flex;
  padding: 3mm;
  align-items: stretch;
}
.card h3 {
  font-size: .8em;
  font-weight: normal;
  margin: 0;
  text-transform: uppercase;
}
.card .inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4mm;
  position: relative;
}

.card p {
  margin-top: 0;
}

.card .inner aside {
  font-family: "Syntax";
  font-variant: small-caps;
  font-size: 12pt;
  text-align: right;
}

.card .inner aside small {
  font-family: "Syntax";
  font-size: 8pt;
}

.card .inner svg {
  height: 14mm;
  border: 2mm solid transparent;
  background-color: #FFF;
  color: var(--color);
}

.card .inner aside svg {
  margin-top: 8pt;
  margin-right: 1px;
  vertical-align: text-top;
}

.card .inner aside span {
  margin-right: 1mm;
  font-size: 8pt;
  font-family: "Syntax";
}

.card .inner aside p {
  height: 5.5mm;
  margin-bottom: 0;
}

.back {
  background-size: 100% 100%;
  /* calc(100% - 6mm) calc(100% - 6mm); */
  background-repeat: no-repeat;
  background-position: center;
}

/* debunking cards */
.back-debunking-card {
  background-image: url('../img/backdebunking.png');
}

.debunking-card {
  color: #FFF;
}

.debunking-card .inner svg {
  border-color: #FFF;
}

.debunking-card .inner {
  background: linear-gradient(to bottom, var(--color), var(--gradient));
}

/* misinformation cards */
.back-misinformation-card {
  background-image: url('../img/backmisinformation.png');
}

.misinformation-card .inner {
  border: .2mm solid;
}

.misinformation-card .inner {
  color: var(--color);
  border-color: var(--color);
}

.misinformation-card .inner svg {
  border-left: 0;
  border-top: 0;
}

/* rhetorical cards */
.back-rhetorical-card {
  background-image: url('../img/backdebunking.png');
}

.rhetorical-card .inner {
  line-height: 16pt;
  border: .2mm solid #7f7f7f;
  color: #FFF;
  background-color: #7f7f7f;
}

.rhetorical-card .inner header {
  font-size: 1.4em;
  font-variant: small-caps;
}

.rhetorical-card .inner svg {
  --color: #7f7f7f;
  border-color: #FFF;
}

/* double-sided active player / card sets card */
.active-player .inner {
  color: #7f7f7f;
}

.active-player ul {
  padding: 0mm 2mm;
  margin-top: 0;
  list-style: none;
}

.back-active-player .inner {
  border: 1px solid #7f7f7f;
  width: 100%;
}

.back-active-player {
  background-image: url('../img/backactive.png');
}

.card.rules {
  color: #7f7f7f;
  font-size: 10pt;
  line-height: 14pt;
}

.card.rules .inner {
  justify-content: flex-start;
}

.card.rules.back {
  font-family: "Syntax";
}

.card.rules .inner small {
  margin-top: 1em;
  font-size: 8pt;
  line-height: 12pt;
}

.card.back.rules {
  line-height: 12pt;
}

.card.rules .inner span {
  text-transform: uppercase;
}

.empty .card .inner {
	display: none;
}

/*  _  _ ___   ___ */
/* |_)|_) | |\| |  */
/* |  | \_|_| | |  */
.card-print > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .2mm;
  margin: 0;
  padding: 0;
  page-break: after;
  break-after: always;
}
