@font-face {
	font-family: Kaushan;
	src: url("fonts/KaushanScript-Regular.otf");
}
@font-face {
	font-family: LatoBlack;
	src: url("fonts/Lato-Black.ttf");
}
@font-face {
	font-family: LatoRegular;
	src: url("fonts/Lato-Regular.ttf");
}
@font-face {
	font-family: LatoBold;
	src: url("fonts/Lato-Bold.ttf");
}
@font-face {
	font-family: MonsterratRegular;
	src: url("fonts/Montserrat-Regular.otf");
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

body {
	margin: 0;
	background-color: #eeeeee;
}

#header {
	color: white;
	height: 600px;
	background-image: url("images/head_bg.jpg");
	background-position: center top;
}
#head-container {
	width: 1000px;
	height: 100%;
	margin: 0 auto;
	overflow: hidden;
}
#header-title {
	font-family: Kaushan;
	float: left;
	margin-top: 40px;
	font-size: 30px;
	letter-spacing: 2px;
}
#header-social {
	float: right;
	width: auto;
	height: 38px;
	//background-color: red;
	margin-top: 40px;
}
.icon {
	display: inline-block;
	//background-color: red;
	border-radius: 19px;
	width: 38px;
	height: 38px;
	background-repeat: no-repeat;
	transition: background-image 0.2s ease;
	margin-left: 12px;
}
.VK {
	background-image: url("images/VK.png");
}
.VK:hover {
	background-image: url("images/VKh.png");
}
.FB {
	background-image: url("images/FB.png");
}
.FB:hover {
	background-image: url("images/FBh.png");
}
.Twitter {
	background-image: url("images/twitter.png");
}
.Twitter:hover {
	background-image: url("images/twitterh.png");
}
#header-desc {
	font-family: LatoBlack;
	text-align: center;
	font-size: 40px;
	width: 100%;
	height: auto;
	margin-top: 250px;
	//background-color: red;
	letter-spacing: 3px;
}
#header-desc2 {
	font-family: LatoRegular;
	text-align: center;
	font-size: 20px;
	width: 100%;
	height: auto;
	margin-top: 5px;
   	letter-spacing: 1.2px;
	//background-color: blue;
}
#content {
	margin: 0 auto;
	color: #9b9b9b;
	width: 1000px;
	height: 900px;
	//background-color: red;
}
#content-header {
	box-sizing: border-box;
	padding: 75px 0;
	text-align: center;
	font-family: LatoBold;
	font-size: 20px;
	letter-spacing: 6px;
	width: 100%;
	height: 175px;
	//background-color: green;
}
#gallery {
	font-family: MonsterratRegular;
	font-size: 12px;
	letter-spacing: 0.05em;
	line-height: 17px;
	width: 100%;
	height: 725px;
	//background-color: red;
}
.item {
	overflow: hidden;
	position: relative;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: 235px;
	height: 312px;
}
.last {
	margin-right: 0;
}
.item .photo {
	overflow: hidden;
	width: 100%;
	height: 235px;
	background-color: #c3c2c2;
}
.item .footer {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	height: 77px;
	background-color: white;
	padding: 15px;
	box-shadow: 0px 0px 104px 58px rgba(0,0,0,0.75);
	transition: box-shadow 0.2s ease;
}
.item:hover {
	cursor: pointer;
}
.item:hover .footer {
	box-shadow: 0px 0px 104px 58px rgba(0,0,0,0.9);
}
#contacts {
	overflow: hidden;
	color: #565d64;
	margin-left: auto;
	margin-right: auto;
	width: 1000px;
	height: 500px;
	background-color: white;
}
#contacts .head {
	font-family: LatoBlack;
	margin-top: 135px;
	text-align: center;
	width: 100%;
	//background-color: red;
	font-size: 40px;
	letter-spacing: 3px;
}
#contacts .desc {
	font-family: LatoRegular;
	text-align: center;
	padding: 20px 0;
	width: 100%;
	font-size: 20px;
	//background-color: red;
	line-height: 35px;
	letter-spacing: 1px;
}
#contact-button {
	margin-top: 20px;
	text-align: center;
	width: 100%;
}
#contacts a {
	font-size: 20px;
	font-family: LatoBold;
	letter-spacing: 3px;
	color: white;
	padding: 20px 40px;
	display: inline-block;
	background-color: #565d64;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
#contacts a:hover {
	background-color: #9b9b9b;
}
#footer {
	background-color: white;
	color: #9b9b9b;
	margin: 0 auto;
	text-align: center;
	box-sizing: border-box;
	padding: 37px 0;
	font-family: LatoBold;
	font-size: 15px;
	letter-spacing: 4px;
	width: 1000px;
	height: 90px;
}
#kostil {
	position: absolute;
	width: 100%;
	height: 590px;
	background-color: white;
	z-index: -1;
}
#kostil-line {
	width: 100%;
	height: 1px;
	background-color: #e0e0e0;
}
.likes {
	color: white;
	position: absolute;
	//background-color: red;
	top: 208px;
	padding-left: 15px;
	padding-bottom: 10px;
}
