@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Open+Sans:300,300i,400,400i,600,700&display=swap&subset=cyrillic');

html {
	font-family: 'Montserrat', sans-serif;
	line-height: 1.15;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

* {
	max-width: 100%;
}
main, footer {
	max-width: 1200px;
	margin: 0 auto;
}
header {
    position: fixed;
	left: 50%;
    top: 0;
    width: 600px;
    height: 60px;
	margin: 0 0 0 -600px;
	box-sizing: border-box;
}
@media screen and (max-width: 1220px) {
	header {
		left: 0;
		margin: 0;
	}
}
header.open {
    z-index: 2;
}
header nav {
	position: relative;
    width: 360px;
	background-color: #FFF;
	cursor: pointer;
}
header nav:before {
    content: " ";
    display: block;
	float: left;
    width: 30px;
    height: 30px;
    padding: 15px;
    background-image: url('assets/images/burger.svg');
	background-repeat: no-repeat;
	background-position: center;
}
header.open nav {
    max-height: 100vh;
    overflow-y: auto;
	color: #FFF;
	background-color: #000;
}
header.open nav:before {
    background-image: url('assets/images/cross.svg');
}
header.open.always nav {
	cursor: auto;
}
header.open.always nav:before {
    background-image: none;
}
header nav p {
    height: 60px;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 0 0 0;
}
header nav a {
    display: none;
	padding: 10px 10px 10px  60px;
    font-size: 22px;
	font-weight: bold;
	color: #FFF;
	text-decoration: none;
	background-color: #000;
}
header nav a span {
    font-size: 14px;
}
header nav a:hover {
	text-decoration: underline;
}
header.open nav a {
    display: block;
}
header nav a span {
	display: block;
}
header nav a span.years {
    font-weight: normal;
    line-height: 22px;
}
header.open nav a.about {
    padding: 10px 10px 40px 60px;
}
header nav hr {
    display: none;
    margin: 40px 20px 0 60px;
    border: 1px solid #FFF;
}
header.open nav hr {
	display: block;
}
main {
    font-size: 0;
    padding-top: 60px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 12px 0 0 0;
    padding: 0;
}
h5 {
	font-style: italic;
}
p {
    margin: 6px 0 22px 0;
}
hr {
    margin: 0 0 40px 0;
}
main div {
    display: inline-block;
    font-size: 16px;
    vertical-align: top;
}
div.left {
    width: 30%;
    max-width: 360px;
    box-sizing: border-box;
    padding: 0 0 0 60px;
}
div.left h3 {
    margin-top: 2px;
}
div.left .description {
	font-style: italic;
}
div.right {
    width: 70%;
    box-sizing: border-box;
    padding: 0 0 0 40px;
}
main div.right {
    margin-left: 30%;
}
main div.left {
    position: fixed;
}
footer div.right {
    float: right;
    padding: 40px;
}
footer div.right a {
    margin-right: 9px;
    vertical-align: middle;
}
.author {
    line-height: 24px;
}
.author h1 {
    line-height: 40px;
}
.author:before {
    content: " ";
    display: block;
    float: left;
    width: 30%;
    height: 320px;
    margin: 0 20px 0 0;
    background-image: url(assets/images/r-sulima-d.jpg);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}
footer div.right a:last-child img {
    object-fit: cover;
    object-position: 100% 0;
    border-radius: 50%;
}
footer div.right a img {
    width: 50px;
    height: 50px;
}

@media screen and (max-width: 800px) {
	header {
		width: 100%;
	}
	header nav {
		width: 100%;
	}
	.author {
		overflow: hidden;
	}
	.author:before {
		width: 100vw;
		height: 66.625vw;
		margin: 0 0 20px -10px;
		background-image: url(assets/images/r-sulima-m.jpg?);
		background-position: left;
	}
	div.left, div.right {
		width: 100%;
		padding: 0 10px;
	}
	main div.right {
		margin-left: 0;
	}
	main div.left {
		position: static;
	}
	footer div.left {
		display: none;
	}
	footer div.right {
		text-align: right;
		float: none;
		padding: 40px 10px 10px 10px;
		line-height: 29px;
	}
	footer div.right a {
		float: left;
		margin-right: 5px;
		margin-top: -10px;
	}
}