body, html {font-size: 100%; padding: 0; margin: 0; height: 100%; width: 100%;}
html, html a {font-smooth: always; -webkit-font-smoothing: antialiased !important;}

body{
	background-color: #bf3131;
	font-family: 'Raleway', Arial, sans-serif;
	font-weight: 500;
	color: #eff5f6;
}

* {box-sizing: border-box;}

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

h1 {font-size: 3.8em; font-weight: 500; margin-bottom: 0.2em; margin-top: 0; letter-spacing: 0.06em;}
h2 {font-size: 1.5em; font-weight: 500; margin-bottom: 0.5em; margin-top: 0; letter-spacing: 0.075em;}
h3 {font-size: 1.125em; font-weight: 500; margin-bottom: 3em; margin-top: 0; letter-spacing: 0.075em; text-decoration: underline;}
h4 {font-size: 2.25em; font-weight: 500; padding-top: 2em; margin-bottom: -0.3em; margin-top: 0; letter-spacing: 0.075em;}

hr {height: 3px; color:#eff5f6; margin: 1em 0px; background-color:#ffffff; border: 0; display:inherit;}

#mainnav {position: fixed; padding: 3.5%; z-index: 999;}
#skull {position: absolute; padding: 3.5%; z-index: 998; right: 0px;}
#skull img {min-width: 50px; height: 10vh; min-height: 70px;}
#skull img:hover {
	-ms-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	cursor: pointer;
}

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

nav li {padding-bottom: 25px;}
nav circle {stroke:#eff5f6; stroke-width:5; fill:none; transition: stroke-width 0.5s;}
nav svg {height: 28px; width: 28px;}
nav circle:hover {fill:#eff5f6; stroke-width:10; transition: stroke-width 0.5s;}
#mainnav li.nav-active {background-image:url('../img/hoverblob.png'); background-repeat:no-repeat; background-position: 5px 5px; display: block; transition: background-image 0.5s;}


/* section or page div (100% height size) */
.block {
  text-align: center;
  padding: 0;
}

#page1 {
	display: table;
	height:100%;
	width:100%;
}
#page1-bg-grad {
	position:absolute;
	height: 100%!important;
	width: 100%!important;
	background-color: #bf3131;
	background: -moz-linear-gradient(-45deg, rgba(173,241,0,1) 0%, rgba(191,49,49,1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(173,241,0,1)), color-stop(100%, rgba(191,49,49,1)));
	background: -webkit-linear-gradient(-45deg, rgba(173,241,0,1) 0%, rgba(191,49,49,1) 100%);
	background: -o-linear-gradient(-45deg, rgba(173,241,0,1) 0%, rgba(191,49,49,1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(173,241,0,1) 0%, rgba(191,49,49,1) 100%);
	background: linear-gradient(135deg, rgba(173,241,0,1) 0%, rgba(191,49,49,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#adf100', endColorstr='#bf3131', GradientType=1 );
	-webkit-animation: gradient 1s forwards;
	-moz-animation: gradient 1s forwards;
	animation: gradient 1s forwards;
	-webkit-animation-delay: 0.6s;
	animation-delay: 0.6s;	
}

@-webkit-keyframes gradient {
    0%{opacity: 1.0;}
    100%{opacity: 0.0;}
}
@-moz-keyframes gradient {
    0%{opacity: 1.0;}
    100%{opacity: 0.0;}
}
@keyframes gradient { 
    0%{opacity: 1.0;}
    100%{opacity: 0.0;}
}

#page1-bg-grad2 { 
	position:absolute;
	height: 100%!important;
	width: 100%!important;
	background-color: #bf3131;
	background: -moz-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 25%, rgba(173,241,0,1) 51%, rgba(173,241,0,1) 67%, rgba(191,49,49,1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(191,49,49,1)), color-stop(25%, rgba(173,241,0,1)), color-stop(51%, rgba(173,241,0,1)), color-stop(67%, rgba(173,241,0,1)), color-stop(100%, rgba(191,49,49,1)));
	background: -webkit-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 25%, rgba(173,241,0,1) 51%, rgba(173,241,0,1) 67%, rgba(191,49,49,1) 100%);
	background: -o-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 25%, rgba(173,241,0,1) 51%, rgba(173,241,0,1) 67%, rgba(191,49,49,1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 25%, rgba(173,241,0,1) 51%, rgba(173,241,0,1) 67%, rgba(191,49,49,1) 100%);
	background: linear-gradient(135deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 25%, rgba(173,241,0,1) 51%, rgba(173,241,0,1) 67%, rgba(191,49,49,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf3131', endColorstr='#bf3131', GradientType=1 );
	-webkit-animation: gradient 0.5s forwards;
	-moz-animation: gradient 0.5s forwards;
	animation: gradient 0.5s forwards;
	-webkit-animation-delay: 0.8s;
	animation-delay: 0.8s;
}

#page1-bg-grad3 {
	position:absolute;
	height: 100%!important;
	width: 100%!important;
	background-color: #bf3131;
	background: -moz-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(191,49,49,1)), color-stop(100%, rgba(173,241,0,1)));
	background: -webkit-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 100%);
	background: -o-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 100%);
	background: linear-gradient(135deg, rgba(191,49,49,1) 0%, rgba(173,241,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf3131', endColorstr='#adf100', GradientType=1 );
	-webkit-animation: gradient 0.5s forwards;
	-moz-animation: gradient 0.5s forwards;
	animation: gradient 0.5s forwards;
	-webkit-animation-delay: 1.0s;
	animation-delay: 1.0s;
}

#page1-bg {
	position:absolute;
	height: 100%!important;
	width: 100%!important;	
	background-image:url('../img/bgdot.png');
	background-repeat: repeat;
	-webkit-animation: dotdraw 3.5s ease-in-out forwards;
	-moz-animation: dotdraw 3.5s ease-in-out forwards;
	animation: dotdraw 3.5s ease-in-out forwards;
}

@keyframes dotdraw {
	0% {
		-ms-clip-path: polygon(0 0, 100% 0, 0 0, 0% 100%);
		-moz-clip-path: polygon(0 0, 100% 0, 0 0, 0% 100%);
		-webkit-clip-path: polygon(0 0, 100% 0, 0 0, 0% 100%);
		clip-path: polygon(0 0, 100% 0, 0 0, 0% 100%);
		}

	25% {
		-ms-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
		-moz-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
		-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
		}

	50% {
		opacity: 1.0;
	}

	100% {
		-ms-clip-path: polygon(100% 100%, 100% 0, 100% 100%, 0% 100%);
		-moz-clip-path: polygon(100% 100%, 100% 0, 100% 100%, 0% 100%);
		-webkit-clip-path: polygon(100% 100%, 100% 0, 100% 100%, 0% 100%);
		clip-path: polygon(100% 100%, 100% 0, 100% 100%, 0% 100%);
		opacity: 0;
		}
}

#page2 {display: table; background-color:#595b66; background: linear-gradient(180deg, rgba(36,36,41,1) 0%, rgba(89,91,102,1) 100%); position:relative; min-height:100vh; height:100%; width:100%;}
#page3 {display: table; background-color:#242429; position:relative; min-height:100vh; height: 100%; width:100%;}
#page4 {background-color:#303036; background: linear-gradient(180deg, rgba(25,25,30,1) 0%, rgba(36,36,41,1) 100%); position:relative; width:100%;}
#page5 {background-color:#303036; position:relative; width:100%;}

/* The element to be centered, can
   also be of any width and height */ 
.centered {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

#logo {
	display: table-cell;
	max-width: 580px;
	width: 100%;
	position: relative;
	vertical-align: middle;
}
	
#logo svg {
	width: 90%;
	max-width: 580px;
	height: auto;	
}


/* logo animate left to right */
.stroke {
	animation: fade 0.2s ease-out forwards;
	opacity: 0;
}
.stroke:nth-child(2) {
	animation-delay: 0.3s;
	}
.stroke:nth-child(3) {
	animation-delay: 0.5s;
	}
.stroke:nth-child(4) {
	animation-delay: 0.7s;
	}
.stroke:nth-child(5) {
	animation-delay: 0.9s;
	}

@keyframes fade {
	0% { opacity: 0; }
	100% { opacity: 1; }
}



#about {display: table-cell; text-align:left; width: 100%; vertical-align: middle;}
#about a {text-decoration: underline;}

#aboutcontent {max-width: 80%; padding: 1em 2em 4em 2em; margin-left: auto; margin-right: auto;}
#about-title-sig {text-indent: -7.0vw; margin-bottom: 20px; float: none; }
#about-title-sig img { min-height: 80px; width: 100%;}
#aboutimg {display: inline-block; width: 45%; float: left;}
#aboutimg img {width: 100%; max-width: 645px;}
#abouttext {display: inline-block; width: 55%; padding-left: 10px; padding-top: 4em;}

.bio {font-family: 'Crimson Text', Times New Roman, sans-serif; font-size: 1.125em; font-style: italic; font-weight: 400; letter-spacing: 0.06em; padding-bottom: 0.2em; color: #eff5f6; }

#work hr {text-align:center; margin-top: 3em;}
#clients {width:100%; min-width: 275px; padding:5em 0 0 0;}
#clientswrapper {max-width:60%; min-width: 275px; margin-left: auto;  margin-right: auto;}
#clients img {display: inline;}
#clients hr {margin-bottom: 3em;}

#footer {width:100%; min-width: 275px; padding:0 0 6em 0;}
#footerwrapper {max-width:100%; min-width: 275px; margin-left: auto;  margin-right: auto;}
#bttop {
	position: relative;
	margin-top: 1.5em;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: inline-block;
	padding: 0;
	scale: 1,1;
	transition: all 0.4s ease-in-out;
}
#bttop:hover {-webkit-transform: scale(1.1); transition: all 0.1s ease-in-out;}
#contact {font-size: 1.125em; font-weight: 500; margin: 0; letter-spacing: 0.075em; line-height:2em; margin-bottom: 1.2em;}
#copyright {font-size: 0.875em; font-weight: 300; letter-spacing: 0.15em; margin-top:3em;}
#icons {font-family: "icons"; font-style:normal; text-decoration: none !important;}
	
.centered img {max-width: 100%;}

#workrule {margin-bottom:4.5em;}

#work {
  vertical-align:middle;
  min-width:275px;
  width:100%;
  margin-left: auto;
  margin-right: auto;
}

.work {
  margin-left: auto;
  margin-right: auto;
  }
  
  .iframe-container {
	position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}
 
.iframe-container iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#thumbcontainer {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1100px;
  line-height:0;
  text-align: center;
  padding-bottom: 7em;
}

.thumb {
	display:inline-block;
	position: relative;
	max-width: 25%;
	min-width: 275px;
	width: auto;
	height: auto;
	padding:0;
	margin:0;
	border:0;
}

.thumb img {max-width: 100%; min-width:275px;}

.imgDescription {
	position: absolute;
	max-height: 275px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(36, 36, 41, 0.9);
	color: #ffffff;
	vertical-align: middle;
	text-align: center;
	margin: 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 1.8s, visibility 2s;
	padding-top: 39%;
	padding-left: 20px;
	padding-right: 20px;
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 2em;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: normal;
	cursor: pointer;
}

.thumb:hover .imgDescription {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s, visibility 0.2s;
}

.arrow {
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 5%;
  z-index:999;
  background-image: none;
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
	0% {-ms-transform: scale(1.0); -webkit-transform: scale(1.0); transform: scale(1.0); }
	50% {-ms-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1); }
	100% {-ms-transform: scale(1.0); -webkit-transform: scale(1.0); transform: scale(1.0); }
}

.arrow:hover {
	-webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
     animation-play-state: paused;
}

.arrow a.nav-active {
  background-image: none;
}

.arrow img:hover {
	-ms-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.arrow img {
  width: 75px;
  margin-left: auto;
  margin-right: auto;
  scale: 1,1;
  transition: all 0.4s ease-in-out;
}


@font-face {
  font-family: "icons";
  src: url("../fnt/ico.eot");
  src: local("☺"),
    url("../fnt/ico.woff") format("woff"),
    url("../fnt/ico.otf") format("opentype"),
    url("../fnt/ico.svg#ico") format("svg");
}

figure {
display: block;
-webkit-margin-before: 0;
-webkit-margin-after: 0;
-webkit-margin-start: 0;
-webkit-margin-end: 0;
}



/* Really large screens */
@media screen and (min-width: 2001px) {
	#aboutcontent {width: 60vw; max-width: 60%;}
	#abouttext { padding-top: 7em;}
	.bio {font-size: 1.4em;}
	h1 {font-size: 3.8vw; margin-bottom: 0.2em; letter-spacing: 0.06em;}
	h2 {font-size: 1.5vw; margin-bottom: 0.5em; letter-spacing: 0.075em;}
	h3 {font-size: 1.2vw; margin-bottom: 2em; letter-spacing: 0.075em; text-decoration: underline;}
	h4 {font-size: 2.0vw; padding-top: 1.5em; margin-bottom: -0.3em; letter-spacing: 0.075em;}
	#about-title-sig { text-indent: -5.3vw; }
	#clientswrapper { max-width: 40%; }
}

/* Large screens */
@media only screen and (min-width: 1500px) and (max-width: 2000px) {
	#aboutcontent {width: 70vw; max-width: 70%;}
	#abouttext { padding-top: 6em;}
	#about-title-sig {
		text-indent: -6.2vw;
		margin-bottom: 20px;
		float: none;
		min-height: 80px;
		width: 100%;
	}
}

/* Tablet resolution */
@media only screen and (max-width: 1080px) {
	#mainnav svg {display: none;}
	#aboutcontent { padding: 2em; width: 100%; max-width: 100%;}
	#about-title-sig {
		text-indent: -8.3vw;
		margin-bottom: 10px;
	}
	
}

@media only screen and (max-width: 800px) {
	#logo svg { width: 70%; }
}

/* About section collapse */
@media only screen and (max-width: 640px) {
	#aboutcontent { padding: 0px;}
	#aboutimg { clear: both; width: 100%; margin-left: auto; margin-right: auto; text-indent: -1em; overflow: hidden;}
	#abouttext { width: 100%; clear: both; margin-left: auto; margin-right: auto; padding: 0px;}
	#about-title-sig { display: none !important; }
	#skull { padding: 6%; }
}
@media only screen and (min-width: 641px) {	
	#about-title-text { display: none !important; }
}

@media only screen and (min-width: 401px) and (max-width: 640px) {
	#about { padding: 2em; }
	#aboutimg img { width: 60%; }	
}

/*Small screens*/
@media only screen and (max-width: 400px) {
	#aboutimg img { display: none !important; visibility: hidden; }
	#about { padding: 4em 2em; }
	
}