/* Clean Up */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baselinebaseline;
    outline: none;
    box-sizing: border-box;
}

blockquote,
q {
    quotes: none;
}

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

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

img {
    border: 0;
    max-width: 100%;
}

/* Scripts */
.fadeIn {
    opacity: 0;
}

/* Style */
body {
    font-family: 'Lato', sans-serif;
    padding: 0px;
    margin: 0px;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-size: 1em;
    background: black;
    min-height: 150vw;
}

.center_inner_div, #intro {
    display: table;
}

.center_inner_div > div, #intro > div {
    display: table-cell;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
}

#intro {
    width: 100%;
    position: relative;
    padding: 0em 10vw;
    min-height: 98vh;
    box-shadow: inset 240px -50px 200px rgba(0, 0, 0, 0.5);
    background: url("../img/background2.jpg") no-repeat bottom right;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

@media only screen and (max-width: 800px) {
    #intro {
        padding: 3em 2em;
    }
}

#intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

#intro > div {
    padding-top: 32vh;
    z-index: 10;
    width: 100%;
    max-width: 540px;
}

#intro #arrow {
    position: absolute;
    bottom: 1em;
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    cursor: pointer;
    opacity: 0;
    animation: 6s 2s arrowFade linear;
}

@keyframes arrowFade {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 0;
    }
    25% {
        opacity: .6;
    }
    40% {
        opacity: 0;
    }
    55% {
        opacity: .6;
    }
    70% {
        opacity: 0;
    }
    85% {
        opacity: .6;
    }
    100% {
        opacity: 0;
    }
}

#avatar {
    width: 7em;
    border-radius: 7em;
    margin: 0 0 1.5em;
}

h1 {
    font-size: 2em;
    line-height: 1.5em;
    font-weight: 400;
    color: white;
}

h1 img#signature {
    width: 6.8em;
    margin-bottom: -.25em;
    opacity: 1;
    filter: invert(1);
}

h1 img#bsp {
    width: 7.4em;
    margin-left: .14em;
    margin-bottom: -.03em;
}

hide {
    display: none;
}

h3 {
    font-size: 1.1em;
    line-height: 1.8em;
    margin-bottom: .1em;
    font-weight: 400;
    opacity: .85;
    color: white;
}

h3:first-of-type {
    margin-top: 0em;
    padding-top: .4em;
}

h3 img {
    width: 1.1em;
    filter: invert(1);
    margin: 0 .45em -3px .4em;
}

h3 img:nth-child(1) {
    margin-left: 0;
}

strong {
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

h1 a, h2 a, h3 a, .descr a {
    color: inherit;
    text-decoration: underline;
}

h1 a:hover, h2 a:hover, h3 a:hover, .descr a:hover {
    text-decoration: underline;
    font-weight: 800;
}

#menu {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5em;
    margin-top: 2em;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1em;
    line-height: 2em;
}

#menu .filter {
    margin: 0 .4em 0;
    border-radius: .86em;
    color: white;
    font-weight: 400;
    opacity: .35;
    cursor: pointer;
    letter-spacing: 0px;
}

#menu .filter:first-child {
    margin-left: .6em;
}

#menu .filter.active {
    color: #029ff4;
    font-weight: 700;
    opacity: .8;
}

#menu .filter:hover {
    opacity: .7;
}

@media only screen and (max-width: 700px) {
    #menu {
        max-width: 300px;
    }
}

#menu .counter {
    margin-left: .6em;
}

#menu .menutitle {
    margin-right: .6em;
}

#menu #searchfield {
    background: transparent;
    font-size: 1.1em;
    margin-right: .7em;
}

@media only screen and (max-width: 800px) {
    #menu #searchfield {
        display: none;
    }
}

#noresults {
    position: absolute;
    top: 6em;
    opacity: .3;
    z-index: 99;
    left: 0;
    width: 100%;
    text-align: center;
    display: none;
}

.showcase {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    -ms-flex: 0 1 auto;
    -webkit-box-flex: 1;
    flex: 0 1 auto;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    justify-content: center;
    width: 98%;
    margin: 0 auto 3em;
}

.work {
    display: -ms-inline-flex;
    display: -webkit-inline-flex;
    display: inline-flex;
    -ms-flex: 1 1 420px;
    -webkit-box-flex: 1;
    flex: 1 1 420px;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    justify-content: left;
    position: relative;
    padding: 0 .7em .7em;
    max-width: 800px;
    margin: 3px;
    border-radius: 2px;
    font-size: .95em;
    overflow: hidden;
    background: #22272a;
}

.work .buttons {
    display: -ms-inline-flex;
    display: -webkit-inline-flex;
    display: inline-flex;
    -ms-flex: 0 1 auto;
    -webkit-box-flex: 1;
    flex: 0 1 auto;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    justify-content: center;
    height: 2.6em;
    padding: .8em 1.2em .4em;
    margin: 0 -1.2em 1.2em;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
}

.work .buttons > * {
    padding-right: 1.1em;
    margin-right: .8em;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .8em;
    color: inherit;
}

.work .buttons > * > * {
    vertical-align: top;
}

.work .buttons > * img {
    width: 1.4em;
    margin: 0 .6em 0 0;
    opacity: .4;
    filter: invert(1);
    position: relative;
    bottom: .1em;
}

.work .buttons > *.date {
    background: none;
    opacity: .5;
    color: inherit;
    font-weight: 700;
    position: relative;
    bottom: 0;
}

.work .buttons .go {
    color: inherit;
    text-decoration: underline;
}

.work .buttons .go:hover {
    opacity: 1;
    color: white;
}

.work .job {
    font-size: 1.5em;
    color: #b6b6b6;
    margin: -.2em 0;
    line-height: 1.2em;
    text-align: center;
}

.work .title {
    font-size: 3em;
    font-weight: 700;
    letter-spacing: -.5px;
    color: #e9e9e9;
    margin: .3em 0 .4em;
    line-height: 1.1em;
    text-transform: uppercase;
    text-align: center;
}

.work .title em {
    font-size: .75em;
    font-weight: 400;
    text-transform: none;
    display: block;
    color: rgba(255, 255, 255, 0.3);
    margin-top: -.1em;
}

.work strong {
    font-weight: 400;
    color: #fa351a;
}

.work .preview {
    width: 100%;
    height: auto !important;
}

.work .descr {
    -ms-flex: 1 1 auto;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    margin: 0 0 1.9em;
    line-height: 1.5em;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1em;
}

.work .awards {
    display: block;
    margin-top: 1.5em;
    opacity: .3;
    padding: 0em 0em .3em;
    text-align: center;
}

.work .awards img {
    height: 2.6em;
    margin: .4em .4em .1em;
    filter: saturate(0) brightness(2.5);
}

.work .awards.little img {
    height: 1.2em;
}

.show1 {
    -webkit-transform: translateX(45px);
    transform: translateX(45px);
    opacity: 0;
}

.show2 {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
}

.show3 {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    opacity: 0;
}

.show4 {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
    opacity: 0;
}

@media only screen and (max-width: 800px) {
    body {
        font-size: .9em;
    }
}

@media only screen and (max-width: 600px) {
    #intro {
        font-size: .9em;
        min-height: 90vh;
        -webkit-background-size: auto 125%;
        -moz-background-size: auto 125%;
        background-size: auto 125%;
    }
    h3 {
        font-size: 1.2em;
    }
    #menu {
        font-size: .9em;
    }
}