/*
Theme Name: PETROLE
Author: Kolja Buscher & Ricardo Ferrol
Version: 1.4
/**************************************************** RESET ****************************************************/

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;
    vertical-align: baseline;
    box-sizing: border-box;
}

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

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

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

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

/**************************************************** FONTS ****************************************************/

@font-face {
    font-family: "Theinhardt";
    src: url('fonts/Theinhardt-Medium.eot');
    src: url('fonts/Theinhardt-Medium.woff2') format('woff2'),
        url('fonts/Theinhardt-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/**************************************************** BASIC ****************************************************/

* {
    font-size: 14px;
    line-height: 14px;
    font-weight: normal;
    font-family: "Theinhardt", Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -webkit-box-shadow: none;
    font-style: normal;
    letter-spacing: 0.02em;
}

/**************************************************** BASIC ****************************************************/

body {
    background-color: rgb(230, 230, 230);
}

.blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(60, 90, 110, 0.8);
}

/* rgba(27, 70, 87, 0.8) */

/**************************************************** PADDING ****************************************************/

.padding-small {
    padding: 1vw;
}

.padding-big {
    padding: 20px;
}

.padding-huge {
    padding: 40px;
}

/**************************************************** LINKS ****************************************************/

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

/**************************************************** NAV ****************************************************/

nav {
    width: 100%;
    max-width: 640px;
    display: flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    justify-content: center;
}

nav span {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 160px;
    text-transform: uppercase;
    color: rgba(60, 90, 110, 0.8);
    cursor: pointer;
}

nav a.active span,
nav span.active {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(60, 90, 110, 0.8);
    color: white;
}

@media screen and (min-width: 1025px) {
    nav span:hover {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(60, 90, 110, 0.8);
        color: white;
    }
}

nav a {
    color: rgba(60, 90, 110, 0.8);
}

/**************************************************** INFO ****************************************************/

.info {
    position: fixed;
    width: 100%;
    position: fixed;
    bottom: 0px;
    transform: translateY(100%);
    transition: transform ease-in-out 400ms;
    display: flex;
    padding-bottom: 50px;
    z-index: 100;
    flex-flow: row wrap;
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%;
    align-items: flex-start;
    align-content: flex-start;
    max-height:80%;
    overflow:auto;
}

.info.visible {
    transform: translateY(0%);
}

.info,
.info * {
    color: white;
}

.info div {
    width: 33.333%;
}

/**************************************************** CREDITS ****************************************************/

.credits-overlay {
    width: 100%;
    position: fixed;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(60, 90, 110, 0.8);
    color: white;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    display: none;
}

.credits-overlay.visible {
    display: block;
}

.credits img {
    filter: blur(60px);
}

.flickity-viewport {
    overflow: visible;
}

/**************************************************** GRIDDER ****************************************************/

.lg-col .lg-caption {
    margin-top: 5px;
}

.lg-col .lg-caption>* {
    color: rgba(60, 90, 110, 0.8);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

.lg-grid {
    padding: 0px !important;
}

.lg-column-wrap > * {
    margin-top:5px;
}

.lg-placeholder {
    background: rgb(230, 230, 230);
}

.lg-col a:hover img {
    mix-blend-mode:exclusion;
}

/**************************************************** PROJECT ****************************************************/

body.single {
    overflow: hidden;
}

.project {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.main-carousel,
.main-carousel .carousel-cell,
.main-carousel img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.flickity-slider {
    transform: none !important;
}

.carousel-cell {
    left: 0 !important;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
    cursor: none;
    transform: none !important;
}

.carousel-cell.is-selected {
    opacity: 1;
    z-index: 0
}

.project.bgblur {
    filter: blur(10px);
}

.cursor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    cursor: none;
    color: rgba(60, 90, 110, 0.8);
    width: 38px;
    height: 15px;
    text-transform: uppercase;
}

/**************************************************** INTRO ****************************************************/

body.page-id-45 {
    overflow: hidden;
}

.intro {
    font-size: 0px;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 200;
    background-color: rgb(230, 230, 230);
}

.intro div {
    display: inline-block;
    height: 100%;
    position: absolute;
}

.intro div img {
    width: 122%;
    height: 122%;
    top: -11%;
    left: -11%;
    object-fit: cover;
    position: absolute;
}

.logo {
    position: fixed;
    top: 50%;
    left: 0px;
    right: 0px;
    width: 100%;
    transform: translateY(-50%);
    z-index: 202;
    font-size: 0px;
    height:7.68vw;
    letter-spacing: 0.031em;
    text-align: center;
    color: white;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.intro .images-2 {
    width: 75%;
}

.intro .images-2:nth-of-type(1) {
    left: 0%;
    right: initial;
    -webkit-mask-image: -webkit-gradient(linear, 33.333% top, 100% top, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
    z-index: 1;
}

.intro .images-2:nth-of-type(2) {
    left: 25%;
    right: initial;
}

.intro .images-3 {
    width: 43.333%;
}

.intro .images-3:nth-of-type(1) {
    left: 0%;
    right: initial;
    -webkit-mask-image: -webkit-gradient(linear, 66% top, 100% top, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
    z-index: 3;
}

.intro .images-3:nth-of-type(2) {
    left: 28.333%;
    right: initial;
    z-index: 2;
    -webkit-mask-image: -webkit-gradient(linear, 66% top, 100% top, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
}

.intro .images-3:nth-of-type(3) {
    left: 56.666%;
    right: initial;
    z-index: 1;
}

#myText {
    font-size: 5.15vw;
    line-height: 3.5vw;
    letter-spacing: 0.031em;
    fill: #000;
    top: 0px;
}

.masked {
    mask: url("#myMask");
    height: 10vw;
}

/**************************************************** LEGALS ****************************************************/

.legals {
    padding-top:150px;
    width:100%;
    max-width:800px;
    margin:0 auto;
}

.legals p {
    margin-bottom:1rem;
    color: rgba(60, 90, 110, 0.8);
}

/**************************************************** MOBILE ****************************************************/



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

    .lg-column-wrap {
        display: flex;
        flex-flow: row wrap;
        flex-grow: 0;
        flex-shrink: 0;
        width: 100%;
        align-items: flex-start;
        align-content: flex-start;
    }

    .lg-col {
        width:100%;
        padding-bottom:10px;
    }

    nav span {
        width:calc(100vw / 3);
    }

    .padding-small {
        padding:10px;
    }

    .lg-desktop-grid .lg-row,
    .lg-col {
        padding:0px !Important;
    }

    .lg-column-wrap > * {
        margin-top:10px;
    }

    .info div {
        width:100%;
    }

    .info {
        padding-bottom:0px;
    }


    .intro .images-2 {
        width: 100%;
        height:75%;
    }

    .intro .images-2:nth-of-type(1) {
        left: 0%;
        top:0%;
        -webkit-mask-image: -webkit-gradient(linear, left 33.333, left 100%, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
        z-index: 1;
    }

    .intro .images-2:nth-of-type(2) {
        left: 0%;
        top: 25%;
    }

    .intro .images-3 {
        width: 100%;
        height: 43.333%;
    }

    .intro .images-3:nth-of-type(1) {
        top: 0%;
        left: initial;
        -webkit-mask-image: -webkit-gradient(linear, left 66%, left 100%, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
        z-index: 3;
    }

    .intro .images-3:nth-of-type(2) {
        top: 28.333%;
        left: initial;
        z-index: 2;
        -webkit-mask-image: -webkit-gradient(linear, left 66%, left 100%, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
    }

    .intro .images-3:nth-of-type(3) {
        top: 56.666%;
        left: initial;
        z-index: 1;
    }

    #myText {
        font-size: 11.5vw;
        line-height: 12vw;
        letter-spacing: 0.031em;
        fill: #000;
        top: 0px;
    }
    
    .masked {
        mask: url("#myMask");
        height: 11.5vw;
    }

    .logo,.text-demo {
        height:11.5vw !important;
    }

}

/**************************************************** BIG SCREEN ****************************************************/


@media screen and (min-width: 1900px) {

    * {
        font-size: 18px;
        line-height: 18px;
    }

    .lg-col .lg-caption>* {
        font-size: 14px;
    }


}