@font-face {
	font-family: 'ar_julianregular';
	src: url('../fonts/arjulian.woff2') format('woff2'),
	url('../fonts/arjulian.woff') format('woff'),
	url('../fonts/arjulian.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

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

html, body{
    min-width: 100%;
    width: 100%;
    max-width: 100%;

    min-height: 100%;
    height: 100%;
    max-height: 100%;
}

/* End Reset */

body {
	font-family: 'ar_julianregular';
	background: linear-gradient(#000, #222);
    background-repeat: no-repeat;
    background-attachment: fixed;
	font-size: 1em;
	position: relative;
	text-align: center;
	color: #fff;
}

#logo {
	margin: 20px auto 0;
	position: relative;
	width: 70%;
	max-width: 1100px;
}

.content, footer{
	margin: 15px auto;
	position: relative;
	width: 80%;
	max-width: 1400px;
}

footer {
	display: block;
	position: relative;
	bottom: 0px;
	text-align: right;
	clear: both;
}

h1 {
	font-size: 2.6rem;
	font-weight: bold;
}

h2 {
	font-size: 2.2rem;
	font-weight: bold;
}

h3 {
	font-size: 1.8rem;
	font-weight: bold;
}

h4 {
	font-size: 1.4rem;
	font-weight: bold;
}

.text {
	padding: 10px;
	margin-top: 10px;
	font-size: 1.1rem;
}

.mainBorder {
	box-sizing: border-box;
	border: 25px solid transparent;
	border-image: url(../img/border.png) 30 round;
}


a{
	text-decoration: none;
}

nav {
	vertical-align: text-top;
	z-index: 99;
	text-align: right;
	top: 50%;
	right: 0;
	position: fixed;
	transform: translateY(-50%);
	width: 100px;
}

nav span {
	display: inline-block;
	white-space: nowrap;
	writing-mode: vertical-rl;
	/* -webkit-transform: translate(1.1em, 0) rotate(90deg);
	-moz-transform: translate(1.1em, 0) rotate(90deg);
	-o-transform: translate(1.1em, 0) rotate(90deg);
	transform: translate(1.1em, 0) rotate(90deg);
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-o-transform-origin: 0 0;
	transform-origin: 0 0;
	-ms-transform: none;
	-ms-transform-origin: none; */
	color: #000;
}

nav span:before {
	display: none;
	content: "";
	float: none;
	margin-top: 0;
}

nav a {
	height: 100%;
	font-size: 1.2rem;
	margin-top: 0px;
	display: inline-block;
	text-align: left;
	overflow: hidden;
	width: 50px;
	padding: 2px 2px 0 2px;
	transition: all 1s;
	border: 3px solid #000;
	border-right: 0px; 
	/* background: radial-gradient(
		circle at top right,
		#d09f5d 20%,
		#996F37 80%
	  ); */

	background: #d09f5d;
	background: -moz-linear-gradient(45deg, #996f37 20%, #d09f5d 25%);
	background: -webkit-linear-gradient(45deg, #996f37 20%,#d09f5d 25%);
	background: linear-gradient(45deg, #996f37 20%,#d09f5d 25%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#996f37', endColorstr='#d09f5d',GradientType=1 );
}

nav a:hover {
	padding-left: 20px;
	width: 50px;
}

nav .active {
	font-weight: bold;
	font-size: 1.4rem;
	padding-left: 20px;
	width: 50px;
}

.text > img{
	max-width: 100%;
}

.games .content > img{
	width: 100%;
	max-width: 460px;
}

.contact > .textfield, .contact > .messagefield{
	border: 0px;
	background-color: #ccc;
	font-family: 'ar_julianregular';
	padding: 5px;
	font-size: 1.1rem;
	margin: 10px auto 0;
	display: block;
	width: 40%;
}

.contact > .messagefield{
	height: 100px;
	resize: none;
}

.contact > .submit{
	cursor: pointer;
	font-family: 'ar_julianregular';
	margin-top: 10px;
	background: #d09f5d;
	background: -moz-linear-gradient(45deg, #996f37 20%, #d09f5d 25%);
	background: -webkit-linear-gradient(45deg, #996f37 20%,#d09f5d 25%);
	background: linear-gradient(45deg, #996f37 20%,#d09f5d 25%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#996f37', endColorstr='#d09f5d',GradientType=1 );
	border: 3px solid #000;
	font-size: 2rem;
}

.wow { visibility: hidden; }

/* FOR RESPONSIVE LATER */
/*
	-Menu: lateral max 660px width && 420px height
	-Class .content && footer: Width 90% on < 660px width / Width 80% on > 660px width
*/
@media all and (max-width:660px){
	.content, footer{
		width: 90%;
	}
}

@media all and (max-width:660px), screen and (max-height: 420px){
	#logo{
		margin-top: 50px;
	}

	nav {
		text-align: center;
		top: 0;
		left: 0;
		position: fixed;
		transform: none;
		width: 100%;
	}
	
	nav span {
		display: inline-block;
		white-space: nowrap;
		-webkit-transform: none;
		-moz-transform: none;
		-o-transform: none;
		transform: none;
		color: #000;
	}
	
	nav span:before {
		content: "";
		float: left;
		margin-top: 0;
	}
	
	nav a {
		font-size: 1.2rem;
		margin-top: 0px;
		display: inline-block;
		text-align: center;
		overflow: hidden;
		width: auto;
		padding: 2px 0 2px;
		transition: all 1s;
		border-right: 3px solid #000;
		border-top: 0px; 
		/* background: radial-gradient(
			circle at top right,
			#d09f5d 20%,
			#996F37 80%
		  ); */
	
		  background: #d09f5d;
		  background: -moz-linear-gradient(45deg, #996f37 20%, #d09f5d 25%);
		  background: -webkit-linear-gradient(45deg, #996f37 20%,#d09f5d 25%);
		  background: linear-gradient(45deg, #996f37 20%,#d09f5d 25%);
		  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#996f37', endColorstr='#d09f5d',GradientType=1 );
	}
	
	nav a:hover {
		padding: 0 0 20px;
		width: auto;
	}
	
	nav .active {
		font-weight: bold;
		font-size: 1.4rem;
		padding-left: 0;
		width: auto;
	}
}