@font-face {
	font-family: 'feathericons';
	src: url('../fonts/feathericons/feathericons.eot') format('embedded-opentype'),
		 url('../fonts/feathericons/feathericons.woff') format('woff'),
		 url('../fonts/feathericons/feathericons.ttf') format('truetype'),
		 url('../fonts/feathericons/feathericons.svg') format('svg');
}
.grid {
	position: relative;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	width: 48%;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}
body
{
	font-family: 'feathericons', Helvetica, Arial, sans-serif;
	font-size: 12pt;
	line-height: normal;
	background: white;
}


p, li
{
	margin-bottom: 20px;
}

 #header h1
{
	font-size: 1.3em;
	color: black;
	/*float: left;*/
	margin-left: 10px;
	margin-top: 2px;
	background-color: whitesmoke;
	padding: 2%;
	display: inline-block;
}



	#logo img 
	{
		margin-left: 10px;
	} 

h2.title
{
	display: inline-block;
	font-size: 1.5em;
    font-weight: 400;
	color: rgba(28, 23, 60, 1);
	text-align: left;
	margin-top: 20px;
}

h3
{
	font-weight: 400;
}

.wrapper
{
	width: 80%;
	height: auto;
	text-align: justify;
	margin: 0 auto;
	z-index: 1;
	background: white;
}

#header
{
	-webkit-transform: translateZ(0);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-height: 75px;
	height: auto;
	z-index: 10;
	background: rgb(28,23,60); 
}
		
#navigation
{
	margin-right: 7%;
	width: auto;
	float: right;
	display: inline-block;
}

#toggle
{
	display: none;
}
		
#navigation ol
{
	display: inline-block;
  	width: 500px;
	padding-top: 2.5%;
	border-radius: 20px;
  	border-top-left-radius: 1px;
  	border-bottom-right-radius: 1px;
	background-color: whitesmoke;
}
				
#navigation ol li
{
	margin-left: 40px;
	padding: 1.5%;
	font-size: 1em;
	display: inline-block;
	color: rgb(57, 62, 95);
}
				
#navigation ol li a
{
	font-size: 1em;
	color: #404040;
	text-decoration: none;
	transition: color 0.2s, font-size 0.2s;
}
				
#navigation ol li a:hover
{
	color: #454698;
	font-size: 1.3em;
}

#home_content{padding-top: 150px;}

#work_content
{
	width: 100%;
	float: left;
	padding-top: 120px;
}

/*add hover effect to work list content to add descriptions*/
#list
{
	width: 100%;
	float: left;
}


/*Ruby*/
figure.effect-ruby {
	background-color: #17819c;
}

figure.effect-ruby img {
	opacity: 0.7;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

figure.effect-ruby:hover img {
	opacity: 0.5;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-ruby h2 {
	margin-top: 20%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-ruby p {
	margin: 1em 0 0;
	padding: 3em;
	border: 1px solid #fff;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0) scale(1.1);
	transform: translate3d(0,20px,0) scale(1.1);
} 

figure.effect-ruby:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-ruby:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1);
}	


*, *:after, *:before {-webkit-box-sizing: border-box;box-sizing: border-box;}
.clearfix:before, .clearfix:after { display: table; content: ''; }
.clearfix:after { clear: both; }
				
a img
{
	width: 100%;
	height: auto;
}

fieldset{
	width: 50%;
	overflow: hidden;
}
								
#contact_content 
{
	width: 100%;
	padding-top: 120px;
	display: inline-block;
}

#about_content
{
	padding-top: 120px;
}

#contact_content form ul
{
	padding: 0px 10px 0px 10px;
}

#contact_content form ul li
{
	margin-bottom: 20px;
	list-style: none;
}

#contact_content form
{
	margin: 2%;
}

#contact_content form ul li label
{
	width: 100%;
	display: none;
}


#contact_content form input
{
	width: 100%;
	padding: 5px;
}

#contact_content form input[type="submit"] {

	border-radius:3px;
    -webkit-border-radius: 3px;
}

#contact_content form textarea
{
	width: 100%;
    padding: 5px;
	font-family: 'feathericons', sans-serif;
	vertical-align: top;
}

#contact_content form input#submit
{
	width: 100%;
	height: 50px;
    margin-bottom: 20px;
}
#contact_content ol li
{
	margin-left: 100px;
	font-size: 1em;
}

footer
{
	background-color: rgba(28, 23, 60, 1);
	width: 100%;
	max-height: 200px;
	display: inline-block;
}
footer ul li
{
	display: inline-block;
	color: white;
	margin-top: 1%;
	vertical-align: middle;
}
footer ul li a
{
	text-decoration: none;
	color: white;
	margin-left: 10px;
}
footer ul li a img
{
	width: 50px;
}
footer ul li a:hover
{
	cursor: pointer;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

#img-one
{
	background: url(../images/code.jpeg) no-repeat;
	background-position: right;
	background-size: cover; 
	background-attachment: fixed;
	width: 100%;
	height: 450px;
	display: block; 
}
#img-two
{
	background: url(../images/desk.jpg) no-repeat;
	background-position: top;
	background-size: cover; 
	background-attachment: fixed;
	width: 100%;
	height: 500px;
	display: block; 
}

#img-two ul
{
	margin-top: 3%;
	width: 100%;
	float: left;
	opacity: 0.95;
	height: auto;
	display: block;
}
#img-two ul li
{
	float: left;
	width: 25%;
	list-style: none;
}
#img-two ul li img
{
	width: 100px;
	height: auto;
	display: block;
	margin: 0 auto;
}

#img-two ul li a
{
	text-decoration: none;
	color: black;
	background: whitesmoke;
	transition: color 0.5s, font-size 0.5s;
}
#img-two ul li a:hover
{
	color: #454698;
	font-size: 1.3em;
}
#logo img
{
	width: 50px;
}
@media screen and (max-width: 1080px)
{
	
		#navigation ol
		{
			  width: 140px;
			  display: none;
		}
		
		#navigation ol li
		{
			  width: 70px;
		}
		
		#logo img
		{
			width:  50px;
		}
		
		#toggle
		{
			  width: 70px;
			  position: fixed;
			  top: 20px;
			  right: 30px;
			  display: block;
		}
		
		#navigation ol li
		{
			margin-left: 10px;
			margin-top: 10px;
		}		
}
@media screen and (max-width: 970px)
{
	/*change this to work with hover effects*/
	fieldset
	{
		width: 80%;
		height: 477px;
	}
}
@media screen and (max-width: 622px)
{
	#navigation ol
	{
		  width: 120px;
		  display: none;
	}
	fieldset
	{
		height: 530px;
	}
	
	#img-two ul li
	{
		display: inline-block;
		width: 40%;
		list-style: none;
	}
	
		#img-two ul li img
		{
			width: 80px;
			height: auto;
			display: block;
			margin: 0 auto;
		}
		
}

@media screen and (max-width: 540px)
{
		
		.wrapper
		{
			width: 93%;
		}
		
		h1
		{
			font-size: 1.2em;
			width: 100px;
		}
		/*change this to work with hover effects*/
		#list 
		{
			width: 90%;
			display: block;
		}
		#navigation ol
		{
			  width: 120px;
			  display: none;
		}
		
		fieldset
		{
			height: 530px;
		}
		#contact_content form input
		{
			width: 200px;
			padding: 5px;
		}
		
		#contact_content form textarea
		{
			width: 200px;
			height: 150px;
			padding: 5px;
			resize: none;
			font-family: 'feathericons', sans-serif;
			vertical-align: top;
		}
		
		#contact_content form input#submit
		{
			width: 80px;
			height: 50px;
		}
		#contact_content ol li
		{
			margin-left: 100px;
			font-size: 1em;
		}
		#toggle
		{
			 width: 50px;
		}					
}

@media screen and (max-width: 400px)
{
	#toggle
	{
		 width: 50px;
	}
}

