@charset "UTF-8";
/*
Theme Name:   	Darius Žiūra
Author:       	Andrius Zupkus
Author URI:   	https://zupk.us
Version:      	1.0.0
*/

@font-face {
    font-family: 'Univers Next Pro';
    src: url('static/UniversNextPro-Regular.woff2') format('woff2'),
    url('static/UniversNextPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Univers Next Pro';
    src: url('static/UniversNextPro-Italic.woff2') format('woff2'),
    url('static/UniversNextPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Univers Next Pro';
    src: url('static/UniversNextPro-Bold.woff2') format('woff2'),
    url('static/UniversNextPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Univers Next Pro';
    src: url('static/UniversNextPro-BoldItalic.woff2') format('woff2'),
    url('static/UniversNextPro-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    line-height: 1.2;
    font-size: 19px;
    font-family: 'Univers Next Pro', sans-serif;
    overflow-y: scroll;
}
#site {
    box-sizing: border-box;
    min-height: 100vh;
    padding: 0 4.6875%;
    position: relative;
    width: 100%;
}
.header {
    display: flex;
    justify-content: space-between;
    padding-top: 80px;
    position: relative;
    z-index: 10;
}
.header__work {
    cursor: pointer;
    user-select: none;
}
.header a {
    color: inherit;
    text-decoration: none;
}
.work {
    display: flex;
    padding: 210px 0;
}
.work h1 {
    font-size: 50px;
    font-weight: normal;
    margin: -6px 0 22px;
}
.year {
}

@media screen and (max-width: 640px) {
    .header {
        flex-wrap: wrap;
        justify-content: center;
        line-height: 1.2em;
        padding-top: 1.2em;
    }
    .header__work {
        order: 2;
    }
    .header__work:after {
        content: '   |   ';
        display: inline-block;
        white-space: pre;
    }
    .header__title {
        flex: 0 0 100%;
        order: 1;
        padding-bottom: 1.2em;
        text-align: center;
    }
    .header__menu {
        order: 3;
    }
    .work {
        padding: 105px 0;
    }
}
@media screen and (max-width: 1279px) {
    .work {
        flex-direction: column;
    }
    .work aside {
        margin-bottom: 70px;
        width: 100%;
    }
    .work article {
        width: 100%;
    }
}
@media screen and (min-width: 1280px) {
    .work aside {
        width: 35%;
        padding-right: 5%;
    }

    .work article {
        line-height: 1.3;
        width: 60%;
    }
}
.work p {
    margin: 1.3em 0 0;
}
.work p:first-of-type {
    margin-top: 0;
}
.wp-block-quote {
    display: block;
    font-size: 15px;
    font-style: normal;
    margin: 70px 0 70px auto;
    width: 85%;
}
.work a {
    color: #959595;
    text-decoration: none;
}
.wp-block-image {
    margin: 70px auto;
    text-align: center;
    max-width: 80%;
}

.wp-block-image img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

.wp-block-image .wp-element-caption {
    font-size: 16px;
    margin-top: 10px;
}

.background {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.background__item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.work-list {
    background: #fff;
    box-sizing: border-box;
    height: 100%;
    left: 0;
    padding: 200px 0 0;
    //position: absolute;
    top: 0;
    z-index: 9;
}
.work-list nav {}
.work-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.work-list li {
    display: block;
}
.work-list li ~ li {
    margin-top: 10px
}
.work-list a {
    color: #000;
    text-decoration: none;
}

.work-menu {
    background: #fff;
    bottom: 0;
    box-sizing: border-box;
    height: 100%;
    left: -100%;
    opacity: 0;
    padding: 0 4.6875%;
    position: absolute;
    top: 0;
    width: 35%;
    z-index: 9;
}

@media screen and (max-width: 1024px) {
    .work-menu {
        width: 70%;
    }
}

@media screen and (max-width: 640px) {
    .work-menu {
        width: 100%;
    }
}

.work-menu--is-active .header__work {
    text-decoration: underline;
}

.work-menu--is-active .work-menu {
    left: 0;
    opacity: 1;
}