.contacts{
	position: relative;
	min-height: 100vh;
	padding: 50px 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-color: #f9eed7;
	/*background: url(../img/bg.jpg);*/
	background-size: cover;
}
.contacts .contents{
	max-width: 800px;
	text-align: center;
	/*border:400px;*/
	/*border-bottom: 10px solid #fff;*/
}
.contacts .contents h2{
	font-size: 20px;
	font-weight: 100;
	color: #fff;
}
.contacts .contents h2{
	font-weight: 300;
	color: #fff;
}
.containers{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
	/*
	margin-left: 180px;*/
}
@media screen and (min-width: 990px){
	.contactsInfo{
		width: 40%;
		display: flex;
		flex-direction: column;
		margin-left: 120px;
		padding-left: 25px;
		border: 10px solid #fff;
	}
	.contactsInfo .box{
		position: relative;
		padding: 20px 0;
		display: flex;
	}
	.contactsInfo .box .icon{
		min-width: 40px;
		height: 40px;
		background: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 40px;
		font-size: 22px;
	}
	.contactsInfo .box .text{
	display: flex;
	margin-left: 20px;
	font-size: 16px;
	color: #fff;
	flex-direction: column;
	font-weight: 300;
	}
	.contactsInfo .box .text h3
	{
		font-weight: 500px;
		color: #424558;
	}
}

@media screen and (max-width: 990px){
	.contactsInfo{
		width: 40%;
		/*display: flex;*/
		flex-direction: column;
		/*margin-left: 120px;*/
		padding-left: 25px;
		border: 10px solid #fff;
	}
	.contactsInfo .box{
		position: relative;
		padding: 20px 0;
		display: flex;
	}
	.contactsInfo .box .icon{
		min-width: 40px;
		height: 40px;
		background: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 40px;
		font-size: 22px;
	}
	.contactsInfo .box .text{
	display: flex;
	margin-left: 20px;
	font-size: 16px;
	color: #fff;
	flex-direction: column;
	font-weight: 300;
	}
	.contactsInfo .box .text h3
	{
		font-weight: 500px;
		color: #424558;
	}
}


.contactsForm{
	width: 40%;
	padding: 40px;
	background: #fff;
}
.contactsForm h2{
	font-size: 30px;
	color: #333;
	font-weight: 500
}
.contactsForm .inputBox{
	position: relative;
	width: 100%;
	margin-top: 10px;
}
.contactsForm .inputBox input,
.contactsForm .inputBox textarea{
	width: 100%;
	padding: 5px 0;
	font-size: 16px;
	margin: 10px 0;
	border:none;
	border-bottom: 2px solid #333;
	outline: none;
	resize: none;
}
.contactsForm .inputBox span{
	position: absolute;
	left: 0;
	padding: 5px 0;
	font-size: 16px;
	margin: 10px 0;
	pointer-events: none;
	transition: 0.5s;
	color: #666;
}
.contactsForm .inputBox input:focus ~ span,
.contactsForm .inputBox input:valid ~ span,
.contactsForm .inputBox textarea:focus ~ span,
.contactsForm .inputBox textarea:valid ~ span{
color: #e91e63;
font-size: 12px;
transform: translateY(-20px);
}
.contactsForm .inputBox input[type="submit"]
{
	width: 100px;
	background: #424558;
	color: #fff;
	border:none;
	cursor: pointer;
	padding: 10px;
	font-size: 18px;
}

@media (max-width: 991px)
{
	.contacts{
		padding: 50px;
	}
	.containers{
		flex-direction: column;
	}
	.containers .contactsInfo{
		margin-bottom: 40px;
	}
	.containers .contactsInfo,
	.contactsForm{
		width: 100%
	}
}