/*
Theme Name: studiohamor
Description: studiohamor
Theme URI: https://andreamantegazza.it
Author: AM Dev
Version: 1.0
*/

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

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

@font-face {
    font-family: 'HelveticaNeueItalic';
    src: url('fonts/HelveticaNeue-MediumItalic.eot');
    src: url('fonts/HelveticaNeue-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeue-MediumItalic.woff2') format('woff2'),
        url('fonts/HelveticaNeue-MediumItalic.woff') format('woff'),
        url('fonts/HelveticaNeue-MediumItalic.ttf') format('truetype'),
        url('fonts/HelveticaNeue-MediumItalic.svg#HelveticaNeue-MediumItalic') format('svg');
}



/* 
-------------------------------------------------------------------------------*/

:root {
    
    --size-title: 1.4vw;
    --line-title: 1.2em; 
    
    --size-body: 0.8vw;
    --line-body: 1.2em; 
    
    --size-body-larger: 0.78w;
    --line-body-larger: 1.2em; 
    
    --size-title-2: 1.5vw;
    --line-title-2: 1.2em; 
}

html{
    overflow-y: auto;
}
body {
    font-size: var(--size-body);
    line-height: var(--line-body);
    font-family: 'HelveticaNeue', helvetica, sans-serif;
}

/* We like off-black for text. */
body, select, input, textarea {color: #000;}

a {color: #000; text-decoration: none;}
a:hover {color: #000;}

::-moz-selection{background: #000; color: #fff; text-shadow: none;}
::selection {background: #000; color: #fff; text-shadow: none;}

a:link {-webkit-tap-highlight-color: #000;}

ins {background-color: #000; color: #fff; text-decoration: none;}
mark {background-color: #000; color: #fff; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }


/* C O D E
-------------------------------------------------------------------------------*/

#header {
    display: flex;
    flex-direction: row;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5000;
    padding: 1.5vw 1vw;
}

#header img.main-logo {
    display: block;
    height: 2vw;
}

/*
#header .toggle-menu {
    position: absolute;
    right: 5vw;
}
#header .toggle-menu img {
    height: 2em;
    display: block;
    cursor: pointer;
}
*/


#nav {
    font-family: 'TAYWingman';
    display: none;
    padding: 0 10vw;
}
#nav.visible {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 5000;
    height: 100svh;
    width: 100%;
    background-color: #000;
    color: #fff;
        padding-top: 2em;
}
#nav.visible * {
    color: #fff;
}
#nav .list-block {
    display: flex;
    flex-direction: row;
    line-height: 1.4em;
        padding-bottom: 1em;
        letter-spacing: 0.1em;
}
#nav .list-block .block-title {
    width: 25%;
    cursor: pointer;
}
#nav .list-block .block-content {
    width: 40%;
    flex-direction: column;
    display: none;
}
#nav .list-block.visible .block-content {
    display: flex;
}
#nav .list-block .block-content ul li a {
    text-transform: uppercase;
}
#nav .list-block ul li .pvw-image {
    display: none;
}
#nav .list-block ul li:hover .pvw-image {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    position: absolute;
    right: 5vw;
    top: 2em;
    /* border: 1px solid #fff; */
    width: 35%;
    height: 20vw;
    background-position: center right;
    background-size: contain;
    background-repeat: no-repeat;
}
#nav .list-block ul li .pvw-image img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    pointer-events: none;
}


.home .splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 5000;
    cursor: pointer;
    background-position: center;
    background-size: auto 105%;
    background-repeat: no-repeat;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.home .splash img {
    height: 4vw;
    display: block;
}

.home .box-about {
    width: 15%;
    position: fixed;
    left: 42.5%;
    top: calc(50vh - 10vw);
    height: 20vw;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 5px 10px;
    z-index: 5;
    font-family: 'HelveticaNeueItalic';
}
.home .box-rule {
    width: 30%;
    position: fixed;
    left: 16%;
    top: 2vw;
    height: 20vw;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    padding: 5px;
    z-index: 0;
    color: #fff;
    padding-left: 12vw;
    padding-top: 5vw;
}
.home .box-practice {
    width: 33%;
    position: fixed;
    left: 4%;
    bottom: 0;
    height: 22vw;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    padding: 5px;
    z-index: 0;
    color: #fff;
    padding-left: 2vw;
    padding-top: 4vw;
}
.home .box-narratives {
    width: 40%;
    position: fixed;
    right: 0;
    top: 0;
    height: 22vw;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    padding: 5px;
    z-index: 0;
    color: #fff;
    padding-left: 2vw;
    padding-top: 4vw;
}
.home .box-narratives {
    width: 36%;
    position: fixed;
    right: 0;
    top: 0;
    height: calc(100vh - 6vw);
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    z-index: 0;
    color: #fff;
    padding-right: 3vw;
}
.home .box-about,
.home .box-rule,
.home .box-practice,
.home .box-narratives {
    color: transparent;
    transition: color 0.3s;
}
.home .box-about:hover,
.home .box-rule:hover,
.home .box-practice:hover,
.home .box-narratives:hover {
    color: #fff;
}


.home .box-contacts {
    position: fixed;
    right: 1vw;
    bottom: 1vw;
    z-index: 0;
}

.home .center-logo {
    position: fixed;
    height: 6vw;
    top: calc(50vh - 3vw);
    width: 26vw;
    left: 37vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.home .center-logo img {
    display: block;
    height: 4vw;
    
}


.home #header {
    display: none;
}
.home footer {
    display: none;
}




/* SINGLE WORK
 * ------------------------------------------------------------*/
.single .entry {
    padding-top: calc(50vh - 12.5vw);
    height: 100svh;
    padding-left: 2vw;
    padding-right: calc(5vw);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.single .entry .entry-title {
    font-family: 'TAYWingman';
    text-transform: uppercase;
    font-size: var(--size-title);
    line-height: var(--line-title);
    letter-spacing: 2px;
}
.single .entry .main-content {
    width: 45%;
    height: calc(100% - 11vh);
    display: flex;
    flex-direction: column;
}
.single .entry .main-content .text-content {
    padding-left: 3vw;
    padding-top: 1em;
    padding-right: 5vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.single .entry .main-content .text-content p {
    text-align: justify;
    margin-bottom: 1em;
}
.single .entry .main-content .text-content .credits {
    font-family: 'TAYWingman';
    margin-top: 1em;
        margin-top: auto;
}
.single .entry .slider-content {
    width: 55%;
}

.single #nav.visible {
    margin-top: calc(50vh - 12.5vw);
    height: calc(100svh - 12.5vw)
}

/**/
.single .entry .swiper {
    height: 100%;
    display: flex;
    flex-direction: row;
}
.single .entry .works-slider .swiper-wrapper {
    width: 100%;
    height: 100%;
}
.single .entry .slick-list.draggable {
    height: 100%;
}
.single .entry .swiper .next-arrow.slick-arrow {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.single .entry .swiper .swiper-slide {
    background-size: contain;
    background-repeat: no-repeat;
    width: fit-content;
        display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.single .entry .swiper .swiper-slide img {
    max-height: 100%;
    display: block;
    pointer-events: none;
}
.single .entry .slider-content {
    width: 55%;
    height: calc(100% - 11vh);
}
.single .entry .works-slider .swiper-wrapper {
  transition-timing-function: linear; /* niente easing */
}

.single .entry .copy {
    position: absolute;
    right: 2vw;
    text-align: right;
}


.single .category {
    position: fixed;
    bottom: 2vw;
    left: 2vw;
    font-family: 'TAYWingman';
    text-transform: uppercase;
    font-size: var(--size-title);
    line-height: var(--line-title);
    letter-spacing: 2px;
}

.single footer {
    display: none;
}





/* SINGLE MOVING
 * ------------------------------------------------------------*/
.single.single-moving .entry {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: calc(5vh + 4em);
}
.single.single-moving .entry .main-content {
    width: 100%;
}
.single.single-moving .entry .video-content {
    height: 100%;
}
.single.single-moving .entry .video-content video {
    height: 100%;
}






/* PAGE ABOUT
 * ------------------------------------------------------------*/
.page-template-page-about .entry {
    min-height: 100dvh;
    padding: 0 1vw;
    padding-top: calc(1.5vw + 2vw + 20px);
    display: flex;
    flex-direction: row;
    padding-bottom: 1vw;
}
.page-template-page-about .entry .image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 33%;
}
.page-template-page-about .entry .text {
    width: 66%;
    padding-left: 1vw;
    padding-right: 33%;
    line-height: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.page-template-page-about .entry p {
    margin-bottom: 1em;
}
.page-template-page-about .frase {
    margin-top: 4em;
}
.page-template-page-about .frase h2 {
    font-size: var(--size-title-2);
    line-height: var(--line-title-2);
    margin-bottom: 1em;
}

.page-template-page-about footer {
    display: none;
}





/* PAGE PRACTICE
 * ------------------------------------------------------------*/
.page-template-page-practice .slick-slide {
    height: 100dvh;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    padding: 5vw 0;
}
.page-template-page-practice .slick-slide img {
    height: 100%;
    display: block;
}
.page-template-page-practice .prev-arrow.slick-arrow {
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 0;
    height: 100dvh;
    padding: 20px;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20%;
    cursor: pointer;
}
.page-template-page-practice .next-arrow.slick-arrow {
    position: absolute;
    z-index: 1000;
    right: 0;
    top: 0;
    height: 100dvh;
    padding: 20px;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20%;
    cursor: pointer;
}
.page-template-page-practice footer {
    display: none;
}





/* PAGE NARRATIVES
 * ------------------------------------------------------------*/
.page-template-page-narratives .entry .narratives-slider.slick-initialized.slick-slider {
    width: 100vw;
}

.page-template-page-narratives .slick-slide {
    height: 100dvh;
}
.page-template-page-narratives .slick-slide img {
    height: 100%;
    display: block;
}
.page-template-page-narratives .slick-slide.intro-video {
    width: 100vw;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.page-template-page-narratives .slick-slide.single-slide.edited {
    width: 100vw;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.page-template-page-narratives .prev-arrow.slick-arrow {
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 0;
    height: 100dvh;
    padding: 20px;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20%;
    cursor: pointer;
}
.page-template-page-narratives .next-arrow.slick-arrow {
    position: absolute;
    z-index: 1000;
    right: 0;
    top: 0;
    height: 100dvh;
    padding: 20px;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20%;
    cursor: pointer;
}
.page-template-page-narratives footer {
    display: none;
}

.page-template-page-narratives .side-menu {
    position: absolute;
    right: 2vw;
    z-index: 6000;
    text-align: right;
    line-height: 5em;
    opacity: 0.1;
}
.page-template-page-narratives .side-menu {
	opacity: 1;
	transition: opacity 0.3s ease;
}
.page-template-page-narratives .side-menu:hover {
    opacity: 1;
}
.page-template-page-narratives .side-menu li {
    cursor: pointer;
}
.page-template-page-narratives .side-menu li.active {
    font-weight: bold;
    font-style: italic;
}



/* PAGE NARRATIVES
 * ------------------------------------------------------------*/
.page-template-page-narratives .entry {
    min-height: 100dvh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}




/* PAGE MANIFESTO
 * ------------------------------------------------------------*/
.page-template-page-rule .entry {
    height: 100dvh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding 1vw;
    padding-top: calc(1.5vw + 2vw + 20px);
    padding-bottom: calc(1.5vw + 2vw + 20px);
    
}
.page-template-page-rule .entry .image-wrapper {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.page-template-page-rule .entry .image-wrapper p {
    margin-bottom: 1em;
}




.page-template-page-rule .entry h1 {
    position: fixed;
    right: 1vw;
    bottom: 1vw;
}

.page-template-page-rule footer {
    display: none;
}








/* PAGE MANIFESTO
 * ------------------------------------------------------------*/
.page-template-page-manifesto .entry {
    height: 100dvh;
    background-position: center;
    background-size: auto 105%;
    background-repeat: no-repeat;
    padding: 0 25%;
    padding-top: calc(50vh - 12.5vw);
    text-align: center;
}
.page-template-page-manifesto .entry p {
    margin-bottom: 1em;
}
.page-template-page-manifesto .frase {
    margin-top: 4em;
}
.page-template-page-manifesto .frase h2 {
    font-size: var(--size-title-2);
    line-height: var(--line-title-2);
    margin-bottom: 1em;
}




/* 
 * ------------------------------------------------------------*/





#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    font-family: serif;
    padding-bottom: 5vh;
}



@media screen and (max-width: 960px) {
    
    :root {
        --size-title: 18px;
        --line-title: 1.2em; 

        --size-title-site: 20px;
        --line-title-site: 1.2em; 

        --size-body: 14px;
        --line-body: 1.2em; 

        --size-body-larger: 12px;
        --line-body-larger: 1.2em; 
        
        --size-title-2: 16px;
        --line-title-2: 1.2em; 

    }

    
    body {
        height: 100svh;
    }
    
    #header {
        padding: 20px;
        background-color: #fff;
    }
    #header img.main-logo {
        display: block;
        height: 6vw;
    }
    


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

    #nav {
        padding: 0 20px;
    }
    #nav.visible,
    .single #nav.visible {
        height: initial;
        margin-top: 0;
        padding-top: calc(4em + 1.2em + 4em);
        height: 100dvh;
        z-index: 1000;
                overflow-y: scroll;
    }
    
    #nav .list-block {
        flex-direction: column;
    }
    #nav .list-block .block-title {
        width: 100%;
    }
    #nav .list-block.visible .block-content {
        width: 100%;
        padding-left: 50px;
        padding-top: 10px;
    }
    #nav .list-block ul li .pvw-image,
    #nav .list-block ul li:hover .pvw-image {
        display: flex;
        position: initial;
        margin-bottom: 20px;
        margin-top: 10px;
                width: 100%;
        height: initial;
    }
    #nav .list-block ul li .pvw-image img {
        display: block;
        max-height: initial;
        max-width: initial;
        width: 100%;
        pointer-events: initial;
    }
    
    
    
    
    /* 
     * *************************************************/
    .single.single-moving .entry .video-content video {
        height: initial;
        width: 100%;
    }
    
    
    
    
    /* 
     * *************************************************/
    .page-template-page-about .entry {
        padding: 0 20px;
        padding-top: calc(6vw + 20px + 20px);
        height: initial;
        flex-direction: column;
    }
    .page-template-page-about .entry .image {
        width: 100%;
        height: 115vw;
    }
    .page-template-page-about .entry .text {
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
    }
    
    
    
    
    
    .page-template-page-rule .entry .image-wrapper {
            background-size: cover;
    }


    
    
    
    
    
    
    
    .page-template-page-manifesto .entry {
        
         padding: 0 20px;
        padding-top: 10vh;
        background-size: 110% auto;
        background-attachment: fixed;
        height: initial;
    }
    .page-template-page-manifesto .frase {
        margin-top: 2em;
    }
    
    .page-template-page-manifesto #footer {
        position: initial;
    }
    
    
    
    
    /* PAGE PRACTICE
    * ------------------------------------------------------------*/
    .page-template-page-practice .slick-slide {
        width: 100vw;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .page-template-page-practice .slick-slide img {
        height: auto;
        width: 100%;
    }

    
    
    
    /* PAGE Narratives
    * ------------------------------------------------------------*/
    .page-template-page-narratives .slick-slide {
        width: 100vw;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .page-template-page-narratives .slick-slide img {
        height: auto;
        width: 100%;
    }

    
    /* 
     * *************************************************/


    
    .home .splash {
        background-size: cover%;
    }
    .home .splash img {
        height: 10vw;
    }
    
    
    
    .home .center-logo {
        height: 15vw;
        top: calc(50vh - 7.5vw);
        width: 80%;
        left: 10vw;
    }
    .home .center-logo img {
        height: 10vw;
    }
    .home .box-about {
        width: 40%;
        left: 30%;
        top: calc(50vh - 26vw);
        height: 52vw;
    }
    
    .home .box-rule {
        width: 55%;
        left: 20px;
        top: 20px;
        height: 35vw;
    }
    .home .box-practice {
        width: 56%;
        position: fixed;
        left: 0;
        bottom: 0;
        height: 40vw;
    }
    .home .box-narratives {
        width: 47%;
        right: 0;
        top: 0;
        height: 70vw;
    }
    .home .box-contacts {
        right: 10px;
        bottom: 10px;
        z-index: 0;
    }




    
    
    
    #footer {
        font-size: 10px;
        padding-bottom: 20px;
    }
    
    
}

