/*!
Theme Name: es
Theme URI: http://underscores.me/
Author: uba.lt
Author URI: http://uba.lt
Description: Custom WP theme for Emilija Skarnulyte
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: es
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

es is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@font-face {
  font-family: 'Egobe Italic';
  src: url('fonts/Egobe Italic.eot?#iefix') format('embedded-opentype'),  url('fonts/Egobe Italic.woff') format('woff'), url('fonts/Egobe Italic.ttf')  format('truetype'), url('fonts/Egobe Italic.svg#Egobe Italic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NeueHaas_RR';
  src: url('fonts/NeueHaas_RR.eot?#iefix') format('embedded-opentype'),  url('fonts/NeueHaas_RR.woff') format('woff'), url('fonts/NeueHaas_RR.ttf')  format('truetype'), url('fonts/NeueHaas_RR.svg#NeueHaas_RR') format('svg');
  font-weight: normal;
  font-style: normal;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

* { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

html,body,
#fullpage{
    height:100%;
    margin: 0;
}
.section,
.slide{
    height: 100%;
}

body {
    font-family: 'NeueHaas_RR', sans-serif;
    font-size: 44px;
    line-height: 1.2em;
}

.site {
    height:100%;
}

.header {
    position: fixed;
    z-index: 9;
    top: 25px;
    left: 30px;
    display: flex;
    flex-wrap: wrap;
    color: #000;
}

.logo {
    margin-top: -6px;
    margin-right: 65px;
    filter: invert(1);
    transition: all 300ms ease-in-out;
}

.logo img {
    height: 43px;
    width: auto;
}

.index-open .logo,
.ac-open .logo {
    filter: none;
}

.index {
    margin-right: 55px;
}

.artist, .index {
    text-transform: uppercase;
    cursor: pointer;
    transition: none;
    color: #ffffff;
}

.artist:hover, .index:hover {
    color: #0000b4;
}

.artist {
    font-style: italic;
    margin-right: 65px;
}

.index-open .index {
    color: #0000b4;
}

.index-open .artist {
    color: #000000;
}

.index-open .artist:hover {
    color: #0000b4;
}

.ac-open .index {
    color: #000000;
}

.ac-open .artist {
    color: #0000b4;
}

/*.artist:hover, .index:hover {
    color: #0000b4;
}

.index-open .artist:hover,
.index-open .index:hover {
    color: #0000b4;
}*/

.artist-close-btn,
.index-close-btn,
.fw-close-btn {
    position: fixed;
    right: 30px;
    top: 25px;
    z-index: 999999999;
}

.ac-open .artist-close-btn,
.index-open .index-close-btn,
.sv-open .fw-close-btn {
    visibility: visible;
    opacity: 1;
}

.controls {
    flex-grow: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    position: fixed;
    right: 30px;
    top: 25px;
    z-index: 10;
}

.open-btn {
    margin-left: 20px;
    cursor: pointer;
    filter: invert(1);
}

.dsc-open .open-btn {
    filter: invert(0);
}

.open-btn.active {
    color: #0000b4;
}

.close-btn {
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: all 200ms ease-in-out;
}

.close-btn img {
    height: 38px;
    width: auto;
}

.open-btn img {
    height: 51px;
    width: auto;
    filter: none;
    transition: all 300ms ease-in-out;
}

/* INDEX */

.index.active {
    color: #0000b4;
}

.index-container {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 300ms ease-in-out;
}

.index-open .index-container {
    visibility: visible;
    opacity: 1;
    z-index: 8;
}

.index-open .header {
    filter: none;
}

.index-open .controls {
    display: none;
}

.index-columns {
    padding-top: 130px;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    height: calc(100vh - 130px);
}

.index-columns ul {
    list-style: none;
    padding: 0;
    margin-top: 1.2em;
}

.index-columns ul li a {
    color: #000;
    text-decoration: none;
}

.index-columns ul li a:hover {
    color: #0000b4;
}

.col1 {
    padding-right: 20px;
    flex-grow: 1;
    flex-basis: 0;
    width: 0;
}

.col2 {
    padding-left: 20px;
    padding-right: 20px;
    flex-grow: 1;
    flex-basis: 0;
    width: 0;
}

.col3 {
    padding-left: 20px;
    flex-grow: 1;
    flex-basis: 0;
    width: 0;
    position: relative;
    padding-bottom: 100px;
}

.section {
    position: relative;
}

.project-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
}

.project-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whitenoise {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/whitenoise.png') no-repeat center center;
    z-index: 7;
    background-size: 100% 100%;
    -webkit-backface-visibility: hidden;
}

.videoOver {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 7;
    background-size: 100% 100%;
    -webkit-backface-visibility: hidden;
}

.project-intro {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 8;
    position: absolute;
    text-align: center;
    -webkit-backface-visibility: hidden;
}

.project-intro a {
    text-decoration: none;
    color: #ffffff;
}

.project-intro h2 {
    font-size: 120px;
    line-height: 0.9em;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Egobe Italic', sans-serif;
    letter-spacing: -0.22em;
    word-spacing: 0.5em;
    color: #ececec;
}

.project-intro h2:hover {
  color: #0000b4;
}

.project-name {
  padding-right: 3rem;
}

.cta-button {
    font-size: 44px;
    line-height: normal;
    color: #000;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    top: -9px;
    cursor: pointer;
}

.cta-button-txt {
    color: #FFF;
}

.cta-button-bg {
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: 1px;
    z-index: -1;
    background: #ececec;
    opacity: 0.5;
}

.cta-button:hover .cta-button-bg {
    opacity: 1;
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.one-image {
    display: flex;
    height: 100%;
}

.two-images {
    display: flex;
    height: 100%;
}

.image-one {
    flex: 50% 0;
}

.image-two {
    flex: 50% 0;
}

.image-one img,
.image-two img,
.one-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dsc-open .description {
    visibility: visible;
    opacity: 1;
    left: 50%;
    right: 0;
}

.dsc-open .close-btn {
    visibility: visible;
    opacity: 1;
}

.close-area {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 50%;
    background: transparent;
    z-index: 9;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 300ms ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.dsc-open .close-area {
    visibility: visible;
    opacity: 1;
}

.mobile-close-btn {
    display: none;
}

.credits {
    position: absolute;
    bottom: 0;
    display: block;
    font-size: 0.6em;
    line-height: 1.2em;
}

.credits a {
    color: #000000;
    text-decoration: none;
}

.description {
    position: fixed;
    top: 0;
    right: -50%;
    left: 100%;
    bottom: 0;
    background: #fff;
    z-index: 9;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 300ms ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.description .inner {
    padding: 25px 40px;
    position: relative;
}

.project-dsc {
    margin-top: 3em;
}

.project-dsc p:first-child{
    margin-top: 0;
}

.project-dsc a {
    color: #0000b4;
    text-decoration: none;
}

.videoContainer {
  padding: 0;
  width: calc(100% + 4px);
  height: calc(100vh + 4px);
  overflow: hidden;
  position: relative;
  margin: -2px;
  background: #000000;
  z-index: -2;
}

.videoContainer iframe {
  box-sizing: border-box;
  width: 177.77777778vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.artist-container {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 300ms ease-in-out;
}

.ac-open .controls, .index-open .controls {
    visibility: hidden;
    opacity: 0;
}

.ac-open .artist-container {
    visibility: visible;
    opacity: 1;
    z-index: 8;
}

.ac-open .header {
    filter: none;
}

.artist-columns {
    padding-top: 130px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 130px;
    display: flex;
    flex-wrap: wrap;
}

.artist-columns p:first-child {
    margin-top: 0;
}

.coltitle {
    text-transform: uppercase;
}

.mobile-close-btn {
    top: 60%;
    transition: all 300ms ease-in-out;
}

.full-video-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: #ffffff;
  visibility: hidden;
  opacity: 0;
  transition: all 300ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-open .full-video-container {
  z-index: 999;
  visibility: visible;
  opacity: 1;
}

.sv-open .full-video-container .video-content {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 120vh;
  height: 120vh;
  max-height: 100%;
  max-width: 120vh;
  text-align: center;
}

.sv-open .full-video-container .video-content iframe,
.sv-open .full-video-container .video-content object,
.sv-open .full-video-container .video-content embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1920px) {
    body {
        font-size: 34px;
        line-height: 1.2em;
    }
    .cta-button {
        font-size: 34px;
        line-height: normal;
    }
    .cta-button-bg {
        top: -8px;
    }
    .logo,.artist {
        margin-right: 55px;
    }
    .logo {
        margin-top: -5px;
    }
    .logo img {
        height: 33px;
    }
    .close-btn img {
        height: 28px;
    }
    .open-btn img {
        height: 41px;
    }
    .open-btn {
        margin-left: 15px;
    }
}

@media screen and (max-width: 960px) {

    body, .cta-button {
        font-size: 21px;
    }

    .index:hover, .artist:hover {
        color: white;
    }

    .index-open .index:hover,
    .index-open .artist:hover,
    .ac-open .artist:hover,
    .ac-open .index:hover{
        color: black !important;
    }

    .cta-button-bg {
        bottom: -3px;
    }

    .close-area {
        top:0;
        bottom: 60%;
        left: 0;
        right: 0;
    }

    .header {
        top: 15px;
        left: 15px;
    }

    .controls {
        top: 15px;
        right: 15px;
    }

    .logo {
        margin-top: 0;
    }

    .dsc-open .open-btn {
        filter: invert(1);
    }

    .dsc-open .description {
        top: 40%;
        left: 0;
        right: 0;
        bottom: 0;
        visibility: visible;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .description {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 999999999;
    }

    .description .inner {
        padding: 15px;
    }

    .artist-columns, .index-columns {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 145px;
        flex-wrap: nowrap;
    }

    .col1, .col2 {
        width: 100%;
        padding: 0;
        flex-grow: 0;
    }

    .col3 {
        width: 100%;
        flex-grow: 0;
    }

    .project-intro h2 {
        font-size: 60px;
    }

    .two-images {
        flex-direction: column;
    }

    .header {
        flex-direction: column;
    }

    .header-close-btn {
        display: none;
    }

    .mobile-close-btn {
        display: block;
        position: fixed;
        top: calc(40% + 15px);
        right: 15px;
        z-index: 9999999;
    }

    .artist-close-btn,
    .index-close-btn {
        position: fixed;
        right: 15px;
        top: 15px;
        z-index: 999999999;
    }

    .artist {
        margin-top: 10px;
        line-height: 1.5em;
        padding-right: 10px;
    }
    .col3 {
        height: auto;
        padding-left: 0;
    }
    .credits {
        padding-bottom: 30px;
    }
}
