/* -----------------------------------------------------------------------------

  GENERAL
  
----------------------------------------------------------------------------- */

.wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.segment {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 100%;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.navigation {
    z-index: 20;
}
.banner {
    z-index: 2;
}
.about {
    z-index: 3;
}
.projects-wrapper {
    z-index: 4;
}
.intro-block {
    z-index: 5;
}
.project-content {
    z-index: 6;
}

/* -----------------------------------------------------------------------------

  MENU
  
----------------------------------------------------------------------------- */

.navigation {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: #263248;
}
.menu {
    line-height: 1;
    margin: 0 auto;
}
.menu__list {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}
.menu__item {
    display: block;
    margin: 1em .5em;
}
.menu__link {
    font-size: 1.05em;
    font-weight: bold;
    display: block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
    width: 130px;
    padding: 1em 0;
}
.menu__link:hover,
.menu__link:focus {
    outline: none;
}
a {
    text-decoration: none;
    color: #7E8AA2;
    outline: none;
}
a:hover,
a:focus {
    color: #FF9800;
}
.menu .menu__item--current .menu__link {
    color: #FF9800;
}
.menu .menu__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300%;
    height: 50px;
    opacity: 0;
    background: url(../img/line.png) no-repeat top left;
    -webkit-transform: translate3d(130px, 0, 0);
    transform: translate3d(130px, 0, 0);
    -webkit-transition: -webkit-transform 0s 0.3s, opacity 0.3s;
    -webkit-transition: opacity 0.3s, -webkit-transform 0s 0.3s;
    transition: opacity 0.3s, -webkit-transform 0s 0.3s;
    transition: transform 0s 0.3s, opacity 0.3s;
    transition: transform 0s 0.3s, opacity 0.3s, -webkit-transform 0s 0.3s;
}
.menu .menu__item--current .menu__link::before {
    opacity: 1;
    -webkit-transform: translate3d(-260px, 0, 0);
    transform: translate3d(-260px, 0, 0);
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}
.menu .menu__helper {
    display: block;
    pointer-events: none;
}
.menu .menu__item--current .menu__helper {
    -webkit-animation: anim-adrian 0.3s forwards;
    animation: anim-adrian 0.3s forwards;
}
@-webkit-keyframes anim-adrian {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
@keyframes anim-adrian {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* -----------------------------------------------------------------------------

  HAMBURGER ICONS COMPONENT
  
----------------------------------------------------------------------------- */


/**
 * Toggle Switch Globals
 *
 * All switches should take on the class `c-hamburger` as well as their
 * variant that will give them unique properties. This class is an overview
 * class that acts as a reset for all versions of the icon.
 */

.c-hamburger {
    visibility: hidden;
    display: block;
    position: absolute;
    overflow: hidden;
    margin: 15px 15px;
    padding: 0;
    width: 35px;
    height: 35px;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}
.c-hamburger:focus {
    outline: none;
}
.c-hamburger span {
    display: block;
    position: absolute;
    left: 7px;
    right: 7px;
    height: 2px;
    background: white;
}
.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    content: "";
}
.c-hamburger span::before {
    top: -8px;
}
.c-hamburger span::after {
    bottom: -8px;
}
@media screen and (max-width:584px) {
    .c-hamburger {
        visibility: visible;
    }
}

/**
 * 
 * 
 */

.c-hamburger--htx {
    background-color: #7E8AA2;
}
.c-hamburger--htx span {
    -webkit-transition: background 0s 0.3s;
    transition: background 0s 0.3s;
}
.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
    -webkit-transition-delay: 0.3s, 0s;
    transition-delay: 0.3s, 0s;
}
.c-hamburger--htx span::before {
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, -webkit-transform;
    transition-property: top, transform;
    transition-property: top, transform, -webkit-transform;
}
.c-hamburger--htx span::after {
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
    transition-property: bottom, transform, -webkit-transform;
}

/* active state, i.e. menu open */

.c-hamburger--htx.is-active {
    background-color: #263248;
}
.c-hamburger--htx.is-active span {
    background: none;
}
.c-hamburger--htx.is-active span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.c-hamburger--htx.is-active span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
    background-color: #FF9800;
    -webkit-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
}

/* -----------------------------------------------------------------------------

    BANNER SECTION
  
----------------------------------------------------------------------------- */

.banner {
    background-color: #FF9800;
    margin-top: 65px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.tagline {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.can {
    font-family: 'Yeseva One', serif;
    font-size: 23vw;
    color: #131919;
    margin: 0 auto;
}
.self {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 4.3vw;
    line-height: 2em;
    text-align: center;
    color: #fff;
    letter-spacing: 4px;
    border-left: 4px solid #fff;
    border-right: 4px solid #fff;
    z-index: 1;
    width: 75%;
    margin: 0 auto 5vh auto;
}
.flower {
    position: absolute;
    top: 0%;
    left: 4.5%;
    width: 40vw;
}
.flower .picture {
    width: 100%;
}

/* -----------------------------------------------------------------------------

  ABOUT SECTION
  
----------------------------------------------------------------------------- */

.about {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: black;
}
.profile {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    padding: 5vh 0;
}
.profile img {
    margin: auto 5vw;
    width: 30%;
    border-radius: 50%;
}
.profile p {
    color: #7E8AA2;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 2em;
    line-height: 2em;
    letter-spacing: 3px;
    margin: auto auto;
    width: 800px;
}
.profile p span:nth-child(1) {
    text-decoration: overline;
}
.profile p span:nth-child(2) {
    color: #ff9800;
}
.profile p span:nth-child(3) {
    color: #fff;
}
@media screen and (max-width:1200px) {
    .can {
        font-size: 30vw;
    }
    .self {
        width: 83%;
        margin: 0 auto 5vh auto;
        font-size: 5vw;
    }
    .flower {
        width: 80vw;
        top: 40%;
        left: 30%;
    }
    .flower .picture {
        width: 100%
    }
    .profile {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .profile img {
        margin: 20px auto 20px auto;
        width: 50%;
        border-radius: 50%;
    }
    .profile p {
        font-size: 4vw;
        text-align: center;
        width: 75vw;
    }
}
@media screen and (max-width:768px) {
    .can {
        font-size: 25vw;
        margin: 2px auto;
    }
    .self {
        font-size: 5vw;
        width: 75%;
        margin-bottom: 7vh;
    }
    .flower {
        top: 30%;
        width: 120vw;
        left: 25%;
    }
    .flower .picture {
        width: 68%;
    }
}
@media screen and (max-width:584px) {
    header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        z-index: 1;
    }
    .navigation.open {
        height: auto !important;
    }
    .menu {
        overflow: hidden;
        height: 0;
    }
    .menu.open {
        overflow: visible;
        height: auto;
    }
    .menu__list {
        display: block;
        margin: 0 auto;
    }
    .flower {
        top: 50%;
        left: 33%;
        margin: 5px auto;
        width: 80vw;
    }
    .flower .picture {
        width: 100%;
    }
    .can {
        margin-top: 3vh;
        padding-left: 10px;
        font-size: 25vw;
    }
    .self {
        font-size: 5vw;
        width: 75%;
        margin: 3vh auto;
    }
}

/* -----------------------------------------------------------------------------

  PORTFOLIO SECTION
  
----------------------------------------------------------------------------- */


/* -------------------------------- 

Patterns - reusable parts of our design

-------------------------------- */

.btn {
    display: inline-block;
    padding: 1.4em 2em;
    background-color: #ff9800;
    box-shadow: 0 1px 20px rgba(238, 187, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
}
.btn:hover {
    color: #fff;
}
.no-touch .btn:hover {
    color: #fff;
    box-shadow: 0 1px 30px rgba(238, 187, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.img-replace {
    /* replace text with image */
    color: transparent;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}
.portfolio {
    margin-bottom: 100vh;
}

/* -------------------------------- 

Intro page

-------------------------------- */

.intro-block {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: #263248;
    /* used to vertical align its content */
    display: table;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.67, 0.15, 0.83, 0.83);
    transition-timing-function: cubic-bezier(0.67, 0.15, 0.83, 0.83);
}
.intro-block::after {
    /* arrow icon visible when .intro-block slides out */
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    top: 95%;
    height: 24px;
    width: 24px;
    background: url(../img/arrow-back.svg) no-repeat center center;
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}
.intro-block .content-wrapper {
    /* vertical align the .intro-block content */
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.intro-block h1 {
    width: 90%;
    margin: 0 auto .6em;
    font-size: 2.4rem;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.intro-block.projects-visible {
    /* translate the .intro-block element to reveal the projects slider */
    -webkit-transform: translateY(-90%);
    transform: translateY(-90%);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    margin-top: 0;
}
.intro-block.projects-visible:after {
    /* show arrow icon */
    opacity: 1;
}
@media only screen and (min-width: 900px) {
    .intro-block::after {
        top: 97.5%;
    }
    .intro-block h1 {
        font-size: 4.4rem;
        font-weight: 300;
    }
    .intro-block.projects-visible {
        -webkit-transform: translateY(-95%);
        transform: translateY(-95%);
    }
}

/* -------------------------------- 

Projects Slider

-------------------------------- */

.projects-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    background-color: #7E8AA2;
    -webkit-transition: visibility 0s 0.5s;
    transition: visibility 0s 0.5s;
}
.projects-wrapper::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'mobile';
    display: none;
}
.projects-wrapper.projects-visible {
    visibility: visible;
    -webkit-transition: visibility 0s 0s;
    transition: visibility 0s 0s;
}
.projects-wrapper .close {
    display: block;
    height: 32px;
    width: 32px;
    position: absolute;
    top: 30px;
    right: 10%;
    background: url(../img/close-dark.svg) no-repeat center center;
}
@media only screen and (min-width: 900px) {
    .projects-wrapper::before {
        /* never visible - this is used in jQuery to check the current MQ */
        content: 'desktop';
    }
}
.slider {
    padding-top: 10vh;
    height: 100%;
    overflow-y: auto;
}
.projects-visible .slider {
    /* smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}
.slider li {
    margin: 4%;
    opacity: 0;
    border-radius: .25em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transition: opacity 0s 0.5s;
    transition: opacity 0s 0.5s;
    /* Force hardware acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    list-style: none;
}
.slider li.slides-in {
    -webkit-transition: opacity 0s 0s;
    transition: opacity 0s 0s;
    opacity: 1;
    -webkit-animation: translate 0.5s;
    animation: translate 0.5s;
}
.slider a {
    display: block;
    height: 100%;
    width: 100%;
}
.slider img {
    display: block;
    border-radius: .25em .25em 0 0;
    width: 100%;
}
.slider .project-info {
    padding: 1em 1.6em;
    background-color: #ebebeb;
    border-radius: 0 0 .25em .25em;
}
.slider h2 {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
}
.slider p {
    font-size: 1.4rem;
    opacity: .6;
    padding: .4em 0;
    /* truncate text with ellipsis if too long */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.slider h2,
.slider p {
    line-height: 1.2;
    color: #0f1926;
}
@media only screen and (min-width: 900px) {
    .slider {
        padding: 0;
        overflow: hidden;
        -webkit-transition: -webkit-transform 0.5s;
        transition: -webkit-transform 0.5s;
        transition: transform 0.5s;
        transition: transform 0.5s, -webkit-transform 0.5s;
        /* Force hardware acceleration */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    .slider h2 {
        font-size: 2rem;
    }
    .slider::after {
        clear: both;
        content: "";
        display: table;
    }
    .slider li {
        position: relative;
        float: left;
        width: 26vw;
        margin: 0 0 0 2vw;
        top: 50%;
        -webkit-transform: translateX(400%) translateY(-50%) rotate(-10deg);
        transform: translateX(400%) translateY(-50%) rotate(-10deg);
        -webkit-transition: opacity 0s 0.3s, -webkit-transform 0s 0.3s;
        transition: opacity 0s 0.3s, -webkit-transform 0s 0.3s;
        transition: opacity 0s 0.3s, transform 0s 0.3s;
        transition: opacity 0s 0.3s, transform 0s 0.3s, -webkit-transform 0s 0.3s;
    }
    .slider li:first-of-type {
        margin-left: 9vw;
    }
    .slider li.slides-in {
        /* this class is used to trigger the entrance animation */
        -webkit-animation: none;
        animation: none;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .slider li.slides-in:first-of-type {
        /* change transition duration/delay for the entrance animation */
        -webkit-transition: -webkit-transform 0.55s 0s;
        transition: -webkit-transform 0.55s 0s;
        transition: transform 0.55s 0s;
        transition: transform 0.55s 0s, -webkit-transform 0.55s 0s;
    }
    .slider li.slides-in:nth-of-type(2) {
        -webkit-transition: -webkit-transform 0.53s 0.05s;
        transition: -webkit-transform 0.53s 0.05s;
        transition: transform 0.53s 0.05s;
        transition: transform 0.53s 0.05s, -webkit-transform 0.53s 0.05s;
    }
    .slider li.slides-in:nth-of-type(3) {
        -webkit-transition: -webkit-transform 0.5s 0.1s;
        transition: -webkit-transform 0.5s 0.1s;
        transition: transform 0.5s 0.1s;
        transition: transform 0.5s 0.1s, -webkit-transform 0.5s 0.1s;
    }
    .slider li.slides-in:nth-of-type(4) {
        -webkit-transition: -webkit-transform 0.48s 0.15s;
        transition: -webkit-transform 0.48s 0.15s;
        transition: transform 0.48s 0.15s;
        transition: transform 0.48s 0.15s, -webkit-transform 0.48s 0.15s;
    }
    .slider.next li.current {
        /* next slide animation */
        -webkit-animation: slide-1 0.5s;
        animation: slide-1 0.5s;
    }
    .slider.next li.current + li {
        -webkit-animation: slide-2 0.5s;
        animation: slide-2 0.5s;
    }
    .slider.next li.current + li + li {
        -webkit-animation: slide-3 0.5s;
        animation: slide-3 0.5s;
    }
    .slider.next li.current + li + li + li + li {
        -webkit-animation: slide-4 0.5s;
        animation: slide-4 0.5s;
    }
    .slider.next li.current + li + li + li + li + li {
        -webkit-animation: slide-5 0.5s;
        animation: slide-5 0.5s;
    }
    .slider.next li.current + li + li + li + li + li ~ li {
        -webkit-animation: slide-6 0.5s;
        animation: slide-6 0.5s;
    }
    .slider.prev li {
        /* previous slide animation */
        -webkit-animation: slide-7 0.5s;
        animation: slide-7 0.5s;
    }
    .slider.prev li.previous {
        /* previous slide animation - the previous class is used to target the slide which was visible right before the current one */
        -webkit-animation: slide-1 0.5s;
        animation: slide-1 0.5s;
    }
    .slider.prev li.previous + li {
        -webkit-animation: slide-2 0.5s;
        animation: slide-2 0.5s;
    }
    .slider.prev li.previous + li + li {
        -webkit-animation: slide-3 0.5s;
        animation: slide-3 0.5s;
    }
    .slider.prev li.current + li {
        -webkit-animation: slide-4 0.5s;
        animation: slide-4 0.5s;
    }
    .slider.prev li.current + li + li {
        -webkit-animation: slide-5 0.5s;
        animation: slide-5 0.5s;
    }
    .slider.prev li.current,
    .slider.prev li.current + li + li ~ li {
        -webkit-animation: none;
        animation: none;
    }
}
@-webkit-keyframes slide-1 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-85%);
    }
}
@keyframes slide-1 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-85%);
        transform: translateY(-50%) translateX(-85%);
    }
}
@-webkit-keyframes slide-2 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-55%);
    }
}
@keyframes slide-2 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-55%);
        transform: translateY(-50%) translateX(-55%);
    }
}
@-webkit-keyframes slide-3 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-23%);
    }
}
@keyframes slide-3 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-23%);
        transform: translateY(-50%) translateX(-23%);
    }
}
@-webkit-keyframes slide-4 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(23%);
    }
}
@keyframes slide-4 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(23%);
        transform: translateY(-50%) translateX(23%);
    }
}
@-webkit-keyframes slide-5 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(55%);
    }
}
@keyframes slide-5 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(55%);
        transform: translateY(-50%) translateX(55%);
    }
}
@-webkit-keyframes slide-6 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(65%);
    }
}
@keyframes slide-6 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(65%);
        transform: translateY(-50%) translateX(65%);
    }
}
@-webkit-keyframes slide-7 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-95%);
    }
}
@keyframes slide-7 {
    0%,
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    50% {
        -webkit-transform: translateY(-50%) translateX(-95%);
        transform: translateY(-50%) translateX(-95%);
    }
}

/* -------------------------------- 

Project slider navigation

-------------------------------- */

.slider-navigation {
    display: none;
}
.slider-navigation a {
    position: absolute;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    height: 60px;
    width: 4%;
    background: url(../img/arrow.svg) no-repeat center center;
    -webkit-transition: opacity 0.2s 0s, visibility 0s 0s;
    transition: opacity 0.2s 0s, visibility 0s 0s;
}
.slider-navigation a.next {
    right: 0;
    left: auto;
}
.slider-navigation a.prev {
    -webkit-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}
.slider-navigation a.inactive {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
@media only screen and (min-width: 900px) {
    .slider-navigation {
        display: block;
    }
}

/* -------------------------------- 

Project content panel 

-------------------------------- */

.project-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    background-color: snow;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s 0s, visibility 0s 0.4s;
    -webkit-transition: visibility 0s 0.4s, -webkit-transform 0.4s 0s;
    transition: visibility 0s 0.4s, -webkit-transform 0.4s 0s;
    transition: transform 0.4s 0s, visibility 0s 0.4s;
    transition: transform 0.4s 0s, visibility 0s 0.4s, -webkit-transform 0.4s 0s;
    -webkit-transition-timing-function: cubic-bezier(0.67, 0.15, 0.83, 0.83);
    transition-timing-function: cubic-bezier(0.67, 0.15, 0.83, 0.83);
}
.project-content > div {
    height: 100%;
    overflow-y: auto;
    padding: 4em 2em;
}
.project-content > div > * {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.project-content > div > a {
    display: block;
}
.project-content > div > a > img {
    margin-bottom: 200px;
    width: 100%;
}
.project-content.is-visible {
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: -webkit-transform 0.4s 0s, visibility 0s 0s;
    -webkit-transition: visibility 0s 0s, -webkit-transform 0.4s 0s;
    transition: visibility 0s 0s, -webkit-transform 0.4s 0s;
    transition: transform 0.4s 0s, visibility 0s 0s;
    transition: transform 0.4s 0s, visibility 0s 0s, -webkit-transform 0.4s 0s;
    -webkit-transition-timing-function: cubic-bezier(0.67, 0.15, 0.83, 0.83);
    transition-timing-function: cubic-bezier(0.67, 0.15, 0.83, 0.83);
}
.project-content.is-visible > div {
    /* smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}
.project-content h2 {
    font-size: 2.4rem;
    font-weight: bold;
}
.project-content em {
    display: block;
    font-size: 1.8rem;
    font-style: italic;
    margin: 1em auto;
}
.project-content p {
    margin-bottom: 1em;
    font-size: 1.4rem;
    color: #6f757c;
}
.project-content em,
.project-content p {
    line-height: 1.6;
}
.project-content .close {
    display: block;
    height: 32px;
    width: 32px;
    position: absolute;
    top: 10px;
    right: 10%;
    background: url(../img/close-dark.svg) no-repeat center center;
}
@media only screen and (min-width: 900px) {
    .project-content h2 {
        font-size: 6rem;
    }
    .project-content em {
        font-size: 2.4rem;
    }
    .project-content p {
        font-size: 1.8rem;
    }
    .project-content .close {
        top: 100px;
        right: 10%;
    }
}

/* -------------------------------- 

Keyframes

-------------------------------- */

@-webkit-keyframes translate {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100px);
    }
    100% {
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}
@keyframes translate {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

/* -------------------------------- 

contact 

-------------------------------- */

.contact {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 90vh;
    background-color: #7e8aa2;
    position: fixed;
    bottom: 10vh;
}
.contact a {
    display: block;
    text-align: center;
}
.contact a h2 {
    text-transform: uppercase;
    font-weight: 400;
    margin: 45px 20px;
    font-size: 7vw;
    color: #0f1926;
}
.contact a span {
    font-family: 'Yeseva One', serif;
    text-transform: capitalize;
    font-size: 4vw;
    color: #0f1926;
    font-style: italic;
    display: block;
    margin: 0 auto;
}
.contact a span:hover {
    text-decoration: overline;
    cursor: pointer;
}
@media screen and (max-width:1024px) {
    .contact a h2 {
        font-size: 8vw;
    }
    .contact a span {
        font-size: 7vw;
    }
}
@media screen and (max-width:768px) {
    .contact a h2 {
        font-size: 11vw;
    }
    .contact a span {
        font-size: 9vw;
    }
}

/* -------------------------------- 

Footer 

-------------------------------- */

footer {
    background-color: #7e8aa2;
    min-height: 10vh;
    position: fixed;
    bottom: 0;
    width: 100%;
}
footer div {
    margin: 0em 5vw;
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    align-self: flex-end;
    font-size: 2.6vw;
}
footer a {
    color: #0f1926;
}
@media screen and (max-width:1024px) {
    footer div {
        font-size: 5vw;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
    }
}
@media screen and (max-width:768px) {
    footer div {
        font-size: 7vw;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
    }
}
::-moz-selection {
    background: #ff9800;
}
::selection {
    background: #ff9800;
}
