/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " ("attr(href) ")";
  }

  abbr[title]:after {
    content: " ("attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

body {
  font-family: "Source Code Pro", monospace;
  background-color: #00263b;
  color: #dddddd;
  line-height: 1.5em;
  letter-spacing: normal;
  font-size: 14px;

  text-align: center;
}

h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  font-family: "Abel", sans-serif;
  line-height: 1em;
  text-rendering: optimizeLegibility;
  margin-top: 1rem;
  margin-bottom: .5rem;
  margin-left: .5em;
  margin-right: .5em;
  text-align: center;
}

h1 {
  font-size: 50px;
  font-weight: bold;
  color: #ff5200;
  letter-spacing: 7px;
}

h2 {
  color: #00a1ab;
  letter-spacing: 7px;
  margin-top: 0rem;
}

h3 {
  color: #00ab8f;
  letter-spacing: 3px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-transform: none;
}

h4 {
  color: #fff;
  font-size: .9rem;
  font-family: sans-serif;
}

b {
  color: #7aa8d0;
}

a,
a:visited {
  color: #ffd8a6;
  text-decoration: underline;
}

#mainBlock {
  text-align: justify;
  margin-top: 2rem;
  max-width: 50em;
  margin-right: auto;
  margin-left: auto;

  padding-left: 17px;
  padding-right: 17px;

  position: relative;
  height: auto;
  padding-bottom: 0px;
}

#mainBlock p {
  word-wrap: break-word;
  /*white-space: pre-wrap;*/
}

blockquote {
  margin: 0;
  padding: 0.5em 2.5em;
  font-style: italic;
  border-left: 1px solid #fff;
}

.notImportant {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid black;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.1rem;
  margin-bottom: 1rem;
}

ul {
  text-align: left;
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}

#steam-features-list span {
  text-decoration: dotted underline;
  cursor: pointer;
}

.tippy-box {
  font-family: sans-serif;
  font-size: 13px;
  line-height: 1rem;
  letter-spacing: normal;
}

.tippy-box[data-theme~='retro'] {
  background: beige;
  border: 2px solid rgb(255, 169, 71);
  color: rgb(209, 52, 25);
  font-weight: bold;
}

/* tablesort */

table#table-id {
  color: #444;
  background: #fff;
  margin-left: 5%;
  margin-right: 5%;
  border-spacing: 0;
  margin: 10px 0;

  width: 90%;
  margin-left: 5%;
  margin-right: 5%;

  border: 1px solid #ddd;
  border-collapse: separate;
  *border-collapse: collapsed;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
  -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);

  font-size: .9em;
  letter-spacing: normal;
  line-height: normal;

  text-align: unset;

  font-family: sans-serif;
}

table#table-id th,
table#table-id td {
  padding: 8px;
  line-height: 18px;
  text-align: left;
  border-top: 1px solid #ddd;
}

table#table-id th {
  background: #eee;
  background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#eee));
  background: -moz-linear-gradient(top, #f6f6f6, #eee);
  text-shadow: 0 1px 0 #fff;
  font-weight: bold;
  vertical-align: bottom;
}

table#table-id td {
  vertical-align: top;
}

table#table-id thead:first-child tr th,
table#table-id thead:first-child tr td {
  border-top: 0;
}

table#table-id tbody+tbody {
  border-top: 2px solid #ddd;
}

table#table-id th+th,
table#table-id td+td,
table#table-id th+td,
table#table-id td+th {
  border-left: 1px solid #ddd;
}

table#table-id thead:first-child tr:first-child th,
table#table-id tbody:first-child tr:first-child th,
table#table-id tbody:first-child tr:first-child td {
  border-top: 0;
}

table#table-id th[role=columnheader]:not(.no-sort) {
  cursor: pointer;
}

table#table-id th[role=columnheader]:not(.no-sort):after {
  content: '';
  float: right;
  margin-top: 7px;
  border-width: 0 4px 4px;
  border-style: solid;
  border-color: #404040 transparent;
  visibility: hidden;
  opacity: 0;
  -ms-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

table#table-id th[aria-sort=ascending]:not(.no-sort):after {
  border-bottom: none;
  border-width: 4px 4px 0;
}

table#table-id th[aria-sort]:not(.no-sort):after {
  visibility: visible;
  opacity: 0.4;
}

table#table-id th[role=columnheader]:not(.no-sort):hover:after {
  visibility: visible;
  opacity: 1;
}

/* responsive table */

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

  /* Force table to not be like tables anymore */
  table#table-id,
  table#table-id thead,
  table#table-id tbody,
  table#table-id th,
  table#table-id td,
  table#table-id tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  table#table-id thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  table#table-id tr {
    margin: 0 0 1rem 0;
  }

  table#table-id tr:nth-child(odd) {
    background: #ddd;
  }

  table#table-id td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    line-height: normal;
    border-top: none;

    padding-top: 0;
    padding-bottom: 0;
  }

  table#table-id th {
    padding-top: 0;
    padding-bottom: 0;
  }

  table#table-id td::before {
    content: attr(label);
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 0;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
  }
}

/* arguments-table */

#arguments-table {
  font-family: sans-serif;
  font-size: .9em;
}

#arguments-table thead th {
  text-align: center;
  color: #96bb3d;
}

#arguments-table tbody th {
  text-align: center;
  font-weight: normal;
  font-style: italic;
  vertical-align: top;
  padding-bottom: 1rem;
}

#arguments-table tbody td {
  text-align: center;
  padding-left: 1rem;
  vertical-align: top;
  padding-bottom: 1rem;
}

/* table of contents */

.table-of-contents {
  float: right;
  width: 30%;
  background: #1c343c;
  font-size: 0.8em;
  padding: 1em 2em;
  margin: 0 0 0.5em 1.5em;

  font-family: sans-serif;
  border-radius: 10px;
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
  .table-of-contents {
    width: 100%;
    margin-top: 0;
    padding: 0;
    margin-bottom: 1rem;
  }
}

.table-of-contents ul {
  max-width: none;
  padding-inline-start: 20px;
  /*padding: 0;*/
}

.table-of-contents li {
  margin: 0 0 0.25em 0;
}

.table-of-contents a {
  text-decoration: none;
}

.table-of-contents a:hover,
.table-of-contents a:active {
  text-decoration: underline;
}

h3:target {
  animation: highlight 1s ease;
}

@keyframes highlight {
  from {
    background: yellow;
  }

  to {
    background: #00263b;
  }
}

/* sharing */

.sharing-icons {
  text-align: center;
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--twitter {
  background-color: #55acee
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9
}

.resp-sharing-button--pinterest {
  background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615
}

.resp-sharing-button--facebook {
  background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373
}

.resp-sharing-button--tumblr {
  background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c
}

.resp-sharing-button--reddit {
  background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1
}

.resp-sharing-button--google {
  background-color: #dd4b39
}

.resp-sharing-button--google:hover {
  background-color: #c23321
}

.resp-sharing-button--linkedin {
  background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293
}

.resp-sharing-button--email {
  background-color: #777
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e
}

.resp-sharing-button--xing {
  background-color: #1a7576
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c
}

.resp-sharing-button--whatsapp {
  background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851
}

.resp-sharing-button--hackernews {
  background-color: #FF6600
}

.resp-sharing-button--hackernews:hover,
.resp-sharing-button--hackernews:focus {
  background-color: #FB6200
}

.resp-sharing-button--vk {
  background-color: #507299
}

.resp-sharing-button--vk:hover {
  background-color: #43648c
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--email {
  background-color: #777777;
  border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}

.resp-sharing-button--pinterest {
  background-color: #bd081c;
  border-color: #bd081c;
}

.resp-sharing-button--pinterest:hover,
.resp-sharing-button--pinterest:active {
  background-color: #8c0615;
  border-color: #8c0615;
}

.resp-sharing-button--reddit {
  background-color: #5f99cf;
  border-color: #5f99cf;
}

.resp-sharing-button--reddit:hover,
.resp-sharing-button--reddit:active {
  background-color: #3a80c1;
  border-color: #3a80c1;
}

.small-note {
  font-size: 0.8em;
}
