@font-face {
  font-family: AureBesh;
  src: url("/fonts/Aurebesh.ttf");
}

@font-face {
  font-family: AureBesh;
  font-weight: bold;
  src: url("/fonts/AurebeshBold.ttf");
}

@font-face {
  font-family: AureBesh;
  font-style: italic;
  src: url("/fonts/AurebeshItalic.ttf");
}

@font-face {
  font-family: AureBesh;
  font-weight: bold;
  font-style: italic;
  src: url("/fonts/AurebeshBoldItalic.ttf");
}

body > h1:nth-of-type(1) {
  margin-top: 25px;
}

aurebesh, .aurebesh {
  font-family: AureBesh;
}

.center {
  text-align: center;
}

img.rounded {
  border-radius: 25px;
}

.width_25, .width_50, .width_66, img {
  width: 100%;
  max-width: 100%;
}

@media all and (min-width: 540px) {
  .width_25 {
    width: 25%;
    max-width: 25%;
  }
  .width_50 {
    width: 50%;
    max-width: 50%;
  }
  .width_66 {
    width: 66%;
    max-width: 66%;
  }
}

section.starfield {
  background-image: url(/images/starfield.png);
  color: #99c1da;
  width: 100%;
  margin-left: -12.5%;
  padding-left: 12.5%;
  padding-right: 12.5%;
  padding-top: 5%;
  padding-bottom: 5%;
}

section.starfield h2 {
  color: white;
}

section.starfield img {
  float: right;
  width: 35%;
  min-width: 300px;
  margin-right: 15%;
  shape-image-threshold: 0.5;
}

a {
  text-decoration: none;
  border-bottom: 1px dashed black;
  color: black;
}

.npc-wrapper > ng-transclude {
  text-align: left;
  display: block;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

body.twocolumn {
  width: 100%;
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  font-size: 12px;
}

body.twocolumn .page-break {
  page-break-after: always;
}

body.twocolumn table, body.twocolumn .blackbox, body.twocolumn .redbox, body.twocolumn .npc-wrapper {
  font-size: 12px;
  page-break-inside: avoid;
}

body.twocolumn table, body.twocolumn h1, body.twocolumn h2 {
  column-span: all;
  page-break-before: always;
  page-break-after: avoid;
}

body.twocolumn .stat-block {
  height: 0;
  padding-bottom: 16.667%;
}

body.twocolumn .detail-block {
  height: 0;
  padding-bottom: calc((33.334% - 12.58%)/2);
}

body.twocolumn .detail-block-text {
  font-size: 1vw;
}

body.twocolumn .detail-block-value {
  font-size: calc(4.5vw /2);
  bottom: 5%;
}

body.twocolumn .stat-block-value {
  font-size: calc(8vw /2);
  bottom: 17%;
}

body.twocolumn .stat-block-text {
  font-size: 1vw;
  bottom: 5%;
}

@media (min-width: 1000px) {
  body.twocolumn .stat-block-value {
    font-size: 40px;
  }
  body.twocolumn .detail-block-value {
    font-size: 25px;
    bottom: 10%;
  }
  body.twocolumn .stat-block-text {
    font-size: 12px;
  }
  body.twocolumn .detail-block-text {
    font-size: 11px;
  }
}
