/*
Theme Name: Anorak
Author: Anorak
Author URI: https://www.anorak.agency
Template: hello-elementor
Version: 1.0.0
Text Domain: anorak
*/

body {
    min-height: 560px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.home {
    overflow: hidden;
}

body.home #loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease-in-out, display 0 .2s;
}

body:not(.home) #loading {
    display: none !important;
}

body.freezed {
    overflow: hidden !important;
    max-height: 100vh !important;
}

body:not(.home),
body.loaded {
    overflow: auto;
    overflow-x: hidden;
}

body.loaded #loading {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    display: none;
}

body:after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-color: #1D1E1C;
    z-index: 1000;
    height: 50px;
}

#content .splash-animation-wrapper {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
body.loaded #content .splash-animation-wrapper {
    opacity: 1;
}

@media screen and (min-width: 700px) {
    body {
        padding: 0 50px;
        border: 50px solid #1D1E1C;
    }
}

h1, h1 span, h2 {
    font-family: "Bulevar", Sans-serif;
}

.font-silka,
.font-silka .elementor-heading-title,
.font-silka h2 {
    font-family: "Silka", Sans-serif !important;
}

.font-silka-bold,
.font-silka-bold .elementor-heading-title,
.font-silka-bold h2 {
    font-family: "Silka", Sans-serif !important;
}

.font-bulevar,
.font-bulevar .elementor-heading-title,
.font-bulevar h2 {
    font-family: "Bulevar", Sans-serif !important;
}

.elementor-location-header {
    position: fixed;
    left: 50px;
    right: 50px;
    z-index: 200;
    margin-top: -50px;
    border-top: 50px solid #1D1E1C;
}

.elementor-editor-active .elementor-location-header {
    position: relative;
    width: 100%;
}

.elementor-editor-active .splash-animation-wrapper {
    position: relative;
    width: 100%;
}

.elementor-editor-active .splash-animation-wrapper-cap {
    margin-top: auto !important;
}

@media screen and (max-width: 699px) {
    .elementor-location-header {
        margin-top: 0;
        border: 0 !important;
    }    
}

.elementor-location-header svg {
    width: 150px;
}

@media screen and (min-width: 700px) {
    .elementor-location-header:before,
    .elementor-location-header:after {
        content: "";
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100vh;
        width: 50px;
        background-color: #1D1E1C;
        z-index: 600;
    }

    .elementor-location-header:before {
        left: 0;
    }
    
    .elementor-location-header:after {
        right: 0;
    }

    body.freezed .elementor-location-header:after {
        right: 18px;
    }
}

.menu-item-251 a {
    border: 2px solid #CAFF00;
    border-radius: 1em;
    display: inline-block;
    padding: 2px 5px;
    margin-left: 40px;
}

.menu-item-251 a:hover {
    background-color: #CAFF00;
    color: var( --e-global-color-text ) !important;
    font-weight: bold;
}

.elementor-location-header.darken .e-con-boxed {
    background-color: #1D1E1C !important;
    color: #fff !important;
}

.elementor-location-header.darken svg path {
    color: #fff !important;
    fill: #fff !important;
}

.elementor-location-header.darken a {
    color: #fff !important;
}

.elementor-location-header.darken a:hover {
    color: #fff !important;
}

@media screen and (max-width: 1150px) {
    .elementor-location-header.darken {
        background-color: #1D1E1C !important;
    }    
}

.splash-animation-wrapper {
    height: 100vh;
    overflow: hidden;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 0 !important;
    margin: 0;
}

.pageScrolled.pageScrolledFar .splash-animation-wrapper {
    border: 0 !important;
}

@media screen and (max-width: 699px) {
    .splash-animation-wrapper {
        border: 0 !important;
    }
}

@media screen and (min-width: 700px) {
    .offsetBodyPadding {
        max-width: none !important;
        width: calc(100% + 100px);
        margin-left: -50px !important;
    }
    .pageScrolled.pageScrolledFar  .offsetBodyPadding,
    .pageScrolled.pageScrolledFar  .elementor-location-footer {
        max-width: none !important;
        width: calc(100% + 100px);
        margin-left: -50px !important;
    }
    .offsetBodyPadding {
        max-width: none !important;
    }
    .elementor-location-header {
        left: 50px;
        right: 50px;
    }
    .elementor-location-header .e-con-boxed {
        padding-left: 50px;
        padding-right: 50px;
    }
    .elementor-location-header > .e-con {
        position: relative;
    }
}


#heroText {
    font-family: "Bulevar";
    position: relative;
    max-width: var(--relativeSizePX);
    width: 100%;
    height: calc(var(--relativeSizePX) - 300px);
    min-height: 320px;
    margin: 250px auto 50px auto;
    padding: 0 50px;
    font-size: var(--relativeFontSize);
}

#heroText > span:nth-child(1) {
    top: auto;
    left: calc(0% - var(--scrollpercent) * 30px);
    bottom: auto;
    right: auto;
}

#heroText span:nth-child(2) span {
    top: -.97em;
    left: auto;
    bottom: auto;
    right: 0;
    font-size: 1.35em !important;
}

#heroText span:nth-child(2) {
    top: .5em;
    left: auto;
    bottom: auto;
    right: calc(0% - (var(--scrollpercent) * 30px));
}

@media screen and (max-width: 1930px) {
    #heroText > span:nth-child(1) {
        left: calc(8% - var(--scrollpercent) * 30px);
    }
    #heroText span:nth-child(2) {
        right: calc(8% - (var(--scrollpercent) * 30px));
    }
}

#heroText span:nth-child(3) span {
    top: -0.5em;
    left: calc(-0.35em - var(--scrollpercent) * 30px);
    bottom: auto;
    right: auto;
}

#heroText span:nth-child(3) {
    top: 1em;
    left: calc(25% - (var(--scrollpercent) * 30px));
    bottom: auto;
    right: auto;
}


@media screen and (min-width: 1920px) and (min-height: 1400px) {
   
}



#heroText span:first-child {
    z-index: -1;
}

#heroText span:last-child span {
    width: 100%;
    z-index: -1;
}

#heroText span {
    position: absolute;
    font-style: normal;
    font-weight: 700;
    font-size: 2.3em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1D1D1B;
    padding: 0;
    margin: 0;
}

#heroText span:first-child {
}

/* https://stackoverflow.com/questions/30050556/how-to-make-a-text-stroke-with-transparent-text */
#heroText span:nth-child(2) span {
    font-size: 2.2em;
    color: white;
    text-shadow: 10px 10px #CAFF00, -10px -10px #CAFF00;
}
@supports(-webkit-text-stroke: 10px #CAFF00){
    #heroText span:nth-child(2) span {
        color: transparent;
        -webkit-text-stroke: 10px #CAFF00;
        text-shadow: none;
    }
}
#heroText span:nth-child(3) span {
    color: white;
    text-shadow: 10px 10px #CAFF00, -10px -10px #CAFF00;
    font-family: monospace;
}
@supports(-webkit-text-stroke: 10px #CAFF00){
    #heroText span:nth-child(3) span {
        color: transparent;
        -webkit-text-stroke: 10px #CAFF00;
        text-shadow: none;
    }
}

@media screen and (max-width: 700px) {
    #heroText span:nth-child(2) span {
        text-shadow: 5px 5px #CAFF00, -5px -5px #CAFF00;
        color: transparent !important;
    }
    @supports(-webkit-text-stroke: 5px #CAFF00){
        #heroText span:nth-child(2) span {
            text-shadow: none;
            -webkit-text-stroke: 5px #CAFF00;
            color: transparent !important;
        }
    }
    #heroText span:nth-child(2) span {
        text-shadow: 5px 5px #CAFF00, -5px -5px #CAFF00;
        color: transparent !important;
    }
    @supports(-webkit-text-stroke: 5px #CAFF00){
        #heroText span:nth-child(2) span {
            text-shadow: none;
            -webkit-text-stroke: 5px #CAFF00;
            color: transparent !important;
        }
    }
}

#heroText span:nth-child(2) {
    color: #CAFF00;
}




.heroWrapper {
    text-align: center;
    min-height: var(--relativeSizePX);
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.pageScrolled .heroWrapper {
    background-color: #1D1D1B;
}

.heroWrapper h2 {
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 28vw;
    text-transform: uppercase;
    padding: .5em 0;
    transform: translateY(var(--scrollvalueinversepx));
}

.pageScrolled.pageScrolledFar .heroWrapper h2 {
    transform: translateY(0);
}

.heroWrapper h4 {
    text-align: right;
    color: #fff;
    font-weight: 400;
    font-size: 3vw;
    font-family: "Silka";
    width: 100%;
    position: relative;
    z-index: 50;
    opacity: calc(var(--scrollpercent) / 100);
}

.heroWrapper h4 a {
    color: #CAFF00;
}

.heroRoundelClose {
    position: absolute;
    left: 0;
    top: 150px;
    font-family: "Silka", Sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    letter-spacing: -0.04em;
    text-transform: lowercase;
    color: #FFFFFF;
}

@media screen and (max-width: 2125px) {
    .heroRoundelClose {
        left: 50px; 
    }
}

.heroHeader {

}

.heroHeader .e-con-inner {
    position: relative;
}

.show > div > div > .elementor-widget-html:first-of-type {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    max-width: 1920px !important;
    align-self: flex-start;
    justify-self: flex-start !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.heroWrapper a.heroRoundel {
    position: absolute;
    z-index: 50;
}

.heroWrapper a.heroRoundel:nth-of-type(1) {
    width: 19vw;
    top: 12vw;
    left: 14vw;
}

.heroWrapper a.heroRoundel:nth-of-type(2) {
    width: 28vw;
    right: 13vw;
    top: 14vw;  
}

.heroWrapper a.heroRoundel:nth-of-type(3) {
    width: 34vw;
    left: 17vw;
    top: 31vw;  
}

.heroWrapper a.heroRoundel:nth-of-type(4) {
    width: 16vw;
    right: 0;
    bottom: 30vw;
}

.heroWrapper a.heroRoundel:nth-of-type(5) {
    width: 19vw;
    left: 0;
    bottom: -5vw;
}

.heroWrapper a.heroRoundel img {
    max-width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.heroWrapper span.heroRoundel {
    border-radius: 50%;
    border: 5px solid #CAFF00;
    background-color: transparent;
    width: 120px;
    height: 120px;
    display: inline-block;
    position: absolute;
    pointer-events: none;
}

.heroWrapper span.heroRoundel:nth-of-type(1) {
    top: 2vw;
    left: 45vw;
}

.heroWrapper span.heroRoundel:nth-of-type(2) {
    bottom: 55vw;
    left: 0; 
}

.heroWrapper span.heroRoundel:nth-of-type(3) {
    bottom: 25vw;
    left: 40vw;
}

.heroWrapper span.heroRoundel:nth-of-type(4) {
    bottom: 55vw;
    right: 0;
}

@media screen and (min-width: 1920px) {
    .heroWrapper a.heroRoundel:nth-of-type(1) {
        width: 19vw;
        top: 8vw;
        left: 14vw;
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(2) {
        width: 28vw;
        right: 13vw;
        top: 10vw;  
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(3) {
        width: 34vw;
        left: 13vw;
        top: 31vw;  
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(4) {
        width: 16vw;
        right: 0;
        bottom: 30vw;
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(5) {
        width: 19vw;
        left: 0;
        bottom: -5vw;
    }
}

@media screen and (max-width: 700px) {
    .heroWrapper a.heroRoundel:nth-of-type(1) {
        top: 25vw;
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(2) {
        top: 35vw;  
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(3) {
        top: 55vw;  
    }
}

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

    .heroWrapper h2 {
        font-size: 588px;
    }

    .heroWrapper h4 {
        font-size: 63px;
    }

    .heroWrapper a.heroRoundel:nth-of-type(1) {
        width: 399px;
        height: 399px;
        top: 168px;
        left: 294px;
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(2) {
        width: 588px;
        height: 588px;
        right: 273px;
        top: 210px;  
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(3) {
        width: 714px;
        height: 714px;
        left: 273px;
        top: 651px  
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(4) {
        width: 335px;
        height: 335px;
        right: 0;
        bottom: 630px;
    }
    
    .heroWrapper a.heroRoundel:nth-of-type(5) {
        width: 399px;
        height: 399px;
        left: 0;
        bottom: -105px;
    }
    
    .heroWrapper span.heroRoundel:nth-of-type(1) {
        top: 42px;
        left: 945px;
    }
    
    .heroWrapper span.heroRoundel:nth-of-type(2) {
        bottom: 1155px;
        left: 0; 
    }
    
    .heroWrapper span.heroRoundel:nth-of-type(3) {
        bottom: 525px;
        left: 840px;
    }
    
    .heroWrapper span.heroRoundel:nth-of-type(4) {
        bottom: 1155px;
        right: 0;
    }
}

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

    .heroWrapper h2 {
        font-size: 88px;
    }

    .heroWrapper h4 {
        font-size: 16px;
        margin: 250px 25px 0 0;
    }

    .heroWrapper span.heroRoundel {
        width: 50px;
        height: 50px;
    }

    .heroWrapper a.heroRoundel {
        min-width: 120px;
        min-height: 120px;
    }
}

.splash-animation-wrapper:first-of-type {
    background-color: rgba(255,255,255, var(--scrollvalueinverse)) !important;
}   

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

    .pageScrolled .splash-animation-wrapper:nth-of-type(2) {
        width: calc(100% - 100px);
        margin-left: 50px !important;
    }

    .pageScrolled.pageScrolledFar .splash-animation-wrapper:nth-of-type(2) {
        width: calc(100% + 100px);
        margin-left: -50px !important;
        margin-top: -50px !important;
    }
}

.splash-animation-wrapper:nth-of-type(1) {
    width: calc(100% + 100px);
}

.scrollClick {
    cursor: pointer;
}

.pageScrolled.pageScrolledFar .heroWrapper a.heroRoundel:nth-of-type(1):not(.clicked),
.pageScrolled.pageScrolledFar .heroWrapper a.heroRoundel:nth-of-type(2):not(.clicked),
.pageScrolled.pageScrolledFar .heroWrapper a.heroRoundel:nth-of-type(3):not(.clicked),
.pageScrolled.pageScrolledFar .heroWrapper a.heroRoundel:nth-of-type(4):not(.clicked),
.pageScrolled.pageScrolledFar .heroWrapper a.heroRoundel:nth-of-type(5):not(.clicked) {
    transform: translate(0, 0) !important;
}

/* .heroWrapper a.heroRoundel:nth-of-type(1) {
    transform: translate(var(--scrollvaluepx), calc(var(--scrollvaluepx) / 2)) !important;
}

.heroWrapper a.heroRoundel:nth-of-type(2) {
    transform: translate(var(--scrollvalueinversepx), calc(var(--scrollvaluepx) / 2)) !important;
}

.heroWrapper a.heroRoundel:nth-of-type(3) {
    transform: translate(var(--scrollvaluepx), 0) !important;
}

.heroWrapper a.heroRoundel:nth-of-type(4) {
    transform: translate(var(--scrollvalueinversepx), 0) !important;
}

.heroWrapper a.heroRoundel:nth-of-type(5) {
    transform: translate(var(--scrollvaluepx), calc(var(--scrollvalueinversepx) / 2)) !important;
} */

.heroWrapper a.heroRoundel img {
    transition: all .5s ease-in-out;
}

/* .heroWrapper a.heroRoundel.clicked {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.heroWrapper a.heroRoundel.clicked img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 1;
} */

.heroWrapper a.heroRoundel img {
    transform: scale(1) translate(0, 0) !important;
    position: relative;
    left: 0;
    top: 0;
    opacity: 1;
}

.heroWrapper a.heroRoundel.clicked {
    z-index: 100;
}

.heroWrapper a.heroRoundel.clicked img {
    transition: all .5s linear, opacity .25s .5s linear, transform .75s linear;
    transform: scale(5) translate(-25%, -25%) !important;
    opacity: 0 !important;
    position: fixed;
    left: 50%;
    top: 50%;
}

.heroWrapper a.heroRoundel.clicked img {
}

.heroWrapper a.heroRoundel + div {
    display: none;
    opacity: 0;
    transition: opacity .1s .4s linear;
}

.heroWrapper a.heroRoundel.clicked + div.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 150;
    overflow-y: scroll;
    overflow-x: hidden;
    opacity: 1;
}

#ourworkmasonry {
    
}

#ourworkmasonry .elementor-loop-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 0;
}

/* #ourworkmasonry .e-loop-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
} */

#ourworkmasonry .e-loop-item {
    display: grid;
    /* grid-area: auto / auto / auto / auto; */
    grid-template-rows: auto 75px;
    grid-template-columns: 1fr;
}

#ourworkmasonry .e-loop-item > .e-con-boxed {
    border: 0 !important;
    min-height: auto !important;
    width: 100%;
    font-size: 12px;
}

#ourworkmasonry .e-loop-item > .e-con-boxed h2 {
    text-transform: lowercase;
    font-family: "Silka", Sans-serif !important;
    font-weight: 400;
    font-size: 32px;
}

@media screen and (min-width: 1000px) {
    
    #ourworkmasonry .e-loop-item:nth-of-type(1) { 
        grid-area: 1 / 1 / 3 / 2; 
    }

    #ourworkmasonry .e-loop-item:nth-of-type(1) > .e-con-boxed:first-child {
        height: 732px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(2) {
        grid-area: 1 / 2 / 2 / 3;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(2) > .e-con-boxed:first-child {
        height: 324px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(3) {
        grid-area: 2 / 2 / 3 / 3;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(3) > .e-con-boxed:first-child {
        height: 324px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(4) { 
        grid-area: 3 / 1 / 4 / 2; 
    }

    #ourworkmasonry .e-loop-item:nth-of-type(4) > .e-con-boxed:first-child {
        height: 324px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(5) {
        grid-area: 4 / 1 / 5 / 2;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(5) > .e-con-boxed:first-child {
        height: 324px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(6) {
        grid-area: 3 / 2 / 5 / 3;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(6) > .e-con-boxed:first-child {
        height: 732px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(7) { 
        grid-area: 5 / 1 / 7 / 2; 
    }

    #ourworkmasonry .e-loop-item:nth-of-type(7) > .e-con-boxed:first-child {
        height: 732px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(8) {
        grid-area: 5 / 2 / 6 / 3;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(8) > .e-con-boxed:first-child {
        height: 324px;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(9) {
        grid-area: 6 / 2 / 7 / 3;
    }

    #ourworkmasonry .e-loop-item:nth-of-type(9) > .e-con-boxed:first-child {
        height: 324px;
    }
}


.hoverElementLeftWrapper {

}

.hoverElementLeftWrapper:hover .hoverElementLeft {
    transform: translateX(-110%);
}

.hoverElementLeft {
    transition: all .3s linear;
}