* :not(nav){
	margin: 0;
	padding: 0;
	box-sizing: border-box;
    direction: rtl;
}
body{
	width: 100%;
	min-height: 100vh;
	background-color: #2e2e2e;
	color: white;
}

.container-contact{
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 8%;
    margin: 100px 0px;
}
.container-contact .row{
	display: flex;
	justify-content: space-between;
    flex-direction: row;
	width: 100%;
	max-width: 1100px;
}
.row section.col{
	display: flex;
	flex-direction: column;
}
.row section.left{
	flex-basis: 45%;
	min-width: 320px;
	margin-right: 60px;
}
.row section.right{
	flex-basis: 60%;
}
section.left .contactTitle h2{
	position: relative;
	font-size: 38px;
	color: #ddd;
	display: inline-block;
	margin-bottom: 25px;
    margin-right: 160px;
    text-align: center;
}
section.left .contactTitle h2::before{
	content: '';
	position: absolute;
	width: 50%;
	height: 1px;
	background-color: #888;
	top: 120%;
	left: 0;
}
section.left .contactTitle h2::after{
	content: '';
	position: absolute;
	width: 25%;
	height: 3px;
	background-color: #A51717;
	top: calc(120% - 1px);
	left: 0;
}
section.left .contactTitle p{
	font-size: 22px;
	color: #ccc;
	letter-spacing: 1px;
	line-height: 1.2;
	padding-bottom: 22px;
    text-align: center;
}
section.left img{
    border-radius: 30px;
}

.row section.right .messageForm{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-top: 30px;
    margin-right: 50px;
}
.row section.right .inputGroup{
	margin: 18px 0px;
	position: relative;
}
.social-info{
    flex-basis: 100%;
}
.social-info:nth-child(3){
    margin-bottom: 30px;
}
.social-info .info-card{
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
    align-content: flex-end;
    align-items: center;
    
    
    background-color: #2e2e2e;
    height: 70px;
    box-sizing: border-box;
    padding-right: 20px;
}
.social-info .info-card h3{
    font-size: 25px;
    text-shadow: -1px 0 #A51717, 0 1px #A51717, 1px 0 #A51717, 0 -1px #A51717;
    transition: 0.5s;
}
.social-info .info-card h5{

    font-size: 22px;
}
.social-info .info-card i{

    font-size: 30px;
    margin-left: 30px;
    
    border: solid 1px #A51717;
    color:#A51717;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
}
.social-info .info-card:hover i{

    background-color: #0A6B74;
    border: solid 1px #0A6B74;
    color: #fff;
}
.social-info .info-card:hover h3{
    text-shadow: -1px 0 #0A6B74, 0 1px #0A6B74, 1px 0 #0A6B74, 0 -1px #0A6B74;
}

.messageForm .halfWidth{
	flex-basis: 48%;
}
.messageForm .fullWidth{
	flex-basis: 100%;
}
.messageForm input, .messageForm textarea{
	width: 100%;
	font-size: 18px;
	padding: 2px 0px;
	background-color: #2e2e2e;
	color: #ddd;
	border: none;
	border-bottom: 2px solid #666;
	outline: none;
}
.messageForm textarea{
	resize: none;
	height: 220px;
	display: block;
}
textarea::-webkit-scrollbar{
	width: 5px;
}
textarea::-webkit-scrollbar-track{
	background-color: #1e1e1e;
	border-radius: 15px;
}
textarea::-webkit-scrollbar-thumb{
	background-color: #FF3529;
	border-radius: 15px;
}
.inputGroup label{
	position: absolute;
	right: 0;
	top: 4px;
	color: #888;
	font-size: 18px;
	transition: 0.4s;
	pointer-events: none;
}
.inputGroup:nth-child(5) label{
	top: 2px;
}
.inputGroup input:focus ~ label, .inputGroup textarea:focus ~ label,
.inputGroup input:valid ~ label, .inputGroup textarea:valid ~ label
{
	transform: translateY(-30px);
	font-size: 16px;
}
.inputGroup button{
	padding: 8px 16px;
    margin-right: 200px;
	font-size: 18px;
	background-color: #A51717;
	color: #ddd;
	border: 1px solid transparent;
	border-radius: 25px;
	outline: none;
	cursor: pointer;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
	transition: 0.4s;
}
.inputGroup button:hover{
	background-color: #2e2e2e;
	color: #0A6B74;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
	border: 1px solid #0A6B74;
}
@media(max-width: 1100px){
	.messageForm .halfWidth{
		flex-basis: 100%;
	}
    .inputGroup button{
        margin-right: 190px;
    }
}
@media(max-width: 900px){
	.container-contact .row{
		flex-wrap: wrap;
	}
	.row section.left, .row section.right{
		flex-basis: 100%;
		margin: 0px;
	}
    .row section.right .messageForm{
     margin-right: 0px;   
    }
    .inputGroup button{
        margin-right: 150px;
    }
}

@media(max-width: 600px){
    
    .container-contact{
        box-sizing: border-box;
        padding: 0px;
    }

    section.left .contactTitle h2{
        margin-right: 100px;
    }

}


