/* reset css*/
body {
	margin: 0;
}
/* IE */
main {
	display: block;
}
/* fonts */
@font-face {
	font-family: Mariupol;
	src: url(fonts/Mariupol-Regular.woff);
}

@font-face {
	font-family: Mariupol;
	src: url(fonts/Mariupol-Bold.woff);
	font-weight: bold;
}
/* style */
body {
	position: relative;
	display: flex;
	flex-direction: column;
	color: #fff;
	min-width: 960px;
	margin: 0 auto;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	height: 50px;
	background-color: rgba(0, 46, 141, 0.8);
}

nav > .content > a{
	margin: auto;
	padding-bottom: 2px;
}

nav > .content > a:hover{
	cursor: pointer;
	border-bottom: 2px solid #fff;
}

header {
	width: 100%;
	height: 700px;
	background-image: url(img/bg_01.png);
	background-size: cover;
}

header .content article {
	width: 600px;
	background-color: rgba(28, 63, 142, 0.65);
	margin: auto;
	padding: 20px;
	border-radius: 5px;
}

main {
	width: 100%;
}

#apartment {
	width: 100%;
	background-image: url(img/bg_02.png);
	background-size: cover;
}

#apartment .content article {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
	margin: 50px auto;
}

#apartment .content article img {
	width: 472px;
	
}

#apartment .content article h1,
#apartment .content article p {
	width: 380px;
}

#service {
	width: 100%;
	background-image: url(img/bg_03.png);
	background-size: cover;
}

#service .content {
	flex-direction: column;
}

#service .content article {
	display: flex;
	width: 100%;
	color: #000;
	margin: 50px auto;
}

#service .content article div div {
	display: flex;
	justify-content: space-between;
	width: 90%;
}

#contacts {
	width: 100%;
	height: 800px;
	background-image: url(img/bg_04.png);
	background-size: cover;
}

#contacts .content article {
	display: flex;
	justify-content: space-between;
	width: 70%;
	height: 300px;
	margin: 100px auto;
	padding: 20px;
	color: #000;
	background-color: rgba(160, 160, 160, 0.58);
}

footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	background-color: rgba(28, 63, 142, 0.65);
}

#partners .content article {
	margin: 0 auto;
}

#partners .content article h1 {
	text-align: center;
}

#partners a {
	text-decoration: none;
	color: #fff;
}

#partners a:hover {
	border-bottom: 2px solid #fff;
}

#down {
	width: 100%;
	height: 60px;
	text-align: center;
	background-color: rgba(0, 46, 141, 0.8);
}

#scroll_up {
	display: none;
	position: fixed;
	right: 25px;
	bottom: 25px;
	width: 40px;
	height: 40px;
	border: 1px solid #999;
	color: #fff;
	background-color: rgba(0, 46, 141, 0.8);
}

#scroll_up:hover {
	cursor: pointer;
	border: 2px solid #fff;
	text-decoration: underline;
}

.content {
	display: flex;
	width: 960px;
	height: 100%;
	margin: 0 auto;
}

.images {
	display: flex;
}

.images > img {
	margin: auto;
}

h1 {
	font-family: Mariupol, sans-serif;
	font-size: 36px;
	font-weight: bold;
}

p, a {
	font-family: Mariupol, sans-serif;
	font-size: 24px;
}