/**
 * SCSS: Main
 */
/**
 * Variables: Colours
 */
/**
 * Variables: Breakpoints
 */
/**
 * Breakpoints
 *
 * @key   {string} - Name of breakpoint
 *
 * @value {string} - Type of breakpoint (min, max)
 * @value {int}    - Width that breakpoint starts
 * @value {int}    - Number of columns for breakpoint
 * @value {int}    - Horizontal gutter for each grid
 * @value {int}    - Vertical gutter for each grid
 * @value {int}    - Horizontal gutter for each column
 * @value {int}    - Vertical gutter for each column
 * @value {int}    - Vertical Rhythm spacing
 */
/**
 * Variables: Spacings
 */
/**
 * Spacings
 *
 * @key   {string} - Number of lines
 *
 * @value {string} - Hex value of spacing
 */
/**
 * Variables: Type Scales
 */
/**
 * Type Scales
 *
 * @key   {string}       - Name of breakpoint
 * @key   {string}       - Name of element
 * @key   {string}       - Property
 * @value {string | int} - Value of property
 */
/**
 * Variables: Globals
 */
/**
 * Utils: Functions
 */
/**
 * em
 *
 * Converts px value to em
 *
 * @param {int} $target  - Value to be converted
 * @param {int} $context - The context the `$target` will be derived from
 * @return {string}
 */
/**
 * tracking
 *
 * Converts tracking value to letter spacing
 *
 * @param {int} $target  - Value to be converted
 * @param {int} $context - The context the `$target` will be derived from
 * @return {string}
 */
/**
 * lines
 *
 * @param {int} $lines   - Number of lines high you wish the element to be
 * @param {int} $context - Value of current font-size (Default: $DEFAULT-FONT-SIZE)
 * @return {string}
 */
/**
 * get-key-of-index-from-map
 *
 * Returns the name of the key at $index of $map
 *
 * @param  {map}    $map   - The map you wish to search for $index in
 * @param  {number} $index - The index of the key you want the name of
 * @return {string}
 */
/**
 * get-index-of-key-from-map
 *
 * Returns the index of the $key in $map
 *
 * @param  {map}    $map - The map you wish to search for $key in
 * @param  {string} $key - The key you wish to get the index of
 * @return {number}
 */
/**
 * get-value-of-key-from-map
 *
 * Returns the value of $key in $map
 *
 * @param  {map}           $map - The map you wish to search for the value of $key in
 * @param  {string}        $key - The key you wish to get the value for
 * @return {number|string}
 */
/**
 * get-type-scale-from-breakpoint
 *
 * Returns the value of $type-scale in $breakpoint of $type-scale-map
 * Searches recursively backwards through $type-scale-map if $type-scale is not found in $breakpoint
 *
 * @param  {string}        $type-scale - The property that you wish to get the value of
 * @param  {string}        $breakpoint - The breakpoint that you wish to search
 * @return {number|string}
 */
/**
 * get-property-from-type-scale
 *
 * Returns the value of $property of $type-scale in $breakpoint of $type-scale-map
 *
 * @param  {string}        $property       - The property you wish to get the value of
 * @param  {string}        $type-scale     - The type-scale you wish to get $property from
 * @param  {string}        $breakpoint     - The breakpoint you want to $property from $type-scale in
 * @param  {map}           $type-scale-map - The map you wish to search for $breakpoint
 * @return {number|string}
 */
/**
 * get-all-properties-from-type-scale
 * @param  {string} $type-scale     - The type scale you wish to get the properties of
 * @param  {string} $breakpoint:    - The breakpoint you wish to get $type-scale from
 * @param  {map}    $type-scale-map - The map you wish to search for $breakpoint
 * @return {map}
 */
/**
 * Utils: Mixins
 */
/**
 * breakpoint
 *
 * Iterate through $BREAKPOINTS and generate media queries
 *
 * @param {string} $breakpoint - Key in $BREAKPOINTS map
 */
/**
 * generate-font
 *
 * Generate font-face declaration
 * Assumes you follow the following directory structure:
 *
 * /
 * |- fonts/
 *   |- fontname
 *     |- fontname.eot
 *     |- fontname.woff
 *     |- fontname.ttf
 *     |- fontname.svg
 *
 * @param {string} $fontName - Name of the font to be used when declared
 * @param {string} $fontFileName - Filename of the font
 * @param {int} $fontWeight - Weight of the font (Default: 400)
 *     100 - Thin (Hairline)
 *     200 - Extra Light (Ultra Light)
 *     300 - Light
 *     400 - Normal (Regular)
 *     500 - Medium
 *     600 - Semi Bold (Demi Bold)
 *     700 - Bold
 *     800 - Extra Bold (Ultra Bold)
 *     900 - Black (Heavy)
 * @param {string} $fontStyle - Style of the font (normal, italic, oblique | Default: normal)
 */
/**
 * set-type-scale
 *
 * @param {string} $type-scale - The style you wish to use from $TYPE-SCALES-MAP
 * @param {number} $context    - The context of the current type-scale
 * @param {string} $breakpoint - The breakpoint in which you wish to get the $style from
 */
/**
 * generate-type-scale-styles
 *
 * @param {map} $type-scale-map - The map you want to generate the typescales from (Default: $TYPE-SCALES-MAP)
 */
/**
 * generate-grid-styles
 *
 * @param {map} $breakpoint-map - The map you want to generate the breakpoints from (Default: $BREAKPOINTS-MAP)
 */
/**
 * Utils: Debug
 */
/**
 * Base: Reset
 */
*,
*:before,
*:after {
  border: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 100%;
  font-smoothing: antialiased;
  line-height: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

address,
article,
aside,
audio,
blockquote,
canvas,
dd,
div,
dl,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hr,
noscript,
ol,
output,
p,
pre,
section,
ul,
video {
  display: block;
}

a,
abbr,
b,
bdo,
br,
button,
cite,
code,
dfn,
em,
i,
img,
input,
kbd,
label,
map,
object,
q,
samp,
select,
small,
span,
strong,
sub,
sup,
textarea,
var {
  display: inline;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
}

/**
 * Base: Normalise
 */
html {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

body {
  font-size: 100%;
  font-smoothing: antialiased;
  position: relative;
  text-rendering: optimizeLegibility;
}

img {
  border: 0;
  display: block;
  height: auto;
  max-width: 100%;
  width: auto;
  -ms-interpolation-mode: bicubic;
}

input,
textarea {
  border: 0.0625em solid #000000;
}

button {
  border-radius: 0;
}

html:-moz-full-screen-ancestor {
  background-color: inherit;
}

html:-webkit-full-screen-ancestor {
  background-color: inherit;
}

html:full-screen-ancestor {
  background-color: inherit;
}

/**
 * Base: Typography
 */
@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway/Raleway Regular.eot");
  src: url("/fonts/Raleway/Raleway Regular.eot?iefix") format("embedded-opentype"), url("/fonts/Raleway/Raleway Regular.woff") format("woff"), url("/fonts/Raleway/Raleway Regular.woff2") format("woff2"), url("/fonts/Raleway/Raleway Regular.svg") format("svg"), url("/fonts/Raleway/Raleway Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

html {
  font-size: 16px;
  line-height: 1.5em;
  font-family: "Raleway";
}

h1 {
  padding-top: 2.25em;
  font-size: 2em;
  line-height: 1.5em;
  text-transform: uppercase;
}

h2 {
  padding-top: 2.76923076923em;
  font-size: 1.625em;
  line-height: 1.84615384615em;
  text-transform: uppercase;
}

h3 {
  padding-top: 3.27272727273em;
  font-size: 1.375em;
  line-height: 1.09090909091em;
  text-transform: uppercase;
}

h4 {
  padding-top: 4em;
  font-size: 1.125em;
  line-height: 1.33333333333em;
  text-transform: uppercase;
}

h5 {
  padding-top: 4.5em;
  font-size: 1em;
  line-height: 1.5em;
  text-transform: uppercase;
}

h6 {
  padding-top: 4.5em;
  font-size: 1em;
  line-height: 1.5em;
  text-transform: uppercase;
}

p {
  padding-top: 4.5em;
  font-size: 1em;
  line-height: 1.5em;
}

blockquote {
  border-left-color: #000000;
  border-left-style: solid;
  border-left-width: 0.1875em;
  padding-top: 3.6em;
  font-size: 1.25em;
  line-height: 1.2em;
  padding-left: 1em;
}

@media (min-width: 48em) {
  h1 {
    padding-top: 2.5em;
    font-size: 3em;
    line-height: 1.5em;
    text-transform: uppercase;
  }
  h2 {
    padding-top: 3.07692307692em;
    font-size: 2.4375em;
    line-height: 1.84615384615em;
    text-transform: uppercase;
  }
  h3 {
    padding-top: 3.63636363636em;
    font-size: 2.0625em;
    line-height: 1.09090909091em;
    text-transform: uppercase;
  }
  h4 {
    padding-top: 4.44444444444em;
    font-size: 1.6875em;
    line-height: 1.33333333333em;
    text-transform: uppercase;
  }
  h5 {
    padding-top: 5em;
    font-size: 1.5em;
    line-height: 1.5em;
    text-transform: uppercase;
  }
  h6 {
    padding-top: 5em;
    font-size: 1.5em;
    line-height: 1.5em;
    text-transform: uppercase;
  }
  p {
    padding-top: 5em;
    font-size: 1.5em;
    line-height: 1.5em;
  }
  blockquote {
    border-left-color: #000000;
    border-left-style: solid;
    border-left-width: 0.1875em;
    padding-top: 4em;
    font-size: 1.875em;
    line-height: 1.2em;
    padding-left: 0.666666666667em;
  }
}

/**
 * UI: Buttons
 */
/**
 * UI: Icons
 */
.container {
  position: relative;
  display: inline-block;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.fader {
  opacity: 0;
}

#dialog-box ul {
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 3.75em;
  bottom: 0;
  margin: 1.25em;
  padding: 1.25em;
  position: absolute;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
}

#dialog-box ul .prompts {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

#dialog-box ul li {
  text-align: center;
  min-width: 50%;
  font-weight: bold;
  display: flex;
  justify-content: center;
  padding: 0 50px;
}

#dialog-box ul li:nth-last-child(1):first-child,
#dialog-box ul li:nth-last-child(1):first-child ~ li {
  width: 100%;
}

#dialog-box ul li:nth-last-child(2):first-child,
#dialog-box ul li:nth-last-child(2):first-child ~ li {
  width: 50%;
}

#dialog-box ul li:nth-last-child(3):first-child,
#dialog-box ul li:nth-last-child(3):first-child ~ li {
  width: 50%;
}

#dialog-box ul li:nth-last-child(4):first-child,
#dialog-box ul li:nth-last-child(4):first-child ~ li {
  width: 50%;
}

#dialog-box ul li:nth-last-child(5):first-child,
#dialog-box ul li:nth-last-child(5):first-child ~ li {
  width: 50%;
}

#dialog-box ul li:nth-last-child(6):first-child,
#dialog-box ul li:nth-last-child(6):first-child ~ li {
  width: 50%;
}

#dialog-box ul li a {
  color: inherit;
  position: relative;
  text-decoration: none;
  display: inline;
}

#dialog-box ul li a.travelled {
  color: grey;
}

#dialog-box ul li a.highlight-option {
  color: green;
}

#dialog-box ul li a::before {
  content: '';
  display: block;
  height: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  width: 0;
}

#dialog-box ul li a::before {
  border-bottom: 0.625em solid transparent;
  border-left: 1.25em solid #000000;
  border-top: 0.625em solid transparent;
  left: 0;
  -webkit-animation: fadeIn 6s linear infinite;
          animation: fadeIn 6s linear infinite;
  position: absolute;
  -webkit-transform: translateX(calc(-100% - 0.625em));
          transform: translateX(calc(-100% - 0.625em));
}

#dialog-box ul li a:hover::before {
  opacity: 1;
  -webkit-animation: none;
          animation: none;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

/**
 * Pages: Homepage
 */
