/*-------------
 	General
-------------*/


@viewport {
width: device-width;
zoom: 1.1;
min-zoom: 0.6;
max-zoom: 2;
}



*{
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	
}

html{
	font: normal 16px optima, sans-serif;
	color: #333;
		background-color: #fff;

}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	opacity: 0.7;
}

a:hover{
	opacity: 1;
	color: sienna;
}

a.btn{
	color: #eee;
	border-radius: 4px;
	text-transform: uppercase;
	background-color: #2196F3;
	font-weight: 300;
	text-align: center;
}

hr{
	width: 150px;
	height: 2px;
	background-color: #666;
	border: 0;
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 25px 20px;

}





@media (max-width: 1000px){

	section{
		padding: 100px 50px;
	}

}

@media (max-width: 600px){

	section{
		padding: 80px 30px;
	}

}

section h3.title{
	color: #414a4f;
	text-transform: capitalize; 
	font: normal 32px 'Optima', sans-serif;
	margin-bottom: 35px;
	text-align: center;
}


section p{
	max-width: 800px;
	text-align: center;
	margin-bottom: 35px;
	padding: 0 20px;
	line-height: 2;
}

ul.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}


/*-------------
 	Header
-------------*/
/* Right hand menu */

.hero header{
	position: absolute;
	top: 20px;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	color: black;
	padding: 45px 100px 10px;
}


.hero header nav{
	display: flex;
		justify-content: center;
}

.hero header nav li{
	margin: 0px 8px 0px;
}

.hero header nav li:first-child{
	margin-right: 0;	
}

.hero header nav li:last-child{
	margin-right: 0;	
}



@media (max-width: 200px){
	header{
		padding: 220px 50px;
	}
}


@keyframes hue-rotate {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
  
}

@-webkit-keyframes hue {
  from {
    -webkit-filter: hue-rotate(0deg);
  }

  to {
    -webkit-filter: hue-rotate(360deg);
  }
}

/* HUE Effect */

.hue {

    -webkit-animation: hue 1.1s infinite;


    /*background-image: -webkit-linear-gradient(0deg ,#f35626 ,#feab3a);
    fill: -webkit-linear-gradient(0deg ,#f35626 ,#feab3a); 
    filter: -linear-gradient(0deg ,#f35626 ,#feab3a);*/
}

@media (max-width: 700px){
	header{
		flex-direction: column;		
	}

	header h2{
		margin-bottom: 0px;
	}
}



/*----------------
 	Hero Section
----------------*/

.hero{
	position: relative;
	justify-content: center;
	min-height: 94vh;

background-position: center;
	color: black;
	text-align: center;
	left: auto;
	
}

.hero .background-image{
	position: absolute;
	
	width: 100%;
	max-height: 600px;
	max-width: 600px;
	height: 100%;
	background-size: 100% 100%;
	background-repeat:no-repeat;
	background-color: #fff;
	z-index: -1;
    animation: hue-rotate 10.7s infinite;
    min-height: 600px;
    opacity: 0.2;
  }



.hero .background-image:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	opacity: .3;
}

.hero h1{
	font: normal 60px 'Optima', sans-serif;
	margin-bottom: 35px;
}

.hero h3{
	font: normal 28px 'Optima', sans-serif;
	margin-bottom: 30px;
}

.hero a.btn{
	padding: 20px 46px;
}

@media (max-width: 800px){

	.hero{
		min-height: 600px;
	}

	.hero h1{
		font-size: 48px;
	}

.hero header h2{
	font-family: 'Optima', sans-serif;
	   font-weight: 400;
}



	.hero h3{
		font-size: 24px;
	}
	.hero h4 {
		font-style: bold;
}
	.hero a.btn{
		padding: 15px 40px;
	}

}
/* ============Animation sequencer=========== 
*/
#logo {
	position: absolute;
	margin-top: 10px;
	margin-left: 550px;
	width: 320px;
	z-index: 209;
}


#logo img {
  position:absolute;
  	animation-name: huerotate;
  left:0;
  -webkit-transition: huerotate 1s ease-in-out;
  -moz-transition: huerotate 1s ease-in-out;
  -o-transition: huerotate 1s ease-in-out;
  transition: huerotate 1s ease-in-out;
  -webkit-filter: blur(100px);
}

/* 

@keyframes logoFadeInOut {
  		20% {
 		 opacity:.8;
	}
		22% {
		opacity:1;
	}
		32% {
		opacity:.9;
	}
		62% {
		opacity:.2;
	}
			42% {
		opacity:.2;
	}
				52% {
		opacity:.1;
	}
				42% {
		opacity:.1;
	}

}
 */

/* 
#logo img.top {
animation-name: logoFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 0s;
animation-direction: alternate-reverse;
border-radius: 999em;
border: 1px solid #000;
z-index: 200;
}
 */


.hue {
  -webkit-animation: hue 2s infinite;
}

@-webkit-keyframes hue {
  0%, 100%  { -webkit-filter: hue-rotate(0deg); }
  100% { -webkit-filter: hue-rotate(360deg); }

}




/*--------------------
 	Our Work Section (images)
---------------------*/

.our-work{
	background-color: #eee; 
}

.our-work .grid li{
	padding: 15px;
	height: 350px;
	border-radius: 5px;
	background-clip: content-box;
	background-size: cover;
	background-position: center;
	background-color: #333;
	
}

.our-work .grid li.small{
	flex-basis: 40%;
}

.our-work .grid li.large{
	flex-basis: 60%;
}


@media (max-width: 1000px){

	.our-work .grid li.small,
	.our-work .grid li.large{
		flex-basis: 40%;
	}

}



/*----------------------
 	Features Section (Research)
----------------------*/

.features{
	background-color: #ddd;
}

.features .grid li{
	padding: 0 10px;
	flex-basis: 33%;
	text-align: center;
}

.features .grid li i{
    font-size: 50px;
    color: #2196F3;
    margin-bottom: 25px;
}

.features .grid li h4{
	color: #555;
    font-size: 20px;
    margin-bottom: 25px;
}

.features .grid li p{
    margin: 0;
}

@media (max-width: 1000px){

	.features .grid li{
		flex-basis: 70%;
		margin-bottom: 65px;
	}

	.features .grid li:last-child{
		margin-bottom: 0;
	}

}


@media (max-width: 600px){

	.features .grid li{
		flex-basis: 100%;
	}

}



/*--------------------
 	Reviews Section
--------------------*/

.reviews{
	background-color: #f7f7f7;
}

.reviews .quote{
	text-align: center;
	width: 80%;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
}

.reviews .author{
    font-size: 18px;
    margin-bottom: 50px;
}

.reviews .author:last-child{
    margin-bottom: 0;
}

@media (max-width: 1000px){

	.reviews .quote{
		font-size: 20px;
	}

	.reviews .author{
	    font-size: 16px;
	}

}



/*---------------------
 	Contact Section
---------------------*/

.contact{
	background-color: #B6BB96;
}

.contact form{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	max-width: 800px;
	width: 80%;
}

.contact form input{
	padding: 15px;
	flex: 1;
	margin-right: 30px;
	font-size: 18px;
	color: #555;
}

.contact form .btn{
	padding: 18px 42px;
}


@media (max-width: 800px){

	.contact form input{
		flex-basis: 100%;
		margin: 0 0 20px 0;
	}

}




/*-------------
 	Footer
-------------*/

footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #000;
	background-color: #414a4f;
	padding: 60px 0;
}

footer ul{
	display: flex;
	margin-bottom: 25px;
	font-size: 32px;
}

footer ul li{
	margin: 0 8px;	
}

footer ul li:first-child{
	margin-left: 0;	
}

footer ul li:last-child{
	margin-right: 0;	
}

footer p{
	text-transform: uppercase;
	font-size: 14px;
	color: rgba(255,255,255,0.6);
	margin-bottom: 10px;
}

footer p a{
	color: #fff;
}

@media (max-width: 700px){

	footer{
		padding: 80px 15px;
	}

}

figure {
    margin: 0;
}





/* -- Demo ads -- */
