/* f26221
535554 */

@font-face {
  font-family: "aero_matics_displayregular";
  src: url("fonts/aero_matics_display_regular-webfont.woff2") format("woff2"),
    url("fonts/aero_matics_display_regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "outlierregular";
  src: url("fonts/outlier-webfont.woff2") format("woff2"),
    url("fonts/outlier-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: serif;
  line-height: 1.5em;
  color: #424042;
  /* background-color: #e6e4e1; */
  background-image: url("img/lqg-bg.jpg");
  background-attachment: fixed;
  font-size: 18px;
  border-bottom: 15px solid #f26221;
}

h4,
h5 {
  font-family: aero_matics_displayregular;

  line-height: 1;

  margin-bottom: 0.5em;
  letter-spacing: 0.15em;
  padding-bottom: 0.25em;
}

h4 {
  font-size: 2em;
  border-bottom: 10px solid #f26221;
}

h5 {
  font-size: 1.25em;
  border-bottom: 5px solid #f26221;
  letter-spacing: 0.15em;
}

h6 {
  text-align: center;
}

header {
  padding: 1em;

  font-size: 1.25em;
}

figure {
  text-align: center;
}

.callout {
  color: white;
  background-color: #535554;
  padding: 1em;
  margin-bottom: 0.5em;
  /* border-radius: 25px 25px 25px 25px; */
  clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
  box-shadow: 0px 10px 10px rgb(0 0 0 / 0.25);
}

.callout h4,
.callout h5 {
  border-bottom: 1px solid #fff !important;
}

.example-text {
  font-style: italic;
  color: #535554;
}

.example-photo {
  border: 2px solid black;
  box-shadow: 0px 15px 10px rgb(0 0 0 / 0.1);
  float: right;
  margin-left: 0.25em;
  max-width: 100%;
}

.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5em;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 10px solid #f26221;
  margin-bottom: 1.5em;
  padding: 0.25em 0;
  border-radius: 0px 0px 25px 25px;
}

footer {
  margin-top: 30px;
  font-size: 1.25em;
  border-top: 10px solid #f26221;
  padding: 20px 0px 20px 0px;
  text-align: center;
  border-radius: 25px 25px 0px 0px;
}

section {
  border-top: 5px solid #f26221;
  border-bottom: 10px solid #535554;
  box-shadow: 0px 15px 10px rgb(0 0 0 / 0.1);
  padding: 30px 10px;
  background-color: #fff;
  border-radius: 0px 0px 25px 25px;
}

section h5 {
  border-bottom: none;
  margin-left: 0.5em;
  color: #535554;
}

.footer-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

footer img {
  height: 40px;
}

.container {
  width: 70%;
  margin: auto;
}

.page-title {
  text-align: center;
  margin: 0.5em 0;
  font-family: "aero_matics_displayregular";
  letter-spacing: 0.15em;
  border-bottom: 10px solid #f26221;
  padding-bottom: 0.5em;
  font-size: 3em;
}

.example {
  border-radius: 15px;
  font-family: aero_matics_displayregular;
  cursor: pointer;
  margin: 0.5em 0 1.25em 0;
  padding: 0.5em;
  border-bottom: 5px solid #f26221;
  box-shadow: 0px 10px 10px rgb(0 0 0 / 0.6);
  background-color: #535554;
  color: #fff;
  transition: color 0.4s 0.1s ease-out;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5%;
}

.example::after {
  content: "▼";
  float: right;
}

.active-example,
.example:hover {
  background-color: #fff;
  color: #535554;
}

.active-example::after {
  content: "▲";
  float: right;
}

.btn-letter {
  border-radius: 15px;
  /* clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%); */
  text-align: center;
  font-family: aero_matics_displayregular;
  cursor: pointer;
  margin-top: 0.75em;
  font-size: 2em;
  padding: 0.5em;
  border-bottom: 5px solid #535554;
  box-shadow: 0px 10px 10px rgb(0 0 0 / 0.1);
  color: #f26221;
  background: linear-gradient(to right, #535554, #e6e4e1, #535554);

  transition: color 0.4s 0.1s ease-out;
}

.active,
.btn-letter:hover {
  background: linear-gradient(to right, #e6e4e1, #f26221, #e6e4e1);
  color: white;
}

.entries {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  flex-wrap: wrap;
}

/* .entries button {
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  margin-top: 0.5em;
  padding: 0.25em;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 0.1);
  font-size: 1.5em;
  border-bottom: 5px solid #26416d;
  color: #26416d;
  background-color: #fff;
  font-family: aero_matics_displayregular;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.entries button:hover {
  background-color: #26416d;
  color: #fff;
}
.entries button:active {
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 30%);
} */

.official-rules-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px;
}

.official-rules-links a:link,
.official-rules-links a:visited {
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  margin-top: 0.5em;
  padding: 0.25em;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 0.1);
  font-size: 1.25em;

  border: 1px solid #535554;
  border-bottom: 5px solid #f26221;
  color: #535554;
  background-color: #fff;
  font-family: aero_matics_displayregular;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
  text-decoration: none;
}

.official-rules-links a:hover {
  color: #fff;
  background-color: #f26221;
}

.official-rules-links a:active {
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 30%);
}

.patch-notes {
  font-size: 0.8em;
  border: 2px solid #f26221;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 0.1);
  background-color: #fff;
}

.patch-notes-button {
  font-size: 0.8em;
  text-align: center;
}

.entry-button {
  border-radius: 15px;

  text-align: center;
  cursor: pointer;
  margin-top: 0.5em;
  padding: 0.25em;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 0.1);
  font-size: 1.5em;
  border: 1px solid #535554;
  border-bottom: 5px solid #f26221;
  color: #535554;
  background-color: #fff;
  font-family: aero_matics_displayregular;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.entry-button:link,
.entry-button:visited {
  text-decoration: none;
}
.entry-button:hover {
  color: #fff;
  background-color: #f26221;
}

.entry-button:active {
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 30%);
}

.unit-keyword {
  font-weight: bold;
}

.weapon-keyword {
  font-style: italic;
}

p {
  margin-bottom: 0.5em;
}

.entry li {
  margin-left: 1.5em;
  margin-bottom: 0.5em;
}

li ul li {
  margin-left: 2em;
  list-style-type: disclosure-closed;
  margin-top: 0.5em;
}

li ul li ul li {
  list-style-type: circle;
}

ol li ol {
  list-style-type: lower-alpha;
}

ol li ol li ol {
  list-style-type: upper-roman;
}

.aside {
  float: right;
  text-align: center;
  margin: 0px 40px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: column;
  max-width: 100px;
}

.aside p {
  /* text-transform: uppercase; */
  font-size: 20px;
  line-height: 20px;
  font-family: aero_matics_displayregular;
}

.aside img {
  max-width: 150px;
}

.entry:target {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center !important;
  -ms-flex-align: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
}

.entry .entry-dialog {
  position: relative;
  z-index: 12;
  background: #e6e4e1;
  /* border-radius: 25px; */
  clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box;
  padding: 1em;
  margin: 0 3em;
  max-width: 50%;
  max-height: 90%;
  overflow-x: hidden;
  overflow-y: auto;
  border-bottom: 5px solid #f26221;
  box-shadow: 30px 30px 10px rgb(0 0 0 / 0.3);
}

.entry .entry-close {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
  background-image: url(img/legion-deplete.png);
  background-position: top right;
  background-size: 2.5em 2.5em;
  background-repeat: no-repeat;
  background-origin: content-box;
  padding: 0.5em;
}

a:link,
a:visited {
  color: #535554;
}

.related-topics {
  display: flex;
  align-items: center;
  justify-items: space-between;

  flex-wrap: wrap;
}

.related-topics a:link {
  display: block;
  margin-left: 0.25em;
  margin-bottom: 0.25em;
  padding: 0.25em;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #f26221;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 0.3);
  color: #535554;
  background-color: #e6e4e1;
  font-family: aero_matics_displayregular;
  transition: background 0.2s ease-out, color 0.2s ease-out;
}

.related-topics a:visited {
  color: #535554;
  background-color: #e6e4e1;
}

.related-topics a:hover {
  color: #e6e4e1;
  background-color: #535554;
}

.related-topics a:active {
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 30%);
}

.btn-back {
  float: right;
  display: block;
  margin-left: 0.25em;
  margin-bottom: 0.25em;
  padding: 0.25em;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #f26221;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 0.3);
  color: #f26221;
  background-color: #e6e4e1;
  font-family: aero_matics_displayregular;
  transition: background 0.2s ease-out, color 0.2s ease-out;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.btn-back:hover {
  background-color: #fff;
}

.hidden {
  display: none;
}

.panel {
  background-color: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.keyword-reference {
  text-transform: uppercase;
  /* font-size: .9em; */
  font-family: aero_matics_displayregular;
}

.game-icon {
  display: inline;
  height: 1em;
}

.clipped-corners {
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 98%, 10% 100%, 0 90%);
  width: 50%;
  float: left;
  margin-right: 1.5em;
}

.example-dice {
  display: flex;
  align-items: center;
}

.example-dice img {
  height: 2.5em;
  margin-left: 0.25em;
  border-radius: 15px;
}

.icon-list {
  display: grid;
  grid-template-columns: 50px 1fr 50px 1fr;
  align-items: center;
  gap: 5px;
}

.icon-list img {
  justify-self: center;
}

.upgrade-icon {
  display: inline;
  height: 2.5em;
}

.easter-egg a:link {
  text-decoration: none;
  color: #424042;
}

@media (max-width: 1000px) {
  .container {
    width: 100%;
  }

  .example-photo {
    float: none;
    margin-left: 0px;
  }

  .body {
    font-size: 16px;
  }

  .page-title {
    line-height: 1em;
  }

  .btn-letter {
    margin-top: 5px;
  }

  .entry .entry-dialog {
    max-width: 100%;
  }

  h4 {
    font-size: 1.25em;
  }

  h5 {
    font-size: 1em;
  }

  .keyword-reference {
    font-size: 0.9em;
  }

  .aside {
    text-align: center;
    margin: 0px 15px;
    padding: 5px;

    gap: 5px;

    max-width: 75px;
  }

  .aside p {
    font-size: 16px;
    line-height: 15px;
  }

  .aside img {
    max-width: 100px;
  }

  .btn-back {
    max-height: 1.25em;
  }

  .logos img {
    max-width: 100%;
  }
}
