html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, img, strong, form, label, footer, header {
	margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    background: transparent;
}
::selection {
	background: #000000;  
	color: #ffffff;
	text-shadow: none;
}
::-moz-selection {
	background: #000000;
	color: #ffffff;
	text-shadow: none;
}

/***************************************************
WebKit Scrollbar
***************************************************/

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
	background: #DADADA;
    box-shadow: 2px 0 0px #D2D2D2 inset;
}
::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:window-inactive {
	background: #000000;
    //box-shadow: 0 4px 10px rgba(0, 0, 0, 0.13) inset;
    border-right: 6px solid #DADADA;
}
/*-----------------*/

*, *:before, *:after {
	-webkit-box-sizing: inherit; 
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}
body {
    overflow-x: hidden;
    background: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    line-height: 1.5;
}

/*--------------------------*/

#preloader {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: black;
	z-index:1000; 
}
.resume-wrap {
	position: absolute;
	top: 50%;
	width: 100%;
}
.resume-content {
	max-width: 840px;
	width: 100%;
	margin: 100px auto;
}
.resume-content p {
	color:#fff;
	margin: -20px 0 170px;
	font-size: 14px;
}

/*------------maximaginsky--------------*/


canvas{
	position:absolute;
	left:0;
	top:0;
}
#interface{
    width: 100%;
    position: absolute;
    box-sizing: border-box;
    color: black;
    margin-top: -250px;
    cursor: pointer;
    height: 200px;
	
}
input[type="range"] {
	width: 99%;
}
input[type=range] {
    -webkit-appearance: none;
    background-color: silver;
    height:1px;
	outline: none;
	background: #E8E8E8;
}
input[type="range"]::-webkit-slider-thumb {
     -webkit-appearance: none;
	background-image: url("../images/maximaginsky-profile-image-black.jpg");
	background-size: cover;
    width: 100px;
    height: 100px;
	border-radius: 50%;
	background-color: #ffffff;
	outline: 20px solid #ffffff;
	cursor: pointer;
	webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
input[type="range"]::-webkit-slider-thumb:hover {
        box-shadow: 0 0 30px #000 inset;
}

/*-----------------header-skew--------------------------*/

.header-skew {
    position: fixed;
	background: #ffffff;
	padding: 0 40px;
	top: -100px;
	//left: 0;
	width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
	    border-bottom: 1px solid #F7F7F7;
	z-index: 1000;
	height: 100px;
	overflow: hidden;
	-webkit-transition: all 0.9s;
	-moz-transition: all 0.9s;
	transition: all 0.9s;
}
.header-skew img {
	width: 100px;
    height: 100px;
	border-radius: 50%;
}
h2.fixed {
	padding: 25px 0 0;
}
.header-skew.shrink {
  top: 0;
  background: #ffffff;
  -webkit-transition: all 0.9s;
  -moz-transition: all 0.9s;
  transition: all 0.9s;
}
.header-skew-hire-me {
	 float: right;
    border: 1px solid #000000;
    padding: 10px 30px;
    font-size: 14px;
    margin-top: 27px;
}
.header-skew-hire-me a {
	color:black;
	text-decoration: none;    
	font-weight: 900;
    //font-style: italic;
	border-bottom: none;
}
.header-skew-hire-me a:hover {
	color: black;
	border-radius: 0;
	background: transparent;
	border-bottom: 1px solid black;	
}

/*----------------------------*/

.header-wrap {
	position: absolute;
    top: 0;
    width: 100%;
    margin-top: 50px;
}
.header-wrap h1 {
	font-size: 18px;
    text-shadow: none;
    margin: 0px 50px 320px;
}
.style1 {
	font-size: 70px;
    display: block;
}
.style2 {
	font-weight: 100;
}
.header-wrap h1 i {
	text-decoration: line-through;
}
.button-wrap {
	position: absolute;
    right: 200px;
    font-weight: 900;
    top: 80px;
    font-style: italic;
}
.btn-form a {
	color: initial;
	text-decoration: none;
	border-bottom: none;
}
.btn-form a:hover {
	background: none;
}

/*------------Button--------------*/

.btn-form {
    display: block;
    overflow: hidden;
    padding: 20px 60px;
    position: relative;
    background: #ffffff;
    border: 1px solid #000000;
    filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
    opacity: 1;
    -moz-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    color: #000000;
    font: inherit;
    //text-align: center;
    width: 100%;
    cursor: pointer;
}
.btn-form .background {
    display: block;
    margin: -47% 0 0;
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
    -moz-transition: top 0.3s ease, margin 0.3s ease;
    -o-transition: top 0.3s ease, margin 0.3s ease;
    -webkit-transition: top 0.3s ease, margin 0.3s ease;
    transition: top 0.3s ease, margin 0.3s ease;
}
.btn-form .label {
    position: relative;
    z-index: 2;
    -moz-transition: color 0.1s ease 0.05s;
    -o-transition: color 0.1s ease 0.05s;
    -webkit-transition: color 0.1s ease;
    -webkit-transition-delay: 0.05s;
    transition: color 0.1s ease 0.05s;
}
.btn-form:hover .background {
    margin-top: 0;
    top: 0;
}
.btn-form:hover .label {
    color: #ffffff;
}
.btn-form .background:before {
    display: block;
    padding: 47% 0 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: inherit;
    content: '';
    -moz-transform: skewY(25deg);
    -ms-transform: skewY(25deg);
    -webkit-transform: skewY(25deg);
    transform: skewY(25deg);
    -moz-transform-origin: 100% 0 0;
    -webkit-transform-origin: 100% 0 0;
    transform-origin: 100% 0 0;
}

/*------------persist-header-----------------*/

.persist-header {
	visibility: hidden;
	height: 1px;
	
}
.floatingHeader {
      position: fixed;
      top: 0;
      visibility: hidden;
	  z-index: 1001;
	  text-align: center;
	  padding: 0;
	  line-height: 100px;
	  -webkit-animation: fadein 0.9s;
      animation: fadein 0.9s;
	  
}
/*@-webkit-keyframes fadein { 
    from {opacity:0} to {opacity:1} 
}
@keyframes fadein { 
    from {opacity:0} to {opacity:1} 
}*/
/*---------------------*/

.wrap {
	position: absolute;
    top: 50%;
}
.content-section {
	position: relative;
	max-width: 840px;
    width: 100%;
    margin: 100px auto;
}
.left-block {
	position: absolute;
    width: 300px;
    left: -400px;
    top: 400px;
    font-size: 24px;
}
.content-section h1 {
    text-align: center;
	margin-top: 10%;
	line-height: 1;
}
.ph1 {
	font-size: 16px;
    text-align: center;
}
.customers-products-img {
	margin: 0 20px 0 0;
    width: 100px;
    vertical-align: middle;
}
.letter-recommendation-img {
	 float: left;
    margin: 0 20px 0 0;
    width: 100px;
    border-radius: 50%;
    vertical-align: middle;
}
.p-resume {
	margin: -20px 0 170px;
}
.hr2 {
	margin: 100px 0 150px;
    text-align: center;
    font-size: 78px;
    line-height: 0;
}

.mt200px {
	margin-top: 200px;
}
.mt150px {
	margin-top: 150px;
}
.mt100px {
	margin-top: 100px;
}
.lr200px {
	margin-left: -200px;
    margin-right: -200px;
}
.p14 {
	font-size: 14px;
}
.p16 {
	font-size: 16px;
}
h1 {
	font-size: 100px;
}
h2 {
  font-size: 35px;
}
h3 {
  font-size: 22px;
}
.h2 {
	font-size: 80px;
    line-height: 1;
}
h1, h2, h3 {
    padding: 40px 0 10px;
	font-weight: 900;
	/*8888888888888888888888888888888-----text-shadow: 1px 1px 1px #BDBDBD;*/
}
p {
	margin:25px 0px;
    text-align: justify;
}
hr {
	height: 4px;
    background: #000000;
    width: 50%;
    margin-top: 23%;
    margin-bottom: 25%;
    border: transparent;
}
a {
	color: #000000;
    text-decoration: none;
    border-bottom: 2px solid #89DFEF;
}
a:hover {
	color: #747474;
    border-bottom: none;
    background: #EFEFEF;
    border-radius: 2px;
}
b {
	font-weight: 900;
}
strong {
	font-weight: 700;
}
img {
	width: 100%;
}

@media only screen and (max-width: 1700px) {
	.left-block {
    display: none;
}
}

@media only screen and (max-width: 1500px) {
	.style1 {
    font-size: 40px;
    }
	.button-wrap {
    top: 58px;
	right: 80px;
}
.btn-form {
    padding: 10px 20px;
}

.content-section h1 {
   margin-top: 1%;
    font-size: 50px;
}
h2, .h2 {
    font-size: 34px;
}
hr {
    margin-top: 15%;
    margin-bottom: 15%;
}
body {
    font-size: 18px;
	line-height: 1.7;
}
//.floatingHeader {
    padding: 34px 0;
}
.mt200px {
    margin-top: 20px;
}
.mt150px {
	margin-top: 50px;
}
.mt100px {
    margin-top: 30px;
}
.hr2 {
    margin: 50px 0 100px;
}
.lr200px {
    margin-left: 0;
    margin-right: 0;
}
.header-skew {
    
    padding: 0 20px;
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
}
		
}

@media only screen and (max-width: 870px) {
	.content-section, .resume-content {
    width: 90%;
	}
	
	h2.persist-header {
	font-size: 16px;
}
.header-skew {
    height: 50px;
}
.header-skew img {
    width: 50px;
    height: 50px;
}
.floatingHeader {
    line-height: 50px;
}
.header-skew-hire-me {
    padding: 5px 30px;
    margin-top: 7px;
}
.header-skew {
    padding: 0 10px;
    width: -moz-calc(100% - 20px);
    width: -webkit-calc(100% - 20px);
    width: -o-calc(100% - 20px);
    width: calc(100% - 20px);
}
	
	
}

@media only screen and (max-width: 766px) {
	.header-wrap h1 {
    font-size: 14px;
    margin: 0px 20px 320px;
	text-align: center;
}
#interface {
    height: 1px;
}
input[type=range] {
    background: #FFFFFF;
}
canvas {
	display: none;
}
.p-resume {
    margin: -20px 0 1px;
}
.wrap {
    top: 400px;
}
.cp-hr, .i-hr, .lr-hr {
    margin: 70px 0;
}
.button-wrap {
    right: 40px;
    top: -38px;
    left: 20px;
    font-size: 14px;
}
.btn-form {
    padding: 5px 10px;
}
.style1 {
    font-size: 30px;
}
.content-section {
   
    margin: 10px auto;
}
hr {
    margin-top: 10%;
    margin-bottom: 10%;
}

.content-section h1 {
    font-size: 36px;
}
h2, .h2 {
    font-size: 24px;
}
p {
    margin: 25px 0px;
    text-align: left;
}
.customers-products-img {
    width: 50px;
}

.letter-recommendation-img {
    width: 80px;
}
	
}

@media only screen and (max-width: 500px) {
	.header-skew-hire-me {
    padding: 5px 10px;
    margin-top: 11px;
}
.header-skew-hire-me {
    font-size: 10px;
}
	
}

@media only screen and (max-width: 415px) {
	.content-section, .resume-content {
    width: 95%;
}
	
}

@media only screen and (max-width: 410px) {
	
	h2.persist-header {
    font-size: 10px;
}
}

