/* -------------------------------------------------------------------------------- */
/*	0. CSS Reset
/* -------------------------------------------------------------------------------- */

html, body { margin:0; padding:0;}

h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike, sub, sup, li, ol, ul, fieldset, form, label, legend, button, table, caption, tr, th, td {
	margin:0;
	padding:0;
	border:0;
	font-weight:normal;
	font-style:normal;
	font-size:100%;
	line-height:1;
	font-family:inherit;
	text-align:left;
}

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

ol, ul { list-style:none; }

blockquote:before, 
blockquote:after { content:""; }

a { outline:none; }

input[type=search] {
   -moz-appearance:none;
   -webkit-appearance:none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}


/* -------------------------------------------------------------------------------- */
/*	Document setup
/* -------------------------------------------------------------------------------- */


body {
	margin: 0;
	padding: 0;
	border: none;
	background: #515151;
	color: #515151;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	-webkit-font-smoothing: subpixel-antialiased;
}

body a {
	color: #FFF;
	text-decoration: none;
}

body a:hover {
	color: #FFF;
	text-decoration: none;
}

* { 
	box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
}

img {
	max-width: 100%;
	height: auto;
	/* Kids playing the demo dragged the controls picture off the page (playtest 2026-10-05). */
	-webkit-user-drag: none;
	user-select: none;
}

.hidden { display: none; }
.clear { clear: both; }
.left { float: left; }
.right { float: right; }

::selection {
	background: #515151;
	color: #333;
}

::-webkit-input-placeholder { color: #A9A9A9; }
:-ms-input-placeholder { color: #A9A9A9; }

IMG.keybind, IMG.header-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#facebook,
#twitter     {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    position: relative;
}

/* -------------------------------------------------------------------------------- */
/*	Header
/* -------------------------------------------------------------------------------- */

.header-cover { overflow-y: hidden; }

.header {
	padding: 100px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: no-repeat center;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
}

.header-inner { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
}

/* -------------------------------------------------------------------------------- */
/*	Navigation
/* -------------------------------------------------------------------------------- */

.main-menu {
    text-align: center;
}

.main-menu li {
    display: inline;
    position: relative; 
    list-style-type: none;
    text-align: center;
}
.main-menu > li { 
    display: inline-block;
    margin:0;
    padding:0;
    text-align:center;
}

.main-menu > li:before {
	content: "/";
	display: inline;
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -9px;
	margin-left: -3px;
	font-size: 16px;
	color: lightgrey;
	font-weight: 300;
	/* No z-index (it was 1000): it lifted the slashes over the page's overlays - "Tap to play" showed them through
	   it, with their links hidden (Andrew, 2026-10-09: on the live v0.15 site too).  Positioned, they still draw
	   over their own menu. */
}

.main-menu > li:first-child:before { content: none; }

.main-menu a {
	display: block;
	padding: 27px 20px;
	text-transform: uppercase;
	letter-spacing: 5px;
	color: rgba(255,255,255,0.4);
	font-size: 13px;
}

.main-menu a:hover,
.main-menu .current-menu-item a { color: #515151; }

.main-menu > .has-children a,
.main-menu > .page_item_has_children a { padding-right: 35px; }

.main-menu > .has-children::after,
.main-menu > .page_item_has_children::after {
	content: "";
	display: block;
	border: 5px solid transparent;
	border-top-color: rgba(255,255,255,0.4);
	position: absolute;              /* No z-index, as the slashes above. */
	right: 17px;
	top: 50%;
	margin-top: -2px;
}

.main-menu > .has-children:hover::after,
.main-menu > .page_item_has_children:hover::after { border-top-color: #515151; }

.main-menu li:hover a {
	background-color: #515151;
	cursor: pointer;
}

.main-menu li:hover > a { 
    color: blue; 
}

/* NARROW WINDOWS AND PHONES (v0.17, P4).  The six items need about 860 px on one line; narrower, they wrapped into
   centred lines whose first item carried a stray "/" (the separators are each item's own :before), three lines at
   375 px (the 2026-10-11 browser check, issue 4).  Below that width the menu is a grid of three columns - two rows
   for six items - with no separators, and on a phone the letters and padding tighten so the grid fits. */
@media (max-width: 880px) {
	.main-menu {
		display: grid;
		grid-template-columns: repeat(3, auto);
		justify-content: center;
		padding: 0;
	}
	.main-menu > li:before { content: none; }
}
@media (max-width: 520px) {
	.main-menu a {
		padding: 14px 8px;
		letter-spacing: 2px;
	}
}

/* -------------------------------------------------------------------------------- */
/*	Unity Elements
/* -------------------------------------------------------------------------------- */


div.content {
			margin: auto;
			width: 854px;
}

div.broken,
div.missing {
			margin: auto;
			position: relative;
			top: 50%;
			width: 193px;
}

div.broken a,
div.missing a {
			height: 63px;
			position: relative;
			top: -31px;
}

div.broken img,
div.missing img {
			border-width: 0px;
}

div.broken {
			display: none;
}

div#unityPlayer {
			cursor: default;
			height: 480px;
			width: 854px;
}

a {
    color: #FFF;
}

a:link, a:visited {
			color: #FFF;
}

a:active, a:hover {
			color: #FFF;
}
