@import url('https://fonts.googleapis.com/css?family=Open+Sans|Raleway');

html, body
{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #707070;
}

#gototop
{
	position: fixed;
	right: 50px;
	bottom: 100px;
	display: block;
	width: 50px;
	height: 50px;
	background-color: rgba(0,0,0,0.1);
	text-align: center;
}

#menu-action
{
	display: none;
	position: absolute;
	right: 20px;
	top: 20px;
}

#menu-action img
{
	width: 25px;
}

#gototop img
{
	width: 80%;
	margin-top: 10%;
}

#container
{
	margin-top: 50px;
}

.container-flex
{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}


a, a:hover, a:active, a:visited
{
	text-decoration: none;
}

a:hover
{
	color: #082e6e;
}

header
{
	height: 50px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.9);
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 10;
	border-bottom: 1px solid lightgrey;
}

header #logo
{
	margin-left: 50px;
	height: 80%;
}

header #logo img
{
	height: 100%;
}

header nav, header nav ul, header nav li
{
	height: 100%;
}

header nav ul
{
	display: flex;
	list-style-type: none;
	padding: 0;
	margin: 0;
	margin-right: 100px;
}

header nav ul li {
	margin-left: 75px;
}

header nav ul a 
{
	line-height: 50px;
	color: #707070;
}

section#home
{
	width: 100%;
	height: 650px;
	background-image: url('../img/header.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.home-cta
{
	border: 1px solid #082e6e;
	color: white;
	background-color: #082e6e;
	border-radius: 5px;
    transition: all 1s;
    padding: 10px;
    font-size: 20px;
    width: 180px;
    margin: 5px 15px;
    margin: auto;
	display: block;
	text-align: center;
}

.home-cta:hover
{
	color: #082e6e;
	background-color: white;	
}

h1 
{
	text-align: center;
	font-family: 'Raleway', sans-serif;
	font-variant: small-caps;
	color: white;
	font-size: 55px;
	margin-top: 0;
	padding-top: 150px;
	line-height: 100px;
}

h2
{
	color: #707070;
	overflow: visible;
	margin-bottom: 10px;
	padding-top: 30px;
	text-align: center;
	font-size: 30px;
}

h3
{
	color: #707070;
}

.separator
{
	border-bottom: 4px solid #082e6e;
	width: 50px;
	height: 0;
	margin: auto;
	margin-bottom: 35px;
}

.service
{
	width: 300px;
	margin: 20px;
	border-radius: 15px;
	box-shadow: 7px 7px 10px #dddddd;
	text-align: center;
}

.service img
{
	margin-top: 25px;
	width: 40%;
}

.service p
{
	padding: 30px 15px;
}


.project-container
{
	width: 33%;
	margin: 0;
	padding: 0;
}

.flex-fluid
{
	width: 75%;
	margin: auto;
}

section#portfolio
{
	background-color: #eee;
}

.project
{
	position: relative;
	width: 350px;
	height: 420px;
	margin: 40px auto;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 3px 3px 3px lightgrey;
	max-width: 95%;
}

.project img
{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 0;
	min-height: 100%;
}

.project .project-info
{
	position: absolute;
	top: 10%;
	left: 0;
	background-color: white;
	opacity: 0;
	height: 80%;
	text-align: center;
	transition: opacity 1s;
}

.project:hover .project-info
{
	opacity: 1;
}

.project-info p
{
	padding: 50px;
}

.project-info a
{
	background-color: #082e6e;
	width: 150px;
	display: inline-block;
	text-align: center;
	padding: 10px 0;
	color: white;
	transition: all 1s;
	border: 1px solid white;
}

.project-info a:hover
{
	background-color: white;
	border: 1px solid #082e6e;
	color: #082e6e;
}


section#testimonial
{
	background-color: #082e6e;
	color: white;
}

#testimonial h2
{
	text-align: left;
	font-size: 30px;
	margin-top: 0;
	color: white;
	margin-left: 17.5%;
    margin-bottom: 50px;
}

#testimonial .customer
{
	text-align: center;
	width: 300px;
}

#testimonial .customer a
{
	display: inline-block;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
}

#testimonial .customer a img
{
	width: 100%;
}

#testimonial .customer p
{
	font-style: italic;
}

#testimonial .testimonial-text
{
	font-size: 22px;
	text-align: center;
	width: 65%;
	background: url('../img/quote1.png') no-repeat 0 0/ 50px, url('../img/quote2.png') no-repeat bottom 0 right 0 / 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact label 
{
	display: block;
}

#contact input, #contact textarea
{
	border-radius: 5px;
	border: 1px solid #707070;
	background-color: white;
	transition: all 1s;
	padding: 10px 5%;
	font-size: 20px;
	width: 80%;
	margin: 5px 0;

}

#contact input:hover, #contact textarea:hover, #contact input:focus, #contact textarea:focus
{
	border: 1px solid white;
	background-color: #082e6e;
	color: white;
}

#contact form
{
	min-width: 750px;
	width: 50%;
	margin: auto;
	text-align: center;
}


#contact form .container-flex
{
    justify-content: center;
    width: 95%;
    margin: auto;
}

#contact form .container-flex p
{
	width: 50%;
}

#contact form textarea
{
	height: 200px;
}

#contact form input[type="submit"]
{
	width: auto;
	margin: auto;
	display: block;
	background-color: #082e6e;
	border: 1px solid white;
	color: white;
	cursor: pointer;
}

#contact form input[type="submit"]:hover
{
	border: 1px solid #082e6e;
	color: #082e6e;
	background-color: white;
}

.alert-form
{
	display: none;
	text-align: center;
}

.alert-form img
{
	width: 25px;
	vertical-align: bottom;
}

.submit-part
{
	width: 90%;
}

footer 
{
	background-color: #082e6e;
	height: 100px;
	line-height: 100px;
	text-align: center;
	color: white;
}

footer a
{
	color: lightsteelblue;
}

footer a:hover
{
	color: steelblue;
}


@media all and (max-width: 1000px)
{
	.project-container
	{
		width: 50%;
	}
}

@media all and (max-width: 786px)
{
	#container
	{
		margin-top: 0;
	}
	#testimonial h2
	{
		margin-left: 0;
		text-align: center;
	}

	#testimonial .testimonial-text
	{
		width: 100%;
		padding: 0 17.5%;
	}

	.project-container
	{
		width: 100%;
	}
	
	#contact form
	{
		width: 90%;
		margin: 5%;
		min-width: initial;
	}

	#contact form input, #contact form textarea
	{
		width: 80%;
		padding: 15px 5%;
		margin: 5px 5%;
	}

	#contact form .container-flex
	{
		flex-direction: column;
	}

	#contact form .container-flex p
	{
		width: 100%;
	}

	.submit-part
	{
		width: 100%;
	}

	#menu-action
	{
		display: block;
		z-index: 20;
	}

	#logo
	{
		display: none;
	}

	header {
		background-color: transparent;
		border-bottom: none;
		overflow: visible;
	}

	#main-menu
	{
		display: none;
		background-color: #082e6e;
		width: 250px;
		max-width: 100%;
		position: absolute;
		right: 0;
		top: 0;
		z-index: 10;
		overflow: visible;
		height: auto;
	}

	#main-menu ul a
	{
		color: white;
	}

	#main-menu ul
	{
		flex-direction: column;
	}

	#main-menu ul li
	{
		height: auto;
	}
}