/* body, type, intro, layout */
body {
    color: white;
    background-color: black;
    font-family: 'Haas Grot Text Web', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 0.85em;
    line-height: 1.22;
    letter-spacing: .17px;
    font-feature-settings: "liga", "kern";
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

    @font-face {
    font-family: 'code/Haas Grot Text Web';
    src: url('code/NeueHaasGrotText-65Medium-Web.eot');
    src: url('code/NeueHaasGrotText-65Medium-Web.eot?#iefix') format('embedded-opentype'),
    url('code/NeueHaasGrotText-65Medium-Web.woff2') format('woff2'),
    url('code/NeueHaasGrotText-65Medium-Web.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    }

    @font-face {
    font-family: "Nassim Arabic Web";
    src: url('NassimArabicWeb-Sb.woff2') format('woff2'), url('NassimArabicWeb-Sb.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    }

.container-fluid {
    padding: 10px 16px 10px 16px;
    margin-left: 0;
}

.container-fluid-intro {
    padding: 10px 16px 10px 16px;
    margin-left: 0;
    background-color: black;
    color: white;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1000000;
}


/* Gutters */
div[class^="col"] { padding-left:4px; padding-right:4px; }



/* project and image margins/paddings */
.project {
    padding-bottom: 150px;
    padding-top: 0px;
    margin-left: auto;
    margin-right: auto; }

.row {
  margin-left: -4px;
  margin-right: -4px; }

img, video {
    margin: 0px 0 8px 0;
    width: 100%;
    max-width: 100%; }

.lazyload,
.lazyloading { opacity: 0; }
.lazyloaded {
	opacity: 1;
	transition: opacity 220ms; }




/* paragraph settings */
p { margin-bottom: 10px; }

@media (max-width: 1399px) {  
    p { margin-bottom: 12px; }
}


/* Paragraph, align bottom */
.bottom {
    position: absolute;
    margin-bottom: 10px;
    bottom: 0px;
    margin-right: 4px;
    width: 99%; }






/* Links, selection */
a { color: white; text-decoration: none;}

a:hover {
    color: #bbbbbb;
    text-decoration: none;}
a:active {
    color: white;
    text-decoration: none;}
a:focus {
    color: white;
    text-decoration: none;}


::selection{
color:transparent;
text-shadow:0 0 .07rem #fff;
background:0 0; 
transition: 0.1s;}
::-moz-selection{
color:transparent;
text-shadow:0 0 .07rem #fff;
background:0 0; 
transition: 0.1s;}





/* Sidebar */
@media (min-width: 869px)   {  
    #sidebar  {
    position: fixed;
    z-index: 100000;
    width: 135px;
    }
    
    #sidebar-space  {
    position: relative;
    z-index: -5;
    width: 135px;
    }
    
    #projects, #about {
    flex: 1;
    }
}





/* About */
#about { max-width: 1370px; }
#about p { margin-bottom: 15px; }
.outdent { margin-left: 15px;
           text-indent: -15px; }

#main p {
    max-width: 1275px; /*1330px*/
    font-size: 1.49em /*1.4em*/;
    line-height: 1.12em /*1.1em*/;
    letter-spacing: .1px;/*-.001em*/;
    margin-bottom: 22px;
}
#main { margin-bottom: 20px; }
#contact { margin-bottom: 28px; }



#header {
    position: fixed;
    width: 100%;
    background-color: black;
    z-index: 100;
    padding: 6px 0px 8px 0px;}




/* Xs */
@media (max-width: 869px)   {  
    body {
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.02px;
	}
    /* some space for the header */
    #projects {margin-top: 140px;}
    #about {margin-top: 50px;}

    .project { padding-bottom: 50px; }    
    
    .container-fluid {padding: 0px 10px 0px 10px;}
    
    #main p {
    max-width: 1200px;
    font-size: 16px; /* 1.4em */
    line-height: 18px; /* 1.1em */
    letter-spacing: 0.02em; /*-.005em*/
    margin-bottom: 20px;
    }
    #main { margin-bottom: 10px; }
    #contact { margin-bottom: 10px; }
}


/* Arabic */
.ar
{
    font-family: "Nassim Arabic Web";
    font-weight: 600;
    font-size: 1.25em;
    line-height: 0em;
    font-style: normal;
}

