body{
	background-color: #e7e5e6;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	color: #b43831;
	text-align: center;
}

textarea:focus, input:focus, a:focus{
    outline: none;
}

.header
{
	background-color: #b43831;
	height: 15px;
	width: 100%;
}

.section1{
	position: relative;
}
.logo{
	position:absolute;
	top:10px;
	left:10px;
}

.logo img{
	width: 65px;
}

.alifa-img{
	margin-top:40px;
}
.alifa-img img{
	 width: 300px;
	    box-shadow: 0 0 6px #000;
    border-radius: 100%;
    overflow: hidden;
}

.home{
	text-align: left;
	font-size: 18px;
}

.center-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
 }

.hr-msg{
	font-size: 36px;
	margin-top: 10px;
}

/*********************ABOUT**********************/


/*To add a line between the text on the left and right side*/
h2 {
 overflow: hidden;
 text-align: center;
}
h2:before,
h2:after {
 background-color: #7f7c7c;
 content: "";
 display: inline-block;
 height: 5px;
 position: relative;
 vertical-align: middle;
 width: 50%;
}
h2:before {
 right: 0.5em;
 margin-left: -50%;
}
h2:after {
 left: 0.5em;
 margin-right: -50%;
}

.download-cv-btn{
	background-color: #a7a7a7;
	border-radius: 8px;
    border: none;
	color: #b43831;
    padding: 15px 38px;
    display: inline-block;
    font-size: 16px;
	margin-top: 10px;
	margin-bottom: 12px;
	letter-spacing: 2PX;
	font-weight:700;
}
.download-cv-btn:hover {
	background-color: #b43831; 
    color: white;
}
a:link{
	text-decoration: none;
	color: #b43831;
}
a:active{
	color: #b43831;
}
h4{
	font-size: 18px;
	font-weight: 550px
}

.about_msg{
	font-size: 16px;
	word-spacing: 1px;
}
.section2 h4{
		font-size: 16px;
		font-weight: bold;
	}

/*******************Portfolio*******************/
h4{
	margin-top: 15px;
	margin-bottom: 25px;
}
.caption{
	margin-top: 10px;
}
.border{
	box-shadow:0 0 9px #000;
	border-radius: 100%;
	overflow: hidden;
	width:300px;
	margin: 15px auto 0;
}
.section3 h4{
		font-size: 14px;
		font-weight: 550;
	}


/*******************Footer*******************/
footer{
	margin-top: 10px;
	padding-bottom: 20px;
	background-color: #b43831;
	height: auto;
	width: 100%;
	color: #ffffff;
}
h3{
 overflow: hidden;
 text-align: center;
}
h3:before,
h3:after {
 background-color: #ffffff;
 content: "";
 display: inline-block;
 height: 5px;
 position: relative;
 vertical-align: middle;
 width: 50%;
}
h3:before {
 right: 0.5em;
 margin-left: -50%;
}
h3:after {
 left: 0.5em;
 margin-right: -50%;
}
.google-map{
	margin-top: 15px;
	padding-bottom: 25px;
	height: 180px;
}

.map{
	margin-top: 15px;
}
/********************* social media Icons *********************/

.icon {
    text-decoration: none;
	color: #FFFFFF;
}

.icon:before {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 1.25em;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon>.label {
    display: none;
	color: aqua;
} 

footer .social-icons a{
	display: inline-block;
	color: #fff;
	font-size: 24px;
    margin: 0 10px;
}
footer .social-icons a:hover, footer .social-icons a:active{
	color: #a7a7a7;
}



/* Media Queries */

/* this is for mobile only */
@media(max-width:767px){
	.logo{
		position: relative;
	}
	.hr-msg {
		font-size: 13px;
		margin-top:10px;
		word-spacing: 3px;
	}
	
	.section2 h4{
		font-size: 10px;
		font-weight: 550;
	}
	.section3 h4{
		font-size: 9px;
		font-weight: 550;
	}
	.border{
		width:200px;
	}
	
	h2{
	font-size: 14px;
	font-weight: bold;
	}
	h2:before, h2:after{
		height: 3px;
	}
	
	.download-cv-btn{
		font-size: 10px;
		letter-spacing: 1px;
		padding: 12px 20px;
	}
	.about_msg{
		  font-size: 10px;
    	  line-height: 1.5;
    	  word-spacing: 1px;
	}
	.caption_msg{
	font-size: 8px;
	}
	footer h3{
		 font-size: 14px;
    	 font-weight: bold;
	}
	footer h3:before, h3:after{
		height: 3px;
	}
	footer h4{
		font-size: 10px;
		font-weight: 550px;
		word-spacing: 2px;
	}
	.contact_details{
		    font-size: 10px;
    	    line-height: 1.5;
    	    word-spacing: 2px;
	}
}

/* this is for tablets only */
@media(min-width:768px) and (max-width:990px)
{
	.border{
		width:auto;
	}
	h2{
	font-size: 24px;
	}
	h2:before, h2:after{
		height: 4px;
	}
	.hr-msg {
		font-size: 30px;
		margin-top: 10px;
	}
	.section2 h4{
		font-size: 14px;
		font-weight: bold;
	}
	.download-cv-btn{
		font-size: 14px;
		padding: 13px 22px;
	}
	.about_msg{
		  font-size: 12px;
    	  line-height: 1.5;
    	  word-spacing: 1px;
	}
	.section3 h4{
		font-size: 11px;
		font-weight: 550;
	}
	.caption_msg{
	font-size: 12px;
}
	footer h3{
	font-size: 24px;
	}
	footer h3:before, h3:after{
		height: 4px;
	}
	footer h4{
		font-size: 14px;
		font-weight: 550px;
		word-spacing: 3px;
	}
		.contact_details{
		    font-size: 12px;
    	    line-height: 1.5;
    	    word-spacing: 2px;
	}
}