body::before {
	background-image: url(../images/fond_contact.png);
}

header {
	top: calc(284 / 900 * 100%);
	left: calc(50 / 1800 * 100%);
	opacity: 0;
	transition-property: left, opacity;
	transition-duration: 2s, 0s;
	transition-timing-function: ease-out, linear;
	transition-delay: 1.5s, 1.5s;
}

body.loaded header {
	left: calc(150 / 1800 * 100%);
	opacity: 1;
}

section {
	width: 500px;
	top: calc(102 / 900 * 100%);
	right: calc(50 / 1800 * 100%);
	opacity: 0;
	transition-property: right, opacity;
	transition-duration: 2s, 0s;
	transition-timing-function: ease-out, linear;
	transition-delay: 1s, 1s;
}

body.loaded section {
	right: calc(200 / 1800 * 100%);
	opacity: 1;
}

.portrait {
	display: block;
	position: absolute;
	top: 20px;
	left: -115px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	z-index: 2;
	overflow: hidden;
	opacity: 0;
	transition-property: opacity;
	transition-duration: 1s;
	transition-timing-function: cubic-bezier(0, 0, 0, 1.29);
	transition-delay: 2s;
}

.portrait img {
	position: absolute;
	width: calc(100% + 80px);
	left: -40px;
	top: -10px;
}

body.loaded .portrait {
	opacity: 1;
}

nav {
	left: calc(100% - 20px);
	top: 30%;
}

section article form p {
	margin-bottom: 5px;
}

label {
	font-size: inherit;
	text-transform: uppercase;
	line-height: 25px;
	display: inline-block;
	width: 170px;
	vertical-align: middle;
}

input[type=text] {
	font-size: 14px;
	line-height: 25px;
	display: inline-block;
	width: 240px;
	vertical-align: middle;
	border: 1px solid rgb(230, 215, 211);
	outline: none;
}

textarea {
	font-size: 14px;
	display: inline-block;
	width: 240px;
	height: 60px;
	vertical-align: top;
	border: 1px solid rgb(230, 215, 211);
	outline: none;
}

button[type=submit] {
	display: inline-block;
	width: 100px;
	height: 40px;
	line-height: 40px;
	background-color: #78635d;
	text-align: center;
	text-decoration: none;
	font-size: 12px;
	color: #fff;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
}

.message {
	color: #D32F2F;
	font-weight: normal;
	text-align: center;
	font-family: 'helvetica_bold';
	font-size: 12px;
}

.matk {
	bottom: auto;
	right: auto;
	top: 5%;
	left: 5%;
}

form p:nth-child(6) {
	text-align: right;
	width: 415px;
	margin-top: 10px;
}

.code {
	font-size: 14px;
	line-height: 25px;
	display: inline-block;
	width: 120px;
	vertical-align: middle;
	border: 1px solid rgb(230, 215, 211);
	outline: none;
	margin-right: 10px;
	text-align: center;
	font-family: 'helvetica_regular';
	text-transform: none;
}

.code+input[type="text"] {
	width: 110px;
	text-align: center;
	font-family: 'helvetica_regular';
	text-transform: none;
}