/*-------------
 	Fonts
-------------*/

@font-face {
    font-family: 'denseregular';
    src: url('/font/Dense-Regular_cyr-webfont.eot');
    src: url('/font/Dense-Regular_cyr-webfont.eot?#iefix') format('embedded-opentype'),
         url('/font/Dense-Regular_cyr-webfont.woff2') format('woff2'),
         url('/font/Dense-Regular_cyr-webfont.woff') format('woff'),
         url('/font/Dense-Regular_cyr-webfont.ttf') format('truetype'),
         url('/font/Dense-Regular_cyr-webfont.svg#denseregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*-------------
 	Base
-------------*/

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html{
	font: normal 36px "denseregular", "Trebuchet MS", sans-serif;
	color: #fff;
}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;

	opacity: 0.9;
}

a:hover{
	opacity: 1;
}

a.btn{
	color: #fff;
	border-radius: 4px;
	padding:5px;
	margin-top:20px;
	background-color: #ccc;
	text-align: center;
}

hr{
	width:80%;
	border: 0;
	height: 1px;
	background: #333;
	background-image: none;
	background-image: linear-gradient(to right, #fff, #333, #fff);
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 125px 100px;
}

@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: bold 62px "denseregular", "Trebuchet MS", 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
-------------*/

header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	padding: 35px 100px 0;
}

header h2{
	font-family: "denseregular", "Trebuchet MS", sans-serif;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.5);
}

header nav{
	display: flex;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.5);
}

header nav li{
	margin: 0 15px;
	font-weight: bold;
}

header nav li:first-child{
	margin-left: 0;	
}

header nav li:last-child{
	margin-right: 0;	
}



@media (max-width: 1000px){
	header{
		padding: 20px 50px;
	}
	header nav li{
	font-size: 50px;
	
	}

}


@media (max-width: 700px){
	header{
		flex-direction: column;		
	}

	header h2{
		margin-bottom: 15px;
	}
}



/*----------------
 	Main Section
----------------*/

.main{
	position: relative;
	justify-content: center;
	min-height: 100vh;
	color: #fff;
	text-align: center;
}

.main .background-image{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position:50%;
	background-color: #000;
	z-index: -1;
}

.main .background-image:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.1;
}

.main h1{
	font: bold 60px "denseregular", "Trebuchet MS", sans-serif;
	margin-bottom: 15px;
}

.main h3{
	font: normal 48px "denseregular", "Trebuchet MS", sans-serif;
	margin-bottom: 40px;
}

.main a.btn{
	padding: 20px 46px;
}

@media (max-width: 1000px){

	.main{
		min-height: 100vh;
		font-size: 60px;
	}

	.main h1{
		font-size: 80px;
	}

	.main h3{
		font-size: 70px;
	}

	.main a.btn{
		padding: 15px 40px;
	}

}

/*----------------------
 	Services Section
----------------------*/

.services{
	background-color: #fff;
	color:#000;
}

.services .grid li{
	padding: 0 30px;
	flex-basis: 25%;
	text-align: center;
}

.services .grid li h4{
	color: #555;
    font-size: 40px;
    margin-bottom: 25px;
}

.services .grid li p{
    margin: 0;
}

@media (max-width: 1000px){

	.services .grid li{
		flex-basis: 70%;
		margin-bottom: 65px;
	}

	.services .grid li:last-child{
		margin-bottom: 0;
	}

}


@media (max-width: 600px){

	.services .grid li{
		flex-basis: 100%;
	}

}



/*---------------------
 	Contacts Section
---------------------*/

.contacts{
	background-color: #fff;
	color:#000;
}



/*-------------
 	Footer
-------------*/

footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	background-color: #000;
	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;
	}

}
