@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,300");
/* Grid
********************************************************************* */
.container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }
  @media (min-width: 400px) {
    .container {
      width: 85%;
      padding: 0; } }
  @media (min-width: 550px) {
    .container {
      width: 80%; } }

.column, .columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }
  @media (min-width: 550px) {
    .column, .columns {
      margin-left: 4%; } }

/* For devices larger than 400px */
/* For devices larger than 550px */
@media (min-width: 550px) {
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }
  .one.column, .one.columns {
    width: 4.66666666667%; }
  .two.columns {
    width: 13.3333333333%; }
  .three.columns {
    width: 22%; }
  .four.columns {
    width: 30.6666666667%; }
  .five.columns {
    width: 39.3333333333%; }
  .six.columns {
    width: 48%; }
  .seven.columns {
    width: 56.6666666667%; }
  .eight.columns {
    width: 65.3333333333%; }
  .nine.columns {
    width: 74.0%; }
  .ten.columns {
    width: 82.6666666667%; }
  .eleven.columns {
    width: 91.3333333333%; }
  .twelve.columns {
    width: 100%;
    margin-left: 0; }
  .one-third.column {
    width: 30.6666666667%; }
  .two-thirds.column {
    width: 65.3333333333%; }
  .one-half.column {
    width: 48%; }
  /* Offsets */
  .offset-by-one.column, .offset-by-one.columns {
    margin-left: 8.66666666667%; }
  .offset-by-two.column, .offset-by-two.columns {
    margin-left: 17.3333333333%; }
  .offset-by-three.column, .offset-by-three.columns {
    margin-left: 26%; }
  .offset-by-four.column, .offset-by-four.columns {
    margin-left: 34.6666666667%; }
  .offset-by-five.column, .offset-by-five.columns {
    margin-left: 43.3333333333%; }
  .offset-by-six.column, .offset-by-six.columns {
    margin-left: 52%; }
  .offset-by-seven.column, .offset-by-seven.columns {
    margin-left: 60.6666666667%; }
  .offset-by-eight.column, .offset-by-eight.columns {
    margin-left: 69.3333333333%; }
  .offset-by-nine.column, .offset-by-nine.columns {
    margin-left: 78.0%; }
  .offset-by-ten.column, .offset-by-ten.columns {
    margin-left: 86.6666666667%; }
  .offset-by-eleven.column, .offset-by-eleven.columns {
    margin-left: 95.3333333333%; }
  .offset-by-one-third.column, .offset-by-one-third.columns {
    margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column, .offset-by-two-thirds.columns {
    margin-left: 69.3333333333%; }
  .offset-by-one-half.column, .offset-by-one-half.columns {
    margin-left: 52%; } }

/* Mixins
********************************************************************* */
/* Base Styles
********************************************************************* */
html {
  font-size: 62.5%; }

body {
  font-size: 1.5em;
  line-height: 1.6;
  font-weight: 400;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #222222;
  background: #F9F9F9; }

/* Typography
********************************************************************* */
h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300; }

h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 300; }

h1 {
  font-size: 4.0rem;
  line-height: 1.2;
  letter-spacing: -.1rem; }

h2 {
  font-size: 3.6rem;
  line-height: 1.25;
  letter-spacing: -.1rem; }
  .container:nth-child(2) h2 {
    margin-top: 50px; }

h3 {
  font-size: 3.0rem;
  line-height: 1.3;
  letter-spacing: -.1rem; }

h4 {
  font-size: 2.4rem;
  line-height: 1.35;
  letter-spacing: -.08rem; }

h5 {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: -.05rem; }

h6 {
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 550px) {
  h1 {
    font-size: 5.0rem; }
  h2 {
    font-size: 4.2rem; }
  h3 {
    font-size: 3.6rem; }
  h4 {
    font-size: 3.0rem; }
  h5 {
    font-size: 2.4rem; }
  h6 {
    font-size: 1.5rem; } }

p {
  margin-top: 0; }

/* Links
********************************************************************* */
a {
  color: #800020;
  text-decoration: none; }
  a:hover {
    color: #222222;
    text-decoration: underline; }

/* Header Section
********************************************************************* */
header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: #d87;
  background: -moz-linear-gradient(-45deg, #222222 0%, #800020 100%);
  background: -webkit-linear-gradient(-45deg, #222222 0%, #800020 100%);
  background: linear-gradient(135deg, #222222 0%, #800020 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d87', endColorstr='$colorGrey', GradientType=1 ); }

.title {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  padding: 2rem;
  max-width: 960px;
  text-align: center; }
  .title .smallsep {
    background: #FFFFFF;
    height: 2px;
    width: 70px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px; }
  .title h1 {
    font-size: 80px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 0.85;
    margin-bottom: 28px;
    margin: 0;
    padding: 0;
    color: #FFFFFF; }
    @media only screen and (max-height: 700px) {
      .title h1 {
        font-size: 80px; } }
    @media only screen and (max-width: 500px) {
      .title h1 {
        font-size: 65px; } }
  .title h2 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 50px; }
  .title p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 150%; }
  .title .icon {
    color: #FFFFFF;
    font-size: 50px; }

.main_nav {
  position: fixed;
  top: 0px;
  left: 0;
  max-height: 50px;
  z-index: 999;
  width: 100%;
  padding-top: 17px;
  background: none;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
  top: -100px;
  padding-bottom: 6px; }
  @media only screen and (max-width: 766px) {
    .main_nav {
      padding-top: 20px; } }
  .main_nav.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    opacity: 1;
    top: 0px; }

.open-nav {
  max-height: 400px !important; }

nav {
  width: 100%;
  margin-top: 5px; }
  nav ul {
    list-style: none;
    overflow: hidden;
    text-align: center; }
    @media only screen and (max-width: 766px) {
      nav ul {
        padding-top: 0px;
        margin-bottom: 22px;
        text-align: center;
        width: 100%; } }
    nav ul li {
      display: inline-block;
      margin: 0 0 0 35px;
      line-height: 1.5;
      letter-spacing: 1px; }
      @media only screen and (max-width: 766px) {
        nav ul li {
          width: 100%;
          margin: 0;
          border-bottom: 1px solid #F0F0F0; }
          nav ul li:first-child {
            margin-top: 10px; }
          nav ul li:last-child {
            border-bottom: none; }
            nav ul li:last-child a {
              padding-bottom: 0; } }
      nav ul li a {
        text-transform: uppercase;
        font-size: 14px;
        padding: 10px 0;
        text-decoration: none; }
        nav ul li a:hover {
          color: #222222; }
        @media only screen and (max-width: 766px) {
          nav ul li a {
            display: inline-block;
            width: 100%;
            padding: 15px 0; } }

.mobile-title {
  width: 75%;
  display: none;
  font-size: 1.5em;
  font-weight: 900;
  text-transform: uppercase; }
  @media only screen and (max-width: 766px) {
    .mobile-title {
      display: block; } }

.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 25px;
  top: 5px;
  width: 30px; }
  @media only screen and (max-width: 766px) {
    .mobile-toggle {
      display: block; } }
  .mobile-toggle .line {
    width: 30px;
    height: 4px;
    margin-bottom: 6px;
    background: #000000;
    display: block; }

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  display: block;
  text-align: center;
  font-size: 20px;
  z-index: 100;
  text-decoration: none;
  text-shadow: 0;
  width: 13px;
  height: 13px;
  border-bottom: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  z-index: 9;
  -webkit-transform: translate(-50%, 0%) rotate(45deg);
  -moz-transform: translate(-50%, 0%) rotate(45deg);
  transform: translate(-50%, 0%) rotate(45deg);
  -webkit-animation: fade_move_down 2s ease-in-out infinite;
  -moz-animation: fade_move_down 2s ease-in-out infinite;
  animation: fade_move_down 2s ease-in-out infinite; }

/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
  0% {
    -webkit-transform: translate(0, -10px) rotate(45deg);
    opacity: 0; }
  50% {
    opacity: 1; }
  100% {
    -webkit-transform: translate(0, 10px) rotate(45deg);
    opacity: 0; } }

@-moz-keyframes fade_move_down {
  0% {
    -moz-transform: translate(0, -10px) rotate(45deg);
    opacity: 0; }
  50% {
    opacity: 1; }
  100% {
    -moz-transform: translate(0, 10px) rotate(45deg);
    opacity: 0; } }

@keyframes fade_move_down {
  0% {
    transform: translate(0, -10px) rotate(45deg);
    opacity: 0; }
  50% {
    opacity: 1; }
  100% {
    transform: translate(0, 10px) rotate(45deg);
    opacity: 0; } }

/* CV & About Section
********************************************************************* */
#cv {
  padding: 50px 0; }

#about {
  padding: 50px 0; }
  #about img {
    width: 100%;
    height: auto;
    margin-bottom: 10px; }

/* Work Section
********************************************************************* */
#work {
  padding: 100px 0;
  background-color: #F0F0F0; }

.progressBar {
  margin-bottom: 26px;
  margin-bottom: 1.66em; }
  .progressBar h4 {
    font-size: 16px;
    text-transform: none;
    margin-bottom: 7px;
    margin-bottom: .33em; }
  .progressBar .progressBarContainer {
    width: 100%;
    height: 8px;
    background: #E1E1E1;
    overflow: hidden; }
    .progressBar .progressBarContainer .progressBarValue {
      height: 8px;
      float: left;
      background: #d87;
      /* Old browsers */
      background: -moz-linear-gradient(-45deg, #222222 0%, #800020 100%);
      background: -webkit-linear-gradient(-45deg, #222222 0%, #800020 100%);
      background: linear-gradient(135deg, #222222 0%, #800020 100%); }
      .progressBar .progressBarContainer .progressBarValue.value-00 {
        width: 0; }
      .progressBar .progressBarContainer .progressBarValue.value-10 {
        width: 10%; }
      .progressBar .progressBarContainer .progressBarValue.value-20 {
        width: 20%; }
      .progressBar .progressBarContainer .progressBarValue.value-30 {
        width: 30%; }
      .progressBar .progressBarContainer .progressBarValue.value-40 {
        width: 40%; }
      .progressBar .progressBarContainer .progressBarValue.value-50 {
        width: 50%; }
      .progressBar .progressBarContainer .progressBarValue.value-60 {
        width: 60%; }
      .progressBar .progressBarContainer .progressBarValue.value-70 {
        width: 70%; }
      .progressBar .progressBarContainer .progressBarValue.value-80 {
        width: 80%; }
      .progressBar .progressBarContainer .progressBarValue.value-90 {
        width: 90%; }
      .progressBar .progressBarContainer .progressBarValue.value-100 {
        width: 100%; }

.project {
  width: 22%;
  height: auto;
  margin: 0 4% 4% 0;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  display: inline-block;
  transition: opacity 0.1s ease-in; }
  .project:nth-child(4n) {
    margin-right: 0; }
  @media screen and (max-width: 414px) {
    .project {
      width: 48%;
      margin-right: 4%; }
      .project:nth-child(2n) {
        margin-right: 0; } }
  .project img {
    display: block;
    position: relative;
    width: 100%;
    height: 100%; }
  .project .project-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0; }
    .project .project-overlay .project-overlay-inner {
      position: relative;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%); }
      .project .project-overlay .project-overlay-inner h3 {
        font-size: 2.5rem; }
      .project .project-overlay .project-overlay-inner a {
        font-size: 1.25rem;
        word-break: break-word; }
  .project.project-scalable-on-hover img {
    transition: all 0.7s ease-in-out; }
  .project.project-scalable-on-hover .project-overlay {
    transform: scale(0);
    transition: all 0.5s linear;
    opacity: 0; }
  .project.project-scalable-on-hover:hover img {
    transform: scale(10);
    opacity: 0; }
  .project.project-scalable-on-hover:hover .project-overlay {
    opacity: 1;
    transform: scale(1); }

/* Contact Section
********************************************************************* */
#contact {
  padding: 100px 0 100px 0; }

p.error {
  display: none;
  font-weight: bold;
  text-transform: uppercase;
  color: #800020;
  margin-bottom: 10px; }

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #F5F5F5;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
  border-radius: 0;
  outline: none;
  border: 2px solid #F5F5F5; }
  input[type="email"].error,
  input[type="number"].error,
  input[type="search"].error,
  input[type="text"].error,
  input[type="tel"].error,
  input[type="url"].error,
  input[type="password"].error,
  textarea.error,
  select.error {
    border-color: #800020; }

label {
  display: inline-block;
  margin-bottom: 5px; }

textarea {
  min-height: 250px; }
  @media screen and (max-width: 414px) {
    textarea {
      min-height: 150px; } }

input[type="submit"],
button.submit {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #FFFFFF;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: #222222;
  border-radius: 0px;
  border: 0;
  cursor: pointer;
  box-sizing: border-box; }
  input[type="submit"]:hover,
  button.submit:hover {
    background: #800020;
    text-decoration: none; }

/* Footer Section
********************************************************************* */
footer {
  min-height: 120px;
  padding: 40px 0 40px 0;
  background: #d87;
  background: -moz-linear-gradient(-45deg, #222222 0%, #800020 100%);
  background: -webkit-linear-gradient(-45deg, #222222 0%, #800020 100%);
  background: linear-gradient(135deg, #222222 0%, #800020 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d87', endColorstr='$colorGrey', GradientType=1 );
  box-sizing: border-box; }
  footer p {
    color: #FFFFFF;
    margin: 20px 0 0 0; }

.socialIcons {
  font-size: 34px;
  color: #FFFFFF; }

/* Lists
********************************************************************* */
ul {
  list-style: circle inside; }

ol {
  list-style: decimal inside; }

ol, ul {
  padding-left: 0;
  margin-top: 0; }

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }

li {
  margin-bottom: 1rem; }

/* Spacing
********************************************************************* */
button,
.button {
  margin-bottom: 1rem; }

input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }

pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }

/* Utilities
********************************************************************* */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }

.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }

.u-pull-right {
  float: right; }

.u-pull-left {
  float: left; }

/* Clearing
********************************************************************* */
.container:after, .row:after, .u-cf {
  content: "";
  display: table;
  clear: both; }

/* Misc
********************************************************************* */
.icon {
  padding-right: 10px;
  color: #222222; }

.rule {
  width: 70px;
  height: 2px;
  background: #d87;
  /* Old browsers */
  background: -moz-linear-gradient(-45deg, #222222 0%, #800020 100%);
  background: -webkit-linear-gradient(-45deg, #222222 0%, #800020 100%);
  background: linear-gradient(135deg, #222222 0%, #800020 100%);
  margin-bottom: 50px; }

.back_to_top {
  position: fixed;
  z-index: 999;
  opacity: 0;
  bottom: 0;
  right: 5%;
  position: fixed;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s; }
  .back_to_top a {
    color: #222222;
    background-color: rgba(255, 255, 255, 0.9);
    display: inline-block;
    border-radius: 50px;
    font-size: 50px;
    height: 50px;
    width: 50px; }
    .back_to_top a:hover {
      text-decoration: none;
      color: #800020;
      background-color: white; }
    .back_to_top a:before {
      position: absolute;
      top: -12px; }
  .back_to_top.sticky {
    bottom: 5%;
    opacity: 1; }
