
body {
	font-family: "roboto slab", serif;
	font-size: 16px;
	line-height: 25px;
}
@media (max-width: 500px) {
	body {
		line-height: 24px;
	}
}

a {
	color: black;
	text-decoration: none;
	border-bottom: 1px #aaa solid;
}
a:hover {
	border-bottom: 1px #000 solid;
}

h1 {
	position: absolute;
	left: 0;
	top: 0;
	font-size: 8px;
	color: #fcfcfc;
}

hr {
	border: 0;
	height: 1px;
	background: #ddd;
}

img {
	border: 0;
}

p {
	margin: 15px 0;
}
@media (max-width: 500px) {
	p {
		margin: 12px 0;
	}
}

.h {
	font-weight: bold;
}

#top-left-img {
	position: absolute;
	left: 40px;
	top: 40px;
	background: white;
	padding: 4px;
	border-radius: 6px;
	box-shadow: 0 0 7px rgba(0,0,0,0.3);
	transition: all 0.7s ease;
}
@media (max-width: 900px) {
	#top-left-img {
		left: 3px;
	}
}
@media (max-width: 825px) {
	#top-left-img {
		display: inline-block;
		float: left;
		margin: 5px 14px 5px 0;
		position: static;
		left: auto;
		top: auto;
	}
}
#top-left-img:active {
	transform: scale(1.8);
}
#top-left-img  img {
	border-radius: 3px;
	vertical-align: top;
}

#top-right-content {
	width: auto;
	position: absolute;
	right: 0;
	top: 0;
	padding: 5px 10px 10px 10px;
	font-weight: bold;
}

#main-content {
	width: 100%;
	max-width: 600px;
	margin: 60px auto;
	text-align: justify;
}
@media (max-width: 500px) {
	#main-content {
		margin: 40px auto;
	}
}

.menu {
	margin: 30px 0;
	font-size: 18px;
}
@media (max-width: 500px) {
	.menu {
		margin: 20px 0;
	}
}
.menu a {
	margin-right: 25px;
}
@media (max-width: 500px) {
	.menu a {
		margin-right: 12px;
	}
}

.marked-list {
	list-style: none;
	padding: 0;
}
.marked-list li {
	padding-left: 20px;
	position: relative;
}
.marked-list li:before {
	content: "✓";
	left: 0px;
	position: absolute;
}

#left-content {
	width: auto;
	position: fixed;
	left: 0;
	bottom: 0;
	padding: 0 15px;
	background: rgba(255, 255, 225, 0.75);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#BDFFFFE1,endColorstr=#BDFFFFE1);
}

.block-close {
	float: right;
	padding: 12px 2px;
	border: 0;
	color: #aaa;
}
.block-close:hover {
	border: 0;
	color: #333;
}

.contacts-list {
	list-style: none;
	padding: 0;
}
.contacts-list li {
	padding-left: 25px;
	position: relative;
	line-height: 30px;
}
@media (max-width: 500px) {
	.contacts-list li {
		line-height: 27px;
	}
}
.contacts-list li:before {
	content: " ";
	left: 0px;
	position: absolute;
	width: 16px;
	height: 16px;
	margin: 7px 0 7px 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
@media (max-width: 500px) {
	.contacts-list li:before {
		margin: 6px 0 5px 0;
	}
}
.contact-upwork:before {
	background-image: url("https://www.upwork.com/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://www.upwork.com/favicon.ico', sizingMethod='scale');
}
.contact-fl:before {
	background-image: url("https://www.fl.ru/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://www.fl.ru/favicon.ico', sizingMethod='scale');
}
.contact-freelancehunt:before {
	background-image: url("https://freelancehunt.com/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://freelancehunt.com/favicon.ico', sizingMethod='scale');
}
.contact-email:before {
	background-image: url("https://ssl.gstatic.com/ui/v1/icons/mail/images/favicon5.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://ssl.gstatic.com/ui/v1/icons/mail/images/favicon5.ico', sizingMethod='scale');
}
.contact-habrahabr:before {
	background-image: url("https://habr.com/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://habr.com/favicon.ico', sizingMethod='scale');
}
.contact-blog:before {
	background-image: url("https://blog.peter23.com/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://blog.peter23.com/favicon.ico', sizingMethod='scale');
}
.contact-skype:before {
	background-image: url("https://secure.skypeassets.com/i/common/images/icons/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://secure.skypeassets.com/i/common/images/icons/favicon.ico', sizingMethod='scale');
}
.contact-github:before {
	background-image: url("https://github.com/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://github.com/favicon.ico', sizingMethod='scale');
}
.contact-webmoney:before {
	background-image: url("https://www.webmoney.ru/favicon.ico");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://www.webmoney.ru/favicon.ico', sizingMethod='scale');
}

.contact-email {
	font-weight: bold;
	font-size: 18px;
}

.contacts-link {
	display: none;
}


@keyframes slideInUp {
	from {
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
		visibility: visible;
	}
	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
@keyframes slideOutDown {
	from {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	to {
		visibility: hidden;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
	}
}
.animated {
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.animated.slideInUp {
	-webkit-animation-name: slideInUp;
	animation-name: slideInUp;
}
.animated.slideOutDown {
	-webkit-animation-name: slideOutDown;
	animation-name: slideOutDown;
}
