/* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/open-sans-v34-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/open-sans-v34-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/open-sans-v34-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/open-sans-v34-latin-300.woff') format('woff'), /* Modern Browsers */
         url('fonts/open-sans-v34-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/open-sans-v34-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  
  /* open-sans-regular - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  
  /* open-sans-600 - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/open-sans-v34-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/open-sans-v34-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/open-sans-v34-latin-600.woff') format('woff'), /* Modern Browsers */
         url('fonts/open-sans-v34-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/open-sans-v34-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  /* raleway-300 - latin */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/raleway-v28-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/raleway-v28-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/raleway-v28-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/raleway-v28-latin-300.woff') format('woff'), /* Modern Browsers */
         url('fonts/raleway-v28-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/raleway-v28-latin-300.svg#Raleway') format('svg'); /* Legacy iOS */
  }
  
  /* raleway-regular - latin */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/raleway-v28-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/raleway-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/raleway-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/raleway-v28-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
  }
  
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: '';
    content: none;
}

button,
input[type="submit"],
input[type="reset"] {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

img {
    width: 100%;
    height: auto;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

body {
    background: #fff;
    font-family: 'Raleway', sans-serif;
    color: #999;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2 ease-in-out;
}

button,
input[type="submit"],
input[type="reset"] {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}


/* General */

.wrapper {
    width: 100%;
    padding: 40px;
    margin: 0 auto;
}


/* Type */

header {
    width: 100%;
    padding: 0 30px 30px 30px;
    margin: 0 auto;
}

h1.logo {
    font-size: 17px;
    line-height: 23px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.1em;
    padding-bottom: 16px;
    color: #000;
    position: relative;
}

nav.main {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 0px;
}

nav.main li {
    font-size: 15px;
    line-height: 15px;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
    padding-bottom: 8px;
    transition: all .2s ease-in-out;
    color: #999;
    margin-right: 15px;
    position: relative;
}

nav.main li:after {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    background: transparent;
    width: 100%;
    display: block;
    content: " ";
    transition: .25s background-color ease-in-out;
}

nav.main li.current-item:after,
nav.main li:hover:after {
    background: #000;
}

nav.main li.current-item {
    color: #000;
    transition: color .2 ease-in-out;
}

nav.main li:last-of-type {
    margin-right: 0;
}

nav.main li:hover,
.mobile__btn:hover,
.content__detail a:hover {
    color: #000;
    transition: color .2 ease-in-out;
}

.mobile__btn {
    font-size: 15px;
    line-height: 15px;
    transition: all .2s ease-in-out;
    color: #999;
    letter-spacing: 0.1em;
    font-weight: 300;
    display: none;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    padding-bottom: 15px;
}

.main__wrap {
    padding: 20px 0 0 0;
}

.portfolio {
    width: 100%;
    max-width: 1600px;
    min-height: 100vh;
    margin: 0 auto;
    display: block;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.portfolio.ready {
    opacity: 1;
    transition: opacity .5s ease-in-out;
}

.portfolio__item {
    transition: width .01s ease-in-out;
}

.portfolio__item a {
    transition: opacity .25s ease-in-out;
    opacity: 1;
}

.portfolio__item:hover a {
    transition: opacity .25s ease-in-out;
    opacity: 0.8;
}

.grid {
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: box;
    -js-display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    box-wrap: wrap;
    justify-content: space-between;
    transition: all .5s ease;
    padding-top: 20px;
}

.grid__item {
    width: 49%;
    flex: 0 1 49%;
}

.grid--content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.grid__item.content__detail {
    padding-left: 15px;
}

.content__detail p,
.content__detail li {
    font-size: 15px;
    line-height: 23px;
    font-weight: 300;
}

.content__detail ul,
.content__detail p {
    padding-bottom: 35px;
}

.content__detail p+p {
    margin-top: -20px;
}

.content__detail p a {
    text-decoration: underline;
}

.content__detail h2 {
    font-size: 15px;
    line-height: 23px;
    color: #000;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 10px;
}
.grid__item.content__detail img {
	max-width: 300px;
	margin-top: 15px;
}
.grid__item.col_1x.content__detail {
    margin: 0 auto;
    width: 100%;
    flex: 0 1 69%;
}

footer {
    padding: 65px 0 30px 0;
    text-align: center;
}

footer p,
footer li {
    font-size: 15px;
    line-height: 23px;
    font-weight: 300;
}


/* make keyframes that tell the start state and the end state of our object */

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

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    /* make things invisible upon start */
    -webkit-animation: fadeIn ease-in 1;
    /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 0.35s;
    -moz-animation-duration: 0.35s;
    animation-duration: 0.35s;
}

.fade-in.one {
    -webkit-animation-delay: 0.15s;
    -moz-animation-delay: .15s;
    animation-delay: .15s;
}

@media screen and (max-width: 768px) {
    header {
        width: 100%;
        padding: 10px 15px 10px 15px;
        margin: 0 auto;
    }
    .wrapper {
        width: 100%;
        padding: 15px 20px 15px 20px;
        margin: 0 auto;
    }
    nav.main {
        display: none;
    }
    .mobile__btn {
        display: block;
    }
    .grid__item.col_1x.content__detail {
        margin: 0;
        width: 100%;
        flex: 0 1 100%;
    }
    nav.main li {
        margin-bottom: 7px;
    }
    nav.main li:after {
        bottom: 2px;
    }
    .grid--about .grid__item:first-of-type {
        order: 2;
        width: 100%;
        flex: 0 1 100%;
    }
    .grid--about .grid__item:nth-of-type(2) {
        order: 1;
        width: 100%;
        flex: 0 1 100%;
    }
    .grid__item.content__detail {
        padding-left: 0;
    }
    .portfolio {
        margin-top: -40px;
    }
}

.progressive {
    overflow: hidden;
    position: relative;
    background: #efefef
}

.progressive__img {
    width: 100%;
    height: 100%;
    transform: translateZ(0)
}

.progressive--not-loaded {
    opacity: 1;
}

.progressive--not-loaded img {
    display: none;
    transition: opacity ease-in-out;
}

.progressive--is-loaded {
    opacity: 0;
    animation: a .0s both;
}

.progressive--is-loaded img {
    display: block;
}

@keyframes a {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}