﻿html {
  position: relative;
}

code {
  --bs-code-color: var(--text-color);
}

* {
  --bs-primary: #5e87d3;
  --bs-body-bg: #0b0b28;
  --bs-body-color: #adb5bd;
  --bs-body-color-rgb: 173, 181, 189;
  --bs-primary-rgb: 94, 135, 211;
}

.table {
  --bs-table-color: var(--bs-body-color);
}

.table th {
  --bs-table-color: var(--bs-emphasis-color);
}

body.landing {
  background: linear-gradient(185deg, #0b0b28 65%, #3a175e) fixed;
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #4869a5;
  --bs-btn-hover-border-color: #4869a5;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #4869a5;
  --bs-btn-hover-border-color: #4869a5;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
}

.list-group {
  --bs-list-group-active-bg: var(--bs-primary);
  --bs-list-group-active-border-color: var(--bs-primary);
}

.pagination {
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-border-color: var(--bs-primary);
}

.nav-pills {
  --bs-nav-pills-link-active-bg: var(--bs-primary);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}

@font-face {
  font-family: 'LTMuseum';
  src: url('../fonts/LTMuseum-Reg.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

#videoTrailer {
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.8), -2px 2px 10px rgba(0, 0, 0, 0.8), 2px -2px 10px rgba(0, 0, 0, 0.8), 2px 2px 10px rgba(0, 0, 0, 0.8);
}

#videoTrailer div i {
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 2px 2px 10px rgba(64, 64, 64, 0.6);
}

#videoTrailer div:hover i {
  color: rgba(255, 255, 255, 0.85);
}

h1.wb {
  font-family: 'LTMuseum';
  font-variant: small-caps;
  color: white;
  text-shadow: 0 0 6px rgba(var(--bs-primary-rgb), 1);
}

h2.wb {
  font-family: 'LTMuseum';
  font-variant: small-caps;
  color: var(--bs-primary);
  font-size: calc(1rem + .9vw);
  margin-bottom: 0px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.btn-steam {
  font-family: 'LTMuseum';
  font-variant: small-caps;
  border: 5px transparent;
  box-shadow: 0 0 6px #ffca2c;
}

.landing .card {
  --bs-border-radius: 0;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  border: none;
}

footer {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5) 12px);
}

footer .legal {
  font-size: 0.75em;
}

btn-group-xs>.btn,
.btn-xs {
  --bs-btn-padding-y: 0;
  --bs-btn-padding-x: 0.25rem;
  --bs-btn-font-size: 0.75rem;
  --bs-btn-border-radius: var(--bs-border-radius-sm);
  --bs-btn-border-width: 0;
}

span.spoiler,
div.spoiler {
  color: transparent;
  background-color: rgba(0, 0, 0, 0.5);
}

span.spoiler:hover,
div.spoiler:hover {
  color: inherit;
}

body.legal main ul {
  counter-reset: list;
}

body.legal main ul>li {
  list-style: none;
  position: relative;
}

body.legal main ul>li:before {
  content: "(" counter(list, lower-alpha) ") ";
  counter-increment: list;
  position: absolute;
  left: -1.4em;
}

.popover-big {
  --bs-popover-max-width: calc(min(600px, 70vw));
}

.popover-thin .popover-body {
  --bs-popover-body-padding-x: 0rem;
  --bs-popover-body-padding-y: 0.3rem;
}

#patchnotes .list-group-item {
  --bs-list-group-border-color: rgba(255, 255, 255, 0.15);
}