/*

Colours:

Primary #A180D4 #7253A2 #4D3179 #2E184F
Secondary (1) #C877D0 #94499C #6D2A74 #47134C
Secondary (2) #868BD5 #585EA5 #363B7B #1C2051
Complement #FFF390 #EEE06E #B2A53E #746B1C
Grey: #ececec
*/

/*************************************************
                 Base 
************************************************/

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: local('Orbitron-Light'), local('Orbitron-Regular'), url(https://fonts.gstatic.com/s/orbitron/v7/HmnHiRzvcnQr8CjBje6GQvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

body {
	background-color: #EEE06E;
	color: #4D3179;
	margin: 0px;
	font-family: 'Open Sans', sans-serif;
	font-size: 24px;
}


a.button {

	color: white;
	background: #7253A2;
	background: linear-gradient(to top, #7253A2 0%, #A180D4 100%);
	text-decoration: none;
	padding: 4px 50px 4px 50px;
	border: 1px solid #4D3179;
	border-radius: 15px;

}

a.button:hover {
	background: #7253A2;
	background: linear-gradient(to top, #7253A2 0%, #A180D4 50%);
}

a.button:active {
	background: #7253A2;
	background: linear-gradient(to top, #7253A2 80%, #A180D4 100%);
}


a.linkbutton {
	padding: 5px 20px 5px 20px;
	border: 1px dashed white;
	background: #585EA5;
	color: white;
	box-shadow: 5px 5px 20px #444444;
}

a.linkbutton:hover {
	background: #868BD5;
	text-decoration: none;	
}

/*************************************************
                 Header 
************************************************/

div#header {
	color: white;
	background-color: #7253A2;
	background: linear-gradient(to bottom right, #7253A2, #868BD5);
	height: 152px;
}

div#header img {
	padding: 20px;
}

div#helix {
	background-image: url("/static/blocks.png");	
}

div#gradient {
	height: 152px;
	background: linear-gradient(to bottom right, #7253A2, rgba(0, 0, 0, 0)); /* Standard syntax */
}

/*************************************************
                 footer 
************************************************/

div#footer {
	background: #1C2051;
	color: #ececec;
	font-size: small;
	padding: 20px 80px 20px 80px;
}

div#footer a {
	color: #ececec;
}

div#footer a:visited {
	color: #bbbbbb;
}

div.footer_column {
	
	float: left;
	margin: 20px;
	width: 30%; 
	box-sizing: border-box;
	
}

/*************************************************
				game list
*************************************************/

div.gamelistitem {

	margin: 40px 0px 40px 0px; 
	padding: 20px 10% 20px 10%; 
	background: #ececec; 
	border-top: 8px solid #7253A2; 
	border-bottom: 8px solid #7253A2;
	position: relative;
}

div.gamelistitem h1 {
	font-family: 'Orbitron', sans-serif;
	font-size: 42px;
	font-weight: 400px;
	margin: 5px 0px 10px 0px;	
}

/*************************************************
                 project page 
************************************************/

div.projectpage {
	background-color: #ececec;
	margin: 0;
	padding: 20px 10%;
}

/*************************************************
                 game page 
************************************************/

div.downloadbox {
	
	background: #ececec;
	border-bottom: 8px solid #7253A2;
	border-top: 8px solid #7253A2;
}

@media screen and (min-width: 1400px) {

	div.left_col {
		float: left; 
		width: 50%;
		padding: 0px 80px;
		box-sizing: border-box;
	}

	div.right_col {
		float: right; 
		width: 50%;
	}

}

@media screen and (max-width: 1399px) {
	
	div.gamepage {
		margin-left: 3em;
		margin-right: 3em;
	}

}

div.downloadbox {
	padding: 40px;
	margin-bottom: 40px;
}

div.screenshotbox {
	width: 700px;
	margin: 0px auto 30px auto;
}

div.screenshot {
	box-shadow: 5px 5px 20px #444444;
	margin: 0px auto;
	width: 700px;
}

a#gamelist {
	position: absolute; 
	top: 20px;
	right: 20px;
}

a#gamelist:active {
	top: 24px;
}

/************************************************
			Ribbon
************************************************/

div#ribbon {
	margin-top: 10px;
	margin-bottom: 10px;
	color: #7253A2;
	height: 180px;
	background-image: url("/static/ribbon2.svg");
	position: relative;
}

div#emblem {
	height: 180px;
	width: 180px;
	background-image: url("/static/ribbon1.svg");
	margin-left: 100px;
}

div#emblem img {
	width: 120px;
	height: 120px;
	padding: 30px;
}

div#ribbon h1 {
	
	font-family: 'Orbitron', sans-serif;
	font-size: 42px;
	font-weight: 400px;
	position: absolute;
	top: 46px;
	left: 300px;
}

/********************
	Widgets
*********************/

div.widget
{
	padding: 2em;
	box-sizing: border-box;
}

div.widget-margin div.widget-contents
{
	margin: 30px;
}

div.widget-margin
{
	width: 100%;
	float: left;
	padding: 0px;
	background: #ececec;
	border-bottom: 8px solid #7253A2;
}

div.widget-margin h3
{
	font-weight: 500;
	background-color: #7253A2;
	background: linear-gradient(to bottom right, #7253A2, #868BD5);
	font-size: 21px;
	color: white;
	margin-top: 0px;
	padding: 8px 2px 8px 22px;	
}

/*************************************************
                 Other 
************************************************/

/*
p.date {
	background-color: #8080F0;
	padding-left: 10px;
	font-weight: bold;
}
*/

p.tiny {
	font-size: small;
	font-family: Arial, sans-serif;
	text-align: center;
}

ul.linklist {
	margin: 5px;
	padding: 5px;
	list-style: none;
	white-space: nowrap;
	font-family: Arial, sans-serif;
}

li.lltitle {
	font-weight: bold;
	color: lightgrey;
}

ul.linklist a {
	text-decoration: none;
	color: #FFFF80;
}

li.lltitle a {
	color: white;
}

ul.linklist a:hover {
	text-decoration: none;
	background-color: #808040;
	color: #FFFF80;
}

div.image {
	background-color: inherit;
	width: 320px;
	padding: 10px;
}

div.image p {
	margin: 5px 0px;
	font-weight: bold;
	padding-top: 3px;
	background-color: #E0E080;
}

a.article {
	text-decoration: none;
	font-size: large;
	font-weight: bold;
	color: #FFFF80;
}

a.article:hover {
	background-color: #808040;
}
