/*
* Resume template
* Created by : Ahmed Essa
* website : www.ahmedessa.net
*/


/* Table of Content
==================================================
	- Google fonts & font family -
	- typography -
	- General -
    - Preloader -
	- Header -
    - home section -
    - About section -
    - experience section -
    - projects section -
    - Contact section -
    - Responsive media queries -
*/


/* Google fonts & font family
==================================================*/

@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i';

/*
font-family: 'Playfair Display', serif;
font-family: 'Lato', sans-serif;
font-family: 'Open Sans', sans-serif;
*/


/* typography
==================================================*/

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 70px;
}

h4 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    position: relative;
    color: #425BB5;
    margin-left: 40px;
    font-weight: 700;
}

h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 2px;
    background: #425BB5;
    top: 9px;
}


/* General
==================================================*/

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
}

.size-50 {
    font-size: 50px;
    line-height: 50px
}

.h-50 {
    height: 50px;
}


/* preloader
==================================================*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10000
}

#status,
.preloader {
    top: 50%;
    left: 50%;
    position: absolute
}

#status {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    margin: -50px 0 0 -50px
}

.preloader {
    height: 40px;
    width: 40px;
    margin-top: -20px;
    margin-left: -20px
}

.preloader:before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: 100%;
    width: 100%;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
    border: 2px solid #425BB5;
    border-top: 2px solid transparent;
    border-radius: 100%
}

.preloader>.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 25px;
    width: 10.6px;
    margin-top: -12.5px;
    margin-left: -5.3px;
    -webkit-animation: wink 1s ease-in-out infinite alternate;
    animation: wink 1s ease-in-out infinite alternate
}

@media only screen and (min-width:768px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader:before {
        left: -2px;
        top: -2px;
        border-width: 2px
    }
    .preloader>.icon {
        height: 37.5px;
        width: 15.9px;
        margin-top: -18.75px;
        margin-left: -7.95px
    }
}

@media only screen and (min-width:1200px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader>.icon {
        height: 50px;
        width: 21.2px;
        margin-top: -25px;
        margin-left: -10.6px
    }
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@-webkit-keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}


/* Header
==================================================*/

header {
    text-align: center;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
}

nav ul {
    display: inline-block;
    padding-left: 0;
    list-style: none;
    padding: 20px;
    margin-bottom: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-size: 11px;
    font-weight: bold;
}

.bg-nav {
    background: #fff;
    border-bottom: 1px solid #f3f3f3
}

.bg-nav ul {
    padding: 10px;
}

a:focus {
    color: #444;
    text-decoration: none;
}

a:hover {
    color: #425BB5;
    text-decoration: none;
}

a.active {
    color: #425BB5;
}


/* home section
==================================================*/

#home {
    background: url(../img/home-bg-2.jpg);
    background-size: cover;
    height: 100vh;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.disply-table {
    display: table;
    height: 100vh;
}


/* about section
==================================================*/

#about {
    padding: 100px 0;
}

.about-img-div img {
    margin: 0 auto;
}

.about-border {
    position: absolute;
    border: 10px solid #425BB5;
    width: 400px;
    height: 400px;
    top: 40px;
    left: 50px;
    z-index: 1
}







/*RESET*/
/*TEMPLATE*/
header {
	width: 100%;
	height: 60px;
	position: fixed;
	background-color: #fff;
	box-shadow: 0px 0px 10px #888888;
	z-index: 100;
}
header .content {
	position: relative;
}
header a {
	transition: background-color 1s ease;
}
nav#menu {
	position: absolute;
	top: 10px;
	left: 0px;	
}
nav#menu .icon {
	width: 40px;
	height: 40px;
	position: relative;
	background-image: url(../svg/icon_menu.svg);
	transition: background-color 1s ease;
	cursor: pointer;
}
nav#menu .icon:hover {
	background-color: #dedede;
}
nav#menu #sections {
	width: 200px;
	padding: 10px;
	position: absolute;
	top: 40px;
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 10px #d3d3d3;	
	z-index: 100;
}
nav#menu #sections li a {
	height: 40px;
	line-height: 40px;
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 700;
	color: #404040;
	letter-spacing: -0.3px;
	transition: color 1s ease;
}
nav#menu #sections li a:hover {
	color: #000;
}
#logo {
	position: absolute;
	left: 50px;
}
#logo a {
	float: left;
}
#logo.columbia a {
	width: 122px;
	height: 26px;
	left: 15px;
	margin: 16px 0 0 5px;
	background: url(../svg/logo_col-desktop.svg) no-repeat center center;
	background-size: contain;
}

#logo span {
	margin-left: 15px;
    color: #222222;
	line-height: 60px;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: -0.3px;
/*	font-family: Roboto Slab;*/
}
nav#menu .icon {
    width: 40px;
    height: 40px;
    position: relative;
    background-image: url(../svg/icon_menu.svg);
    transition: background-color 1s ease;
    cursor: pointer;
}

nav#menu #sections li a {
    height: 40px;
    line-height: 40px;
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: #404040;
    letter-spacing: -0.3px;
    transition: color 1s ease;
}
nav#menu #sections {
    width: 200px;
    padding: 10px;
    position: absolute;
    top: 40px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px #d3d3d3;
    z-index: 100;
}

@media screen and (max-width: 570px) {
	#logo span {	
		display: none;
	}
	#logo.ln a {
		width: 29px;
		height: 26px;
		background: url(../svg/logo_ln-phone.svg) no-repeat center center;
		background-size: contain;
	}
    #logo.ln_70 a {
		width: 73px;
    	height: 39px;
    	margin: 13px 0 5px 0;
		background: url(../img/logo_ln-phone_70.png) no-repeat center center;
		background-size: contain;
	}
    #logo.ln_70-bv a {
		width: 107px;
    	height: 39px;
    	margin: 13px 0 5px 0;
		background: url(../img/logo_ln-phone_70-bv.png) no-repeat center center;
		background-size: contain;
	}	
}
#social {
	position: absolute;
	right: 10px;
	top: 15px;
}
#social li {
	display: inline-block;
}
#social li a {
	width: 50px;
	height: 30px;
	display: block;
	margin-left: 5px;
	background-size: auto;
	background-repeat: no-repeat;
}
#social li a.facebook {
	background-image: url(../svg/icon_facebook.svg);
}
#social li a.twitter {
	background-image: url(../svg/icon_twitter.svg);
}
#social li a.google {
	background-image: url(../svg/icon_google.svg);
}

footer {
    position: relative;
	padding: 20px;
}
footer .main {
    max-width: 800px;
    margin: 0 auto;
}
footer .main p {
    color: #616161;
	font-size: 9px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	line-height: 20px;
	letter-spacing: 1px;
}
footer .main p strong {
	color: #b4b4b4;
}
footer .main p a {
    text-decoration: underline;
    color: #616161;
}
footer .main p span {
    color: #a5a5a5;
}
/*TEMPLATE*/

nav#menu {
	position: absolute;
	top: 10px;
	left: 0px;	
}
nav#menu .icon {
	width: 40px;
	height: 40px;
	position: relative;
	background-image: url(../svg/icon_menu.svg);
	transition: background-color 1s ease;
	cursor: pointer;
}
nav#menu .icon:hover {
	background-color: #dedede;
}
nav#menu #sections {
	width: 200px;
	padding: 10px;
	position: absolute;
	top: 40px;
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 10px #d3d3d3;	
	z-index: 100;
}
nav#menu #sections li a {
	height: 40px;
	line-height: 40px;
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 700;
	color: #404040;
	letter-spacing: -0.3px;
	transition: color 1s ease;
}
nav#menu #sections li a:hover {
	color: #000;
}






/* Responsive media queries
==================================================*/

@media (max-width: 991px) {
    .portfolio .categories-grid .categories ul li a {
        padding: 0 2px;
    }
}

@media (max-width: 768px) {
    .timeline-event-copy {
        width: 90%;
        left: 2em;
    }
}

@media (max-width: 500px) {
    h1 {
        font-family: 'Playfair Display', serif;
        font-size: 43px;
        line-height: 40px;
    }
    #home,
    .disply-table {
        height: 600px;
    }
    .about-border {
        width: 265px;
    }
    .portfolio .categories-grid .categories ul li {
        list-style: none;
        margin: 10px 0;
    }
}

@media (max-width: 420px) {
    nav li {
        margin: 6px;
    }
    nav li a {
        font-size: 10px;
    }
}