/*
  QuestRider base styles.
  When the game lived inside a WordPress page it inherited the Astra theme and the
  Elementor site kit. These are the parts of those styles the game actually relied on,
  copied here so it looks the same as a standalone page. questrider.css loads after this.
*/

/* ---- Theme defaults (Astra): plain element selectors ---- */
html {
  font-size: 100%;                   /* 1rem = 16 px, or whatever the phone's text size makes it */
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #080300;
  color: #a7a7a7;
  font-family: Overpass, "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dd, dt, blockquote, figure, fieldset, legend, pre, textarea, hr, iframe, address {
  border: 0;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6 { clear: both; color: #ffd700; }
p { margin-bottom: 1.75em; }
ul, ol { margin: 0 0 1.5em 3em; }
ul { list-style: disc; }
b, strong { font-weight: 700; }
code, kbd, tt, var { font: 0.9375rem Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
hr { box-sizing: content-box; background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; }

img { border: 0; height: auto; max-width: 100%; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }

a { background-color: transparent; text-decoration: none; transition: 0.2s linear; }

table { border-collapse: separate; border-spacing: 0; border: 1px solid #ddd; border-width: 1px 0 0 1px; margin: 0 0 1.5em; width: 100%; }
td, th { border: 1px solid #ddd; border-width: 0 1px 1px 0; padding: 8px; }
th { font-weight: 700; }

button, input, optgroup, select, textarea {
  color: #666;
  font-family: Rosario, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6em;
  margin: 0;
  vertical-align: baseline;
}
button { overflow: visible; text-transform: none; -webkit-appearance: button; appearance: button; cursor: pointer; }
button {
  border: 0 solid #ffd700;
  border-radius: 2px;
  background-color: #ffd700;
  padding: 15px 30px;
  color: #000;
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1em;
}
button:hover, button:focus { color: #fff; background-color: #ba3a02; border-color: #ba3a02; }
a:hover, a:focus { color: #ba3a02; }
a:focus-visible { outline: thin dotted; border-color: transparent; }
input:focus, select:focus, textarea:focus { border: thin dotted; border-color: inherit; outline-color: transparent; }
input[type="email"], input[type="number"], input[type="password"], input[type="search"],
input[type="tel"], input[type="text"], input[type="url"], select, textarea {
  color: #666;
  padding: 0.75em;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #f9fafb;
  box-shadow: none;
  box-sizing: border-box;
  transition: all 0.2s linear;
  -webkit-appearance: none;
  appearance: none;
}
select { -webkit-appearance: auto; appearance: auto; line-height: normal; }

/* ---- Site kit (Elementor): one class deeper, so these win over plain rules
        in questrider.css exactly as they did on the WordPress page ---- */
.qr a {
  color: #8b6e5d;
  font-family: Overpass, "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  text-transform: capitalize;
  text-decoration: none;
}
.qr button {
  background-color: #8b6e5d;
  color: #fff;
  font-family: Overpass, "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.625;
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 32px;
  padding: 12px 24px;
}
.qr button:hover, .qr button:focus { background-color: #4f3e34; color: #fff; }
.qr h1, .qr h2, .qr h3, .qr h4 {
  color: #fcfcfc;
  font-family: Syne, sans-serif;
  font-weight: 500;
  letter-spacing: 2px;
}
.qr h1 { font-size: 4.5rem; line-height: 1.139; text-transform: capitalize; }
.qr h2 { font-size: 3rem; line-height: 1.208; }
.qr h3 { font-size: 2.5rem; line-height: 1.25; }
.qr h4 { font-size: 2rem; line-height: 1.313; }
