/* ==========================================================================
   Game-Remakes.com - base styles
   Element defaults, colours and accessibility helpers.
   ========================================================================== */

/* Colour palette. Keep literal colours out of component rules. */
:root {
  --gr-color-brand: #003399;
  --gr-color-text: #000000;
  --gr-color-text-inverse: #ffffff;
  --gr-color-heading: #009900;
  --gr-color-link: #0066cc;
  --gr-color-link-visited: #1f5fa0;
  --gr-color-link-hover: #1884f0;
  --gr-color-surface: #1d84eb;
  --gr-color-surface-soft: #cdecff;
  --gr-color-border: #0267cc;
  --gr-color-accent: #ff794b;
  --gr-color-accent-alt: #99ff66;
  --gr-color-success: #006600;
  --gr-color-error: #b00020;
}

/* Base
   ========================================================================== */

body {
  background-color: var(--gr-color-brand);
  color: var(--gr-color-text);
  font-family: Tahoma, sans-serif;
}

.page {
  width: 769px;
  margin: 0 auto;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-style: normal;
  line-height: normal;
}

h1 {
  font: normal bold 16pt Verdana, sans-serif;
  color: var(--gr-color-heading);
}

p {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-style: normal;
  line-height: normal;
}

a:link {
  text-decoration: none;
  color: var(--gr-color-link);
}

a:visited {
  color: var(--gr-color-link-visited);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--gr-color-link-hover);
}

a:active {
  text-decoration: none;
  color: var(--gr-color-link-hover);
}

/* ==========================================================================
   Accessibility helpers
   ========================================================================== */

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

.skipLink {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--gr-color-text-inverse);
  color: var(--gr-color-brand);
  font: normal bold 9pt Verdana, sans-serif;
}

.skipLink:focus {
  top: 8px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gr-color-accent);
  outline-offset: 2px;
}
