@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700|Amiri:400i,700i');
/** --------------------------------------------------

Project: Cairo
Description: Ajax Creative Portfolio
Last change: 06/08/2017

[TABLE OF CONTENTS]

01. GRID
02. COMMONS
03. SHOWCASE
04. ABOUT
05. PROJECTS
06. HELPERS
07. MEDIA

-------------------------------------------------- **/
/** 01. GRID **/
.container {
  width: 80%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.column {
  float: left;
  position: relative;
  padding: 0 25px;
}
.column.col-1 {
  width: 8.333%;
}
.column.col-2 {
  width: 16.666%;
}
.column.col-3 {
  width: 24.999000000000002%;
}
.column.col-4 {
  width: 33.332%;
}
.column.col-5 {
  width: 41.665%;
}
.column.col-6 {
  width: 49.998000000000005%;
}
.column.col-7 {
  width: 58.331%;
}
.column.col-8 {
  width: 66.664%;
}
.column.col-9 {
  width: 74.997%;
}
.column.col-10 {
  width: 83.33%;
}
.column.col-11 {
  width: 91.663%;
}
.column.col-12 {
  width: 99.99600000000001%;
}
.column.offset-by-1 {
  margin-left: 8.333%;
}
.column.offset-by-2 {
  margin-left: 16.666%;
}
.column.offset-by-3 {
  margin-left: 24.999000000000002%;
}
.column.offset-by-4 {
  margin-left: 33.332%;
}
.column.offset-by-5 {
  margin-left: 41.665%;
}
.column.offset-by-6 {
  margin-left: 49.998000000000005%;
}
.column.offset-by-7 {
  margin-left: 58.331%;
}
.column.offset-by-8 {
  margin-left: 66.664%;
}
.column.offset-by-9 {
  margin-left: 74.997%;
}
.column.offset-by-10 {
  margin-left: 83.33%;
}
.column.offset-by-11 {
  margin-left: 91.663%;
}
.row {
  display: block;
  margin: 0 -25px;
}
.row:not(:last-child) {
  margin-bottom: 50px;
}
.container::after,
.row::after,
.clearfix::after {
  content: '';
  display: block;
  clear: both;
}
@media (max-width: 800px) {
  .column {
    float: none;
    width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
  }
  .column:not(:last-child) {
    margin-bottom: 50px;
  }
  .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .row:not(:last-child) {
    margin-bottom: 50px;
  }
}
/** 02. COMMONS **/
body {
  font-family: 'Source Sans Pro';
  font-size: 17px;
  color: #808080;
  line-height: 1.7;
  background: #ffffff;
  overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Amiri';
  font-weight: 400;
  color: #111111;
}
h1:not(:last-child),
h2:not(:last-child),
h3:not(:last-child),
h4:not(:last-child),
h5:not(:last-child),
h6:not(:last-child) {
  margin-bottom: 25px;
}
h1 {
  font-size: 36px;
  line-height: 46px;
}
h2 {
  font-size: 32px;
  line-height: 42px;
}
h3 {
  font-size: 28px;
  line-height: 38px;
}
h4 {
  font-size: 22px;
  line-height: 32px;
}
h5 {
  font-size: 20px;
  line-height: 30px;
}
h6 {
  text-transform: uppercase;
  font-family: 'Source Sans Pro';
  font-size: 11px;
  color: #808080;
  letter-spacing: 0.1em;
}
h6:not(:last-child) {
  margin-bottom: 5px;
}
p:not(:last-child) {
  margin-bottom: 25px;
}
a.link {
  position: relative;
}
a.link::before {
  content: '';
  width: 0;
  height: 2px;
  position: absolute;
  bottom: -5px;
  left: 0;
  background: #111111;
  transition: all 0.3s ease;
}
a.link:hover::before {
  width: 100%;
}
figure {
  position: relative;
}
figure:not(:last-child) {
  margin-bottom: 50px;
}
figure figcaption {
  position: absolute;
  right: 25px;
  bottom: 25px;
  background: #ff6600;
  font-size: 14px;
  color: #ffffff;
  padding: 5px 15px;
}
.light--content h1,
.light--content h2,
.light--content h3,
.light--content h4,
.light--content h5,
.light--content h6,
.light--content a {
  color: #ffffff;
}
.light--content a.link {
  color: #ffffff;
}
.light--content a.link::before {
  background: #ffffff;
}
#fade {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background: #ffffff;
  transition: all 1s ease;
}
#fade.hide {
  opacity: 0;
  visibility: hidden;
}
#wrapper,
#wrapper #pages {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#wrapper {
  overflow: hidden;
}
#loader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}
#loader.visible {
  opacity: 1;
  visibility: visible;
}
#loader .loading {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  border: 5px solid #919191;
  border-top: 5px solid #ffffff;
  animation: loader 0.7s infinite linear;
}
@keyframes loader {
  100% {
    transform: rotate(360deg);
  }
}
/** 03. SHOWCASE **/
.showcase {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  transition: transform 1s cubic-bezier(0.6, 0, 0.3, 1);
}
.showcase.about-open {
  transform: translate3d(100%, 0, 0);
}
.showcase.project-open {
  transform: translate3d(-50%, 0, 0);
}
.showcase .sidebar {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
}
.showcase .sidebar.controls {
  left: 0;
}
.showcase .sidebar.previews {
  right: 0;
}
.showcase .sidebar.controls .main-title {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  position: absolute;
  top: 50px;
  left: 50px;
}
.showcase .sidebar.controls .about-link {
  position: absolute;
  bottom: 50px;
  left: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
}
.showcase .sidebar.controls .about-link::before {
  content: '';
  width: 10px;
  height: 2px;
  background: #111111;
  position: absolute;
  bottom: -5px;
  left: 0;
}
.showcase .sidebar.controls .controls-projects-list {
  position: absolute;
  top: 100px;
  right: 0;
  bottom: 100px;
  left: 0;
}
.showcase .sidebar.controls .controls-projects-list .projects-list {
  width: 100%;
  text-align: center;
  padding: 0 100px;
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
}
.showcase .sidebar.controls .controls-projects-list .projects-list li:not(:last-child) {
  margin-bottom: 5px;
}
.showcase .sidebar.controls .controls-projects-list .projects-list li a {
  font-family: 'Amiri';
  font-size: 32px;
  color: #111111;
}
.showcase .sidebar.previews .preview {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}
.showcase .sidebar.previews .preview.active {
  opacity: 1;
  visibility: visible;
}
.showcase .sidebar.previews .close-project {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 100px;
  z-index: 10;
  margin-top: -30px;
  border-radius: 50%;
  background: #ff6600;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.5s ease;
}
.showcase .sidebar.previews .close-project.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.showcase .sidebar.previews .close-project:hover {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -5px;
}
.showcase .sidebar.previews .close-project span {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.showcase .sidebar.previews .close-project span::before,
.showcase .sidebar.previews .close-project span::after {
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  background: #ffffff;
}
.showcase .sidebar.previews .close-project span::before {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}
.showcase .sidebar.previews .close-project span::after {
  bottom: 50%;
  margin-bottom: -1px;
  transform: rotate(-45deg);
}
/** 04. ABOUT **/
#about {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: -100%;
  z-index: 1;
  background: #111111;
  transition: left 1s cubic-bezier(0.6, 0, 0.3, 1);
}
#about.open {
  left: 0;
}
#about #about-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow-y: scroll;
}
#about .about-content-inner {
  padding: 200px 0;
}
#about .about-close {
  position: absolute;
  top: 50px;
  right: 100px;
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
#about .about-close:hover {
  opacity: 0.7;
}
/** 05. PROJECTS **/
#project {
  width: 50%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 1;
  transition: left 1s cubic-bezier(0.6, 0, 0.3, 1);
}
#project.open {
  left: 50%;
}
#project #project-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow-y: scroll;
}
#project .project-content-inner {
  padding: 100px 80px;
}
/** 06. HELPERS **/
.float--left {
  float: left;
}
.float--right {
  float: right;
}
.text--left {
  text-align: left;
}
.text--center {
  text-align: center;
}
.text--right {
  text-align: right;
}
div[class*='spacer-'] {
  display: block;
}
.spacer--25 {
  height: 25px;
}
.spacer--50 {
  height: 50px;
}
.spacer--100 {
  height: 100px;
}
.spacer--150 {
  height: 150px;
}
/** 07. MEDIA **/
@media (max-width: 1024px) {
  .showcase.project-open {
    transform: translate3d(-60%, 0, 0);
  }
  .showcase .sidebar.controls {
    width: 60%;
  }
  .showcase .sidebar.previews {
    width: 40%;
  }
  .showcase .sidebar.previews .close-project {
    left: 50px;
  }
  #project {
    width: 60%;
  }
  #project.open {
    left: 40%;
  }
}
@media (max-width: 768px) {
  .showcase {
    z-index: 100;
  }
  .showcase.project-open {
    transform: translate3d(-100%, 0, 0);
  }
  .showcase .sidebar.controls {
    width: 100%;
  }
  .showcase .sidebar.previews {
    width: 0;
  }
  .showcase .sidebar.previews .preview {
    display: none;
  }
  .showcase .sidebar.previews .close-project {
    top: auto;
    bottom: 50px;
    left: 50px;
    z-index: 100;
    margin-top: 0;
  }
  .showcase .sidebar.previews .close-project:hover {
    margin: -5px;
  }
  #project {
    width: 100%;
  }
  #project.open {
    left: 0;
  }
  #about .about-close {
    right: 10%;
  }
}
@media (max-width: 500px) {
  .showcase .sidebar.controls .controls-projects-list {
    top: 80px;
    right: 0;
    bottom: 80px;
    left: 80px;
  }
  .showcase .sidebar.controls .controls-projects-list .projects-list {
    text-align: left;
    padding: 0 25px;
  }
  .showcase .sidebar.controls .controls-projects-list .projects-list li a {
    font-size: 22px;
  }
  .showcase .sidebar.previews .close-project {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 50px;
    left: 25px;
    z-index: 100;
    margin-top: 0;
  }
  .showcase .sidebar.previews .close-project:hover {
    width: 50px;
    height: 50px;
    margin: -5px;
  }
  .showcase .sidebar.previews .close-project span {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
  }
  #about .about-content-inner {
    padding: 100px 0;
  }
  #project .project-content-inner {
    padding: 100px 10%;
  }
}
