@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* html5 reset */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; padding: 0; overflow: hidden; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; }
::-moz-selection { background: #0000d2; text-shadow: none; }
::selection { background: #0000d2; text-shadow: none; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
fieldset,img { border: 0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style: normal; font-weight: normal; }
ol,ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; }
abbr,acronym { border: 0; }

/* candy */
body {
	background: #f4f4f4;
	color: #aaaaaa;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 22px;
	line-height: 30px;
	color: #aaaaaa;
	-webkit-font-smoothing: antialiased;
}

p {
	font-weight: 400;
	font-weight: normal;
	font-size: 16px;
	line-height: 33px;
	color: #1f1f23;
}

a, a:active {
	text-decoration: none;
	color: #1f1f23;
}

a:hover { color: #1f1f23; }

h1 {
	color: #1f1f23;
	font-size: 32px;
	font-weight: normal;
}

h2 {
	font-family: "adelle", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 25px;
	font-weight: 700;
	font-style: normal;
	color: #1f1f23;
}

#container {
	position: relative;
	width: 100%;
}

/* header */
header { position: relative; }

#logo-container {
	position: relative;
	top: 432px;
}

#logo {
	position: relative;
	background: transparent url('../images/logo.png') 0 0 no-repeat;
	margin: 0 auto;
	width: 180px;
	height: 129px;
	top: 0;
	left: 0;
	cursor: move;
	z-index: 10;
}

#war {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}

/* master */
#content {
	position: relative;
	margin: 140px auto 0;
	width: 610px;
	z-index: 10;
}

#invoice {
	position: absolute;
	margin: 0;
	left: 20px;
	top: 20px;
}

#pay {
	display: inline-block;
	background: #1f1f23;
	color: #fafae6;
	font-family: "Courier New", Helvetica, sans-serif;
	font-weight: 100;
	font-size: 20px;
	padding: 19px 26px 24px 26px;
	width: 200px;
	margin: 5px;
	border-radius: 6px;
	border: solid rgba(0,0,0,0.2);
	border-width: 1px 1px 5px;
	box-shadow: 0 6px 0 rgba(0,0,0,0.2),inset 0 0 1px rgba(255,255,255,0.2);
	border-bottom-width: 8px;
	cursor: pointer;
	user-select: none;
	transition: 0.4s ease;
}

#pay:hover {
	background: #312c23;
	color: #fefeef;
}

#pay:active {
	transform: translateY(4px);
	box-shadow: 0 4px 0 rgba(0,0,0,0.2), inset 0 0 3px rgba(255,255,255,0.1);
	transition: 0.1s ease;
}

#portfolio {
	position: relative;
	margin: 1500px auto 0;
	width: 610px;
	display: none;
}

.portfolio-item {
	position: relative;
	background: transparent url('../images/browser-frame.png') 0 0 no-repeat;
	width: 610px;
	height: 341px;
	padding: 33px 0 0 0;
	margin: 0 0 30px 0;
	border-bottom: #f0f0f0 solid 6px;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-khtml-border-bottom-right-radius: 4px;
	-khtml-border-bottom-left-radius: 4px;
	-moz-border-bottomright: 4px;
	-moz-border-bottomleft: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

.portfolio-item.port1 {
	height: 1101px;
}

.portfolio-item.port2 {
	height: 1107px;
}

.portfolio-item.port3 {
	height: 881px;
}

.portfolio-item.port4 {
	height: 335px;
}

.portfolio-item.port5 {
	height: 851px;
}

.portfolio-item.port7 {
	height: 757px;
}

.portfolio-item.port8 {
	height: 990px;
}

.portfolio-item.port10 {
	height: 631px;
}

.portfolio-item.port11 {
	height: 2331px;
}

.portfolio-iphone-item {
	position: relative;
	background: transparent url('../images/iphone-frame.png') 0 0 no-repeat;
	width: 536px;
	height: 953px;
	padding: 157px 37px 157px 37px;
	margin: 0 0 100px 0;
}

.portfolio-iphone-item.white {
	background: transparent url('../images/iphone-frame-white.png') 0 0 no-repeat;
}

.spinner {
	position: absolute;
  width: 40px;
  height: 40px;
	margin: 178px auto auto 283px;
  background-color: #333333;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}

#x {
	margin: -85px 0 37px 0;
}

h6 {
	font-family: "adelle", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 500px;
	color: #19191d;
	line-height: 300px;
	text-align: center;
}

@-webkit-keyframes sk-scaleout {
  0% { -webkit-transform: scale(0) }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}

input, textarea, select {
	background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
  background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
  background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
  background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
  background-color: #f5f5f5;
  border: 1px solid #dcdcdc;
  color: #666666;
  padding: 0 0 0 0;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	display: block;
	height: 38px;
  line-height: 25px;
	padding: 0 14px;
	width: 235px;
	margin: 0 0 19px 0;
}

textarea {
	padding: 14px;
	height: 77px;
}

select {
	height: 41px;
	padding: 0 0 0 0;
}

#pong {
	position: fixed;
	background: transparent;
	height: 600px;
	width: 1440px;
	top: 0;
	left: 0;
	display: none;
}

#tetris {
	position: absolute;
	background: transparent;
	height: 100%;
	width: 610px;
	left: 50%;
	margin-left: -600px;
	bottom: 0px;
	display: none;
	z-index: 100;
}

#tetris tbody tr td {
	position: absolute;
	bottom: 0;
}

#tetris div {
	line-height: 0;
}

/* terminal */
#terminal {
	position: relative;
	margin: 517px 0 0 162px;
	padding: 0 10px 10px 10px;
	width: 650px;
	height: 30%;
	overflow-y: scroll;
	font-family: "adelle-sans", FreeMono, monospace;
	font-size: 17px;
	font-weight: 400;
	font-style: normal;
	line-height: 28px;
	color: #1f1f23;
}
.terminal .terminal-output .format, .terminal .cmd .format, .terminal .cmd .prompt, .terminal .cmd .prompt div, .terminal .terminal-output div div { display: inline-block }
.terminal .clipboard {
	position: absolute;
	bottom: 0;
	left: 0;
	opacity: 0.001;
	filter: alpha(opacity = 0.01);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.01);
	width: 2px;
}
.cmd > .clipboard { position: fixed }
.terminal {
	padding: 10px;
	position: relative;
	overflow: hidden;
}
.cmd {
	padding: 0;
	margin: 0;
	height: 1.3em;
	margin-top: 3px;
}
.terminal .terminal-output div div, .terminal .prompt {
	display: block;
	height: auto;
}
/*
.terminal-output div:nth-child(1) {
	font-weight: 700;
}
*/
.terminal .prompt { float: left }
.terminal {
	background-color: transparent;
	font-size: 12px;
	line-height: 14px;
}
.terminal-output > div { padding-top: 3px }
.terminal .terminal-output div span { display: inline-block }
.terminal .cmd span { float: left; }
.terminal .cmd span.inverted {
	background-color: #1f1f23;
	color: #000000;
}
.terminal .terminal-output div div::-moz-selection, .terminal .terminal-output div span::-moz-selection, .terminal .terminal-output div div a::-moz-selection {
	background-color: #0000d2;
	color: #ffffff;
}
.terminal .terminal-output div div::selection, .terminal .terminal-output div div a::selection, .terminal .terminal-output div span::selection, .terminal .cmd > span::selection, .terminal .prompt span::selection {
	background-color: #0000d2;
	color: #ffffff;
}
.terminal .terminal-output div.error, .terminal .terminal-output div.error div { color: #1f1f23; }
.tilda {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 5;
}
.clear { clear: both }
.terminal a { color: #1f1f23; }
.terminal a:hover {
	color: #1f1f23;
	border-bottom: 1px solid #1f1f23;
}
/*
#terminal #input {
	background: #0000d2;
	color: #ffffff;
	padding: 0 0 0 5px;
}
*/

#container {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: hidden;
}

#left {
	position: absolute;
	width: 50%;
	height: 100%;
	padding: 0;
	margin: 0;
	top: 0;
	left: 0;
	overflow: scroll;
	background: #1f1f23;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#right {
	position: absolute;
	width: 50%;
	height: 100%;
	padding: 0;
	margin: 0;
	top: 0;
	right: 0;
	overflow: scroll;
	background: #f7f7f7;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.header {
	position: absolute;
	max-width: 610px;
	width: 100%;
	margin: 440px 0 0 170px;
	padding-top: 40px;
	background-color: #f7f7f7;
  height: 35px;
	z-index: 9;
}

.work {
	position: absolute;
	max-width: 100%;
	max-height: 100%;
	top: 50%;
	left: 50%;
}

@keyframes spin {
	0% {
		-moz-transform: rotate(0deg);
	}

	100% {
		-moz-transform: rotate(360deg);
	}
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@ms-keyframes spin {
	from {
		-ms-transform: rotate(0deg);
	}

	to {
		-ms-transform: rotate(360deg);
	}
}

a {
	color: #aaaaaa;
	text-decoration: none;
}

a:hover {
	color: #ffffff;
}

/* other */
a, a:active { outline: none; }
a:focus, img:focus, #submit:focus, #submit-two:focus { -moz-outline-style: none; }
:focus { outline: none; }
object { border: 0; outline: none; }
.hide { display: none; }
#preload { display: none; }
#phone { display: none; }

/* Large screens */
@media only screen and (min-width : 1824px) {

}

/* Desktops and laptops */
@media only screen and (min-width : 1224px) {

	#logo-container {
    top: 182px;
	}

	.header {
		margin-top: 170px;
	}

	#terminal {
		margin-top: 247px;
		height: 50%;
	}

}

/* mbp */
@media screen and (min-width: 1024px) and (max-width: 1440px) {

}

/* iPads (portrait and landscape) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

	.terminal .clipboard {
	    top: 306px;
	    left: 765px;
	}

	#terminal { display: none; }

}

/* iPads (landscape) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

/* iPads (portrait) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

}

/* Smartphones (portrait and landscape) */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

	#content { width: 100%; }

	#right { display: none;}

	#left { width: 100%; }

	#logo-container { top: 232px; }

	#logo {
		background: transparent url('../images/logo-small.png') 0 0 no-repeat;
		background-size: 108px 81px;
		width: 108px;
		height: 81px;
	}

	#terminal { display: none; }

	#portfolio { display: none; }

	img {
		height: auto !important;
		max-width: 100%;
		width: auto !important;
	}

	.portfolio-item {
		background: transparent url('../images/browser-frame-small.png') 0 0 no-repeat;
		padding: 18px 0 7px 0;
	}

}

/* Smartphones (landscape) */
@media only screen and (min-width : 321px) {

}

/* Smartphones (portrait) */
@media only screen and (max-width : 320px) {

}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1400px) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 600px) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {

	#logo {
		background: transparent url('../images/logo@2x.png') 0 0 no-repeat;
		background-size: 180px 129px;
	}

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 600px) {

	#logo {
		background: transparent url('../images/logo-small@2x.png') 0 0 no-repeat;
		background-size: 108px 81px;
	}

	.portfolio-item {
		background: transparent url('../images/browser-frame-small@2x.png') 0 0 no-repeat;
		background-size: 320px 18px;
	}

}

/* print */
@media print {
	* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}
