html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */

}
body {
	color: #404040;
	background: #EBEBE6;
	font-family: 'LatoRegular',arial,helvetica,sans-serif;
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6, b, strong {
	font-weight: normal;
}

a {
	color: tomato;
	text-decoration: none;
	-webkit-transiton: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a img {
	border: 0;
}

a:hover {
	color: orange;
}

img {
	vertical-align: middle;
}

::-moz-selection {
	background: salmon;
	color: #fff; 
}

::selection {
	background: salmon;
	color: #fff;
}

#wrapper {
	padding: 10px 20px;
	box-sizing: border-box;
}

#wrapper,
.project-viewer {
	/*min-width: 700px; 
	 max-width: 1900px; */
}

#header {
	display: table;
	width: 100%;
	/*min-width: 700px;*/
}

#header a {
	color: #404040;
}

#logo {
	font-family: 'Embryo',arial,sans-serif;
	text-transform: lowercase;
	font-size: 36px;
}

/*#logo a .letter {
-webkit-transition: all .3s cubic-bezier(0.785, 0.135, 0.150, 0.860); 
   -moz-transition: all .3s cubic-bezier(0.785, 0.135, 0.150, 0.860); 
    -ms-transition: all .3s cubic-bezier(0.785, 0.135, 0.150, 0.860); 
     -o-transition: all .3s cubic-bezier(0.785, 0.135, 0.150, 0.860); 
        transition: all .3s cubic-bezier(0.785, 0.135, 0.150, 0.860); 
        position: relative;
        top: 0;
}

#logo a:hover .letter {
	top: -20px;
}

#logo a .first .b,
#logo a:hover .first .b {
	-webkit-transition-delay: 0s;
	-moz-transition-delay: 0s;
	transition-delay: 0s;
}

#logo a .first .e,
#logo a:hover .first .e {
	-webkit-transition-delay: .025s;
	-moz-transition-delay: .025s;
	transition-delay: 0.025s;
}

#logo a .first .c,
#logo a:hover .first .c {
	transition-delay: 0.05s;
}

#logo a .first .k,
#logo a:hover .first .k {
	-webkit-transition-delay: 0.075s;
	-moz-transition-delay: 0.075s;
	transition-delay: 0.075s;
}


#logo a .first .y,
#logo a:hover .first .y {
	-webkit-transition-delay: 0.1s;
	-moz-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

#logo a .last .a,
#logo a:hover .last .a {
	-webkit-transition-delay: 0.125s;
	-moz-transition-delay: 0.125s;
	transition-delay: 0.125s;
}

#logo a .last .i,
#logo a:hover .last .i {
	-webkit-transition-delay: 0.15s;
	-moz-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

#logo a .last .k,
#logo a:hover .last .k {
	-webkit-transition-delay: 0.175s;
	-moz-transition-delay: 0.175s;
	transition-delay: 0.175s;
}

#logo a .last .e,
#logo a:hover .last .e {
	-webkit-transition-delay: 0.2s;
	-moz-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

#logo a .last .n,
#logo a:hover .last .n {
	-webkit-transition-delay: 0.225s;
	-moz-transition-delay: 0.225s;
	transition-delay: 0.225s;
}*/

#logo,
#nav {
	display: table-cell;
	vertical-align: middle;
	width: 50%;
}

#nav {
	text-align: right;
	font-family: 'EmbryoTiny',helvetica,arial,sans-serif;
}

#nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#nav li {
	display: inline-block;
	*display: inline;
	zoom:1;
	margin: 0 20px;
	text-transform: lowercase;
	font-size: 24px;
}

#nav li:last-of-type {
	margin-right: 0;
}

#nav a {
	-webkit-transiton: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: rgba(64, 64, 64, 0.4);
}

#nav a:hover,
#nav .active a:hover {
	color: tomato;
}

/* Nav Fun 
#nav .about a span {
	transition: all 0.1s ease-in-out;
}

#nav .about a .a,
#nav .about a:hover .a {
	transition-delay: 0s;
}

#nav .about a:hover .a {
	color: orange;
}

#nav .about a .b,
#nav .about a:hover .b {
	transition-delay: 0.025s;
}

#nav .about a:hover .b {
	color: tomato;
}

#nav .about a .o,
#nav .about a:hover .o {
	transition-delay: 0.05s;
}

#nav .about a:hover .o {
	color: #ff6666;
}

#nav .about a .u,
#nav .about a:hover .u {
	transition-delay: 0.075s;
}

#nav .about a:hover .u {
	color: #ff6699;
}

#nav .about a .t,
#nav .about a:hover .t {
	transition-delay: 0.1s;
}

#nav .about a:hover .t {
	color: #cc33cc;
} */

#nav .active a {
	color: #404040;
}

#footer {
	padding: 10px;
	font-size: 10px;
	color: rgba(64, 64, 64, 0.4);
}

/* Beep Boop */
.old-browser {
	/*background: indigo;*/
	background: #404040;
	padding: 20px;
	color: #EBEBE6;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 500;
	display: none;
}

.lt-ie8 .old-browser {
	display: block;
}

.old-browser .inner-wrap {
	width: 800px;
	margin: 0 auto;
	padding-left: 120px;
	background: left top transparent url(/images/boo.png) no-repeat;
}

.old-browser .browser-message,
.old-browser .browsers {
	display: inline-block;
	*display: inline;
	zoom:1;
	vertical-align: top;
	width: 48%;
}

.old-browser .browser-message h2 {
	
}

.old-browser h2 {
	font-family: 'EmbryoTiny',arial,sans-serif;
	text-transform: uppercase;
	font-size: 60px;
	line-height: 1;
	margin: 0;
}

.old-browser a {
	color: #FF66CC;
}

.old-browser a:hover {
	text-decoration: underline;
}

.old-browser .browser-message a {
	cursor: help;
}

.old-browser p {
	margin: 0;
	line-height: 1.4;
}

.old-browser ul {
	margin: 0;
	padding: 0;
	text-align: center;
}

.old-browser li {
	display: inline-block;
	*display: inline;
	vertical-align: bottom;
	width: 90px;
}

.old-browser li a {
	display: block;
	background: center top transparent url(/images/browsers.png) no-repeat;
	width: 90px;
	height: 75px;
	padding-bottom: 20px;
	position: relative;
}

.old-browser li .name {
	display: none;
}

.old-browser .chrome a {
	background-position: center 10px;
}

.old-browser .firefox a {
	background-position: center -124px;
}

.old-browser .safari a {
	background-position: center -260px;
}

.old-browser .ie a {
	background-position: center -388px;
}

.old-browser a .favorite {
	position: absolute;
	left: 0;
	bottom: 0;
	font-size: 11px;
	text-transform: uppercase;
	right: 0;
	text-align: center;
	font-family: 'LatoBold',arial,sans-serif;
	padding: 4px;
	background: #FF66CC;
	color: #fff;
}

.sparkle {
	opacity: 0;
}

@-webkit-keyframes sparkle {
  0%   { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@-moz-keyframes sparkle {
  0%   { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes sparkle {
  0%   { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

#logo a:hover .sparkle {
	-webkit-animation: sparkle .5s infinite;
	-moz-animation: sparkle .5s infinite;
	animation: sparkle .5s infinite;
}

#logo a:hover .sparkle.a {
	-webkit-animation-delay: .1s;
	-moz-animation-delay: .1s;
	animation-delay: .1s;
}

#logo a:hover .sparkle.b {
	-webkit-animation-delay: .3s;
	-moz-animation-delay: .3s;
	animation-delay: .3s;
}

#logo a:hover .sparkle.c {
	-webkit-animation-delay: .4s;
	-moz-animation-delay: .4s;
	animation-delay: .4s;
}

#logo a:hover .sparkle.d {
	-webkit-animation-delay: .2s;
	-moz-animation-delay: .2s;
	animation-delay: .2s;
}

#logo a {
	position: relative;
	display: inline-block;
}

.sparkles {
	position: absolute;
	left: 205px;
	top: -15px;
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
}

.sparkles.left {
	margin-right: 230px;
}

.sparkle {
	position: absolute;
}

.sparkle-top,
.sparkle-bottom {
	background: #404040;
	display: block;
	width: 20px;
	height: 10px;
	position: relative;
}

.sparkle-top:before,
.sparkle-top:after,
.sparkle-bottom:before,
.sparkle-bottom:after {
	content: "";
	background: #EBEBE6;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	position: absolute;
}

.sparkle-top:before {
	left: -10px;
	top: -10px;
}

.sparkle-top:after {
	top: -10px;
	right: -10px;
}

.sparkle-bottom:before {
	bottom: -10px;
	left: -10px;
}

.sparkle-bottom:after {
	bottom: -10px;
	right: -10px;
}

.right .sparkle.a {
	-webkit-transform: scale(1.5);
	-moz-transform: scale(1.5);
	transform: scale(1.5);
	top: 30px;
	left: -10px;
}

.right .sparkle.b {
	top: 10px;
	left: 50px;
	-webkit-transform: scale(0.6);
	-moz-transform: scale(0.6);
	transform: scale(0.6);
}

.right .sparkle.c {
	left: 30px;
	top: 50px;
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	transform: scale(1.3);
}

.right .sparkle.d {
	left: 80px;
	top: 20px;
	-webkit-transform: scale(0.4);
	-moz-transform: scale(0.4);
	transform: scale(0.4);
}

@media (max-width: 600px) {
	.sparkles {
		display: none;
	}
}

@media (max-width: 568px) {
	#logo {
		font-size: 28px;
	}
	
	#nav li {
		font-size: 18px;
		margin: 0 5px;
	}
	
	#logo, #nav {
		width: auto;
	}
}

@media (max-width: 767px) {
	#wrapper {
		padding: 10px;
	}
}

/*@media only screen and (orientation: landscape) {
	#logo {
		font-size: 18px;
	}
	
	#nav li {
		font-size: 12px;
		margin: 0 5px;
	}
	
	#logo, #nav {
		width: auto;
	}
}*/
