@import url("https://fonts.googleapis.com/css?family=Lato");
@import url("https://fonts.googleapis.com/css?family=Rozha+One");
@import url("https://fonts.googleapis.com/css?family=Cedarville+Cursive");
@font-face {
  font-family: 'cantilenaregular';
  src: url("../fonts/cantilena-webfont.woff2") format("woff2"), url("../fonts/cantilena-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

body {
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-transition: all 0.5s ease-in;
  -moz-transition: all 0.5s ease-in;
  -o-transition: all 0.5s ease-in;
  -ms-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
  cursor: url("../images/cursor.png") 16 16, auto;
  overflow-x: scroll; }

#logo {
  background: url("../images/blacklogo.png") center center no-repeat;
  background-size: contain;
  height: 10%;
  width: 10%;
  position: absolute;
  left: 4vw;
  top: 2.5vw;
  margin: 0;
  padding: 0;
  transition: all 0.5s ease; }
  @media only screen and (max-width: 768px) {
    #logo {
      height: 10%;
      width: 10%;
      left: 10%;
      top: 5%; } }

#titleSection {
  margin: 5% 0;
  height: 80%;
  position: absolute;
  width: 225vw; }
  @media only screen and (max-width: 768px) {
    #titleSection {
      top: 10%;
      width: 90% !important; } }
  #titleSection div {
    display: inline-block;
    margin: 0; }
    @media only screen and (max-width: 768px) {
      #titleSection div {
        display: block; } }

#workTitle {
  width: 60vw;
  height: 100%; }
  #workTitle h2 {
    margin: 0 0 0 10%;
    font-size: 0.75em;
    letter-spacing: 3px;
    color: #a0a0a0;
    text-transform: uppercase; }
  #workTitle h1 {
    margin: 7.5% 0 0 10%;
    font-size: 4em;
    letter-spacing: -1px;
    font-family: 'Rozha One', serif;
    width: 80%;
    line-height: 0.85em; }
  #workTitle p {
    margin: 7.5% 0 0 10%;
    width: 75%;
    font-size: 1.25em;
    color: #797979; }

#picturesContainer {
  height: 100%;
  width: 100%;
  position: absolute; }

.lastMockup {
  margin: 0 3% 0 0.5% !important; }
  @media only screen and (max-width: 768px) {
    .lastMockup {
      margin: 5% 0 0 5% !important; } }

#workPictures {
  width: 100%;
  height: 100%; }
  @media only screen and (max-width: 768px) {
    #workPictures {
      width: 80vw !important;
      height: 80vw !important;
      margin: 10% 0 10% 0 !important; } }
  #workPictures div {
    display: inline-block;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
    position: relative; }
  #workPictures .workMockup {
    background-color: white;
    background-size: cover !important;
    height: 75vh;
    width: 75vh;
    margin: 1vh;
    margin: 0 2%;
    transition: all 0.25s; }
    #workPictures .workMockup:nth-of-type(2) {
      background: url(../images/razan/Razan1.jpg) left center no-repeat; }
    #workPictures .workMockup:nth-of-type(3) {
      background: url(../images/razan/mockup.jpg) left center no-repeat; }
    #workPictures .workMockup:nth-of-type(5) {
      background: url(../images/razan/BCardsMockup.jpg) left center no-repeat; }
    #workPictures .workMockup:nth-of-type(6) {
      background: url(../images/razan/invoice.jpg) center center no-repeat; }
    @media only screen and (max-width: 768px) {
      #workPictures .workMockup {
        width: 80vw;
        height: 80vw;
        margin: 10% 0 10% 10% !important; } }
    #workPictures .workMockup span {
      position: absolute;
      bottom: 5%;
      left: 5%;
      color: white;
      font-size: 1.5em;
      text-transform: capitalize;
      opacity: 0;
      transition: all 0.25s; }
    #workPictures .workMockup div {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 33%, rgba(0, 0, 0, 0.5) 100%);
      width: 100%;
      height: 100%;
      position: absolute;
      opacity: 0;
      transition: all 0.25s; }
    #workPictures .workMockup:hover span, #workPictures .workMockup:hover div {
      opacity: 1; }

.workDevider {
  background: black;
  height: 5vh;
  width: 3px;
  position: absolute !important;
  transform: none !important;
  margin: 0 !important; }
  @media only screen and (max-width: 768px) {
    .workDevider {
      position: relative !important;
      width: 10vw;
      height: 3px;
      margin: 5% 0 5% 10% !important;
      top: 0 !important; } }
  .workDevider span {
    position: absolute;
    transform: rotate(270deg);
    width: 30vh;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500; }
    @media only screen and (max-width: 768px) {
      .workDevider span {
        transform: none;
        position: inherit !important;
        display: block; } }
    .workDevider span:first-of-type {
      top: -6.5vh;
      right: -14vh; }
      @media only screen and (max-width: 768px) {
        .workDevider span:first-of-type {
          top: inherit;
          right: inherit;
          margin: 10% 0 0 0; } }
    .workDevider span:last-of-type {
      top: -20vh;
      right: -14vh; }
      @media only screen and (max-width: 768px) {
        .workDevider span:last-of-type {
          top: inherit;
          right: inherit; } }

#titleWrapper {
  top: 50%;
  transform: perspective(1px) translateY(-50%);
  position: relative; }
