
section#header{
    height: calc(100% - 160px);
}
body.admin-bar section#header {
    height: calc(100% - 32px - 160px);
}

section#header:before,
section#header:after{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
section#header:before{
    opacity: 0.05;
    background: url('../img/dot.png');
}
section#header:after{
    background: rgba(0,0,0,0.35);
}

section#header video,
section#header canvas{
    position: absolute;
    left: 50%;
    top: 50%;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
         -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
section#header .replay{
    position: absolute;
    right: 51px;
    bottom: 46px;
    width: 40px;
    height: 40px;
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
    -webkit-transition: all 0.25s ease-out;
       -moz-transition: all 0.25s ease-out;
         -o-transition: all 0.25s ease-out;
            transition: all 0.25s ease-out;
    z-index: 2;
}
section#header .replay.show{
    visibility: visible;
    opacity: 1;
}
section#header .replay path{
    -webkit-transition: all 0.1s ease-out;
       -moz-transition: all 0.1s ease-out;
         -o-transition: all 0.1s ease-out;
            transition: all 0.1s ease-out;
}
section#header .replay:hover path{
    fill: #fff;
}

section#works{
    padding-bottom: 40px;
}

section#works .headline-text{
    height: 160px;
    line-height: 160px;
}

section#works .headline{
    padding: 0 55px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
section#works .headline.current{
    left: 0;
    opacity: 1;
    -webkit-transition: none;
       -moz-transition: none;
         -o-transition: none;
            transition: none;
}
section#works .headline.next{
    left: 100%;
    opacity: 0;
    -webkit-transition: none;
       -moz-transition: none;
         -o-transition: none;
            transition: none;
}
section#works .headline.prev{

    opacity: 0;
    -webkit-transition: left 0.5s ease-out, opacity 0.25s ease-out;
       -moz-transition: left 0.5s ease-out, opacity 0.25s ease-out;
         -o-transition: left 0.5s ease-out, opacity 0.25s ease-out;
            transition: left 0.5s ease-out, opacity 0.25s ease-out;
}

section#works .headline span .text{
    opacity: 0;
}
section#works .headline span .typewriter{
    position: absolute;
    left: 0;
    top: 0;
}

section#works .headline span h2{
    font-size: 24px;
    display: block;
    line-height: inherit;
    margin: 20px 0 15px;
}
section#works .headline span p{
    margin: 0 0 10px;
    font-size: 24px;
}
section#works .headline span p:first-child{
    margin-top: 20px;
}
section#works .headline span p:last-child{
    margin-bottom: 20px;
}

section#works .works{
    margin: 0 -10px;
}

section#works .works .row{
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}

section#works .works > .row{
    opacity: 0;
}
section#works .works .row.show{
    opacity: 1;
}

section#works .works .row.last-tall{
    padding-bottom: 33.333333%;
}

section#works .works .row:after{
    content: '';
    display: block;
    clear: both;
}

section#works .block{
    position: relative;
    float: left;
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}



section#works .block .title{
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: calc(100% - 60px);
    z-index: 1;
    color: #fff;
    text-shadow: 0px 0px 10px black;
    z-index: 2;
}
section#works .block .title h3{
    font-weight: 300;
    line-height: normal;
    margin: 0;
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}
section#works .block .title h3 strong{
    font-weight: 900;
}
section#works .block .title h4{
    font-weight: normal;
    line-height: normal;
    margin: 0;
    font-size: 12px;
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}

section#works .block.selected.fullwidth .title h3{
    font-size: 48px;
}
section#works .block.selected.fullwidth .title h4{
    font-size: 24px;
}

section#works .block .title{
    opacity: 1;
    -webkit-transition: all 0.5s ease-out 0.5s;
       -moz-transition: all 0.5s ease-out 0.5s;
         -o-transition: all 0.5s ease-out 0.5s;
            transition: all 0.5s ease-out 0.5s;
}

section#works .block.selected .title,
section#works .block.closing .title{
    opacity: 0;
    -webkit-transition: none;
       -moz-transition: none;
         -o-transition: none;
            transition: none;
}

section#works .block.selected.fullwidth .title{
    opacity: 1;
    -webkit-transition: all 0.5s ease-out 1.5s;
       -moz-transition: all 0.5s ease-out 1.5s;
         -o-transition: all 0.5s ease-out 1.5s;
            transition: all 0.5s ease-out 1.5s;
}


section#works .block{
    width: 33.333333%;
    padding-top: 33.333333%;
    top: 0;
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}

section#works .block.cta{
    padding: 0 0 33.333333% 0;
}
section#works .block.cta .text{
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    padding:  0 25px;
    box-sizing: border-box;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
}

section#works .block .inner{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}
section#works .block.cta .inner{
    background: #fff;
    border: none;
}
section#works .block.cta .inner:after{
    display: none;
}

section#works .block:not(.clicked) .inner:hover img{
    -webkit-filter: brightness(1.1);
    filter: brightness(1.1);
    -webkit-transform: translate(-50%, -50%) scale(1.1);
       -moz-transform: translate(-50%, -50%) scale(1.1);
         -o-transform: translate(-50%, -50%) scale(1.1);
            transform: translate(-50%, -50%) scale(1.1);
}

section#works .block .click-area{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    cursor: pointer;
}

section#works .block .close-area{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    visibility: hidden;
    opacity: 0;
}
section#works .block.fullwidth .close-area{
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 0.25s ease-out 0.5s;
       -moz-transition: all 0.25s ease-out 0.5s;
         -o-transition: all 0.25s ease-out 0.5s;
            transition: all 0.25s ease-out 0.5s;
}
section#works .block .close-area .close{
    position: absolute;
    width: 60px;
    height: 60px;
    top: 10px;
    right: 30px;
    cursor: pointer;
    background: #fff;
    -webkit-transition: all 0.1s ease-out;
       -moz-transition: all 0.1s ease-out;
         -o-transition: all 0.1s ease-out;
            transition: all 0.1s ease-out;
}
section#works .block .close:before,
section#works .block .close:after{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3px;
    height: 20px;
    background: #a4b5b8;
    -webkit-transition: all 0.1s ease-out;
       -moz-transition: all 0.1s ease-out;
         -o-transition: all 0.1s ease-out;
            transition: all 0.1s ease-out;
}
section#works .block .close:before{
    -webkit-transform: translate(-50%, -50%) rotate(-45deg) ;
       -moz-transform: translate(-50%, -50%) rotate(-45deg) ;
         -o-transform: translate(-50%, -50%) rotate(-45deg) ;
            transform: translate(-50%, -50%) rotate(-45deg) ;
}
section#works .block .close:after{
    -webkit-transform: translate(-50%, -50%) rotate(45deg) ;
       -moz-transform: translate(-50%, -50%) rotate(45deg) ;
         -o-transform: translate(-50%, -50%) rotate(45deg) ;
            transform: translate(-50%, -50%) rotate(45deg) ;
}

section#works .block .close:hover:before,
section#works .block .close:hover:after{
    background: #000;
}

section#works .block.wide{
    width: 66.666666%;
}
section#works .block.tall .inner{
    height: 200%;
}


section#works .block.tall.shrink-tall .inner,
section#works .block.tall.selected .inner{
    height: 100%;
}

section#works .block .img-container{
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    left: 10px;
    top: 10px;
    overflow: hidden;
    background: #a4b5b8;
    border: solid 1px rgba(0, 0, 0, 0.1);
}
section#works .block .img-container:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: -moz-linear-gradient(0deg, rgba(26,25,25,0.8) 0%, rgba(26,25,25,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(26,25,25,0.8) 0%, rgba(26,25,25,0) 100%);
    background: linear-gradient(0deg, rgba(26,25,25,0.8) 0%, rgba(26,25,25,0) 100%);
}
section#works .block.tall .img-container:after{
    height: 25%;
}

section#works .block.square.gap,
section#works .block.tall.gap{
    margin-left: 33.333333%;
}

section#works .block.gap.wider{
    margin-left: 0;
}

section#works .block.square.gap.fill .inner,
section#works .block.tall.gap.fill .inner{
    width: 200%;
    left: -100%;
}

section#works .block.wide.gap.fill .inner{
    width: 150%;
}

section#works .block .img-container img{
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: unset;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
         -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transition: all 0.25s ease-out;
       -moz-transition: all 0.25s ease-out;
         -o-transition: all 0.25s ease-out;
            transition: all 0.25s ease-out;
}
section#works .block .img-focus{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}
section#works .block .img-focus img{
    width: 1090px;
}

section#works .block.square .img-focus.top,
section#works .block.wide .img-focus.top{
    top: 50%;
}
section#works .block.square .img-focus.bottom,
section#works .block.wide .img-focus.bottom{
    top: -50%;
}

section#works .block.square .img-focus.right,
section#works .block.tall .img-focus.right{
    left: -50%;
}
section#works .block.square .img-focus.left,
section#works .block.tall .img-focus.left{
    left: 50%;
}
section#works .block.wide .img-focus.left{
    left: 25%;
}
section#works .block.wide .img-focus.right{
    left: -25%;
}
section#works .block.square.fullwidth .img-focus,
section#works .block.wide.fullwidth .img-focus,
section#works .block.square.prev-fill .img-focus,
section#works .block.square.next-fill .img-focus,
section#works .block.tall.fullwidth .img-focus,
section#works .block.tall.prev-fill .img-focus,
section#works .block.tall.next-fill .img-focus{
    left: 0;
}


section#works .block.clicked .img-container img{
    animation-name: clickedBlock;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@keyframes clickedBlock {
  0% {
    opacity: 0.7;
    filter: brightness(1.5);
  }
  7% {
    opacity: 1;
    filter: brightness(1);
  }
  14% {
    opacity: 0.7;
    filter: brightness(1.5);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

section#works .block.gap.fullwidth,
section#works .block.gap.prev-fill,
section#works .block.gap.next-fill{
    margin: 0;
}


section#works .block.fullwidth .inner{
    width: 300%;
}
section#works .block.wide.fullwidth .inner{
    width: 150%;
}
section#works .block.wide.fullwidth:nth-child(2) .inner{
    left: -50%;
}

section#works .block.fullwidth:nth-child(2) .inner{
    left: -100%;
}
section#works .block.fullwidth:nth-child(3) .inner{
    left: -200%;
}

section#works .block.square.prev-fill:nth-child(1) .inner,
section#works .block.tall.prev-fill:nth-child(1) .inner{
    width: 300%;
}
section#works .block.square.prev-fill:nth-child(2) .inner,
section#works .block.tall.prev-fill:nth-child(2) .inner{
    width: 200%;
}
section#works .block.square.next-fill:nth-child(1) .inner,
section#works .block.tall.next-fill:nth-child(1) .inner,
section#works .block.square.next-fill:nth-child(2) .inner,
section#works .block.tall.next-fill:nth-child(2) .inner{
    width: 200%;
    left: -100%;
}
section#works .block.square.next-fill.cell-3:nth-child(2) .inner,
section#works .block.tall.next-fill.cell-3:nth-child(2) .inner{
    width: 300%;
}
section#works .block.square.next-fill:nth-child(3) .inner,
section#works .block.tall.next-fill:nth-child(3) .inner{
    width: 300%;
    left: -200%;
}
section#works .block.wide.next-fill:nth-child(2) .inner{
    width: 150%;
    left: -50%;
}

section#works .block.wide.prev-fill:nth-child(1) .inner{
    width: 150%;
}


section#works .block .content{
    position: absolute;
    top: 50%;
    left: 20px;
    width: calc(300% - 40px);
    height: 0;
    padding: 50% 0 20%;
    box-sizing: border-box;
    -webkit-transition: height 0.5s ease-out;
       -moz-transition: height 0.5s ease-out;
         -o-transition: height 0.5s ease-out;
            transition: height 0.5s ease-out;
}
section#works .block.wide .content{
    width: calc(150% - 40px);
    padding-top: 25%;
}

section#works .block.cell-2 .content{
    left: calc(-100% + 20px);
}
section#works .block.cell-2:nth-child(1) .content,
section#works .block.cell-2:nth-child(1) .content{
    left: 20px;
}
section#works .block.wide.cell-2 .content{
    left: calc(-50% + 20px);
}

section#works .block.cell-3 .content{
    left: calc(-200% + 20px);
}
section#works .block.cell-3:nth-child(2) .content{
    left: calc(-100% + 20px);
}

section#works .block .content.show{

}
section#works .block.wide .content.show{
    padding: 25% 0 10%;
}

section#works .block .content .bg{
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 105vw;
    opacity: 0;
    background: #e8eced;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
         -o-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transition: all 0.5s ease-out;
       -moz-transition: all 0.5s ease-out;
         -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
}
section#works .block .content .bg:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 105vw;
    height: 270px;
    background: -moz-linear-gradient(0deg, rgba(164,181,184,0) 0%, rgba(164,181,184,0.5) 100%);
    background: -webkit-linear-gradient(0deg, rgba(164,181,184,0) 0%, rgba(164,181,184,0.5) 100%);
    background: linear-gradient(0deg, rgba(164,181,184,0) 0%, rgba(164,181,184,0.5) 100%);
}
section#works .block .content .bg:after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 105vw;
    height: 270px;
    background: -moz-linear-gradient(0deg, rgba(164,181,184,0.5) 0%, rgba(164,181,184,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(164,181,184,0.5) 0%, rgba(164,181,184,0) 100%);
    background: linear-gradient(0deg, rgba(164,181,184,0.5) 0%, rgba(164,181,184,0) 100%);
}

section#works .block .content.show .bg{
    opacity: 1;
}

section#works .block .content > span{
    display: block;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    position: relative;
    z-index: 1;
}
section#works .block .content.show > span{
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 0.25s ease-out 0.5s;
       -moz-transition: all 0.25s ease-out 0.5s;
         -o-transition: all 0.25s ease-out 0.5s;
            transition: all 0.25s ease-out 0.5s;
}

section#works .block .content .row{
    width: 100%;
    position: relative;
    z-index: 1;
}

section#works .block .content .content-block{
    position: relative;
    float: left;
    width: 33.333333%;
    padding-top: 33.333333%;
}

section#works .block .content .main .content-block.info{
    padding: 15px;
    box-sizing: border-box;
}


section#works .block .content .content-block.video{
    width: 66.666666%;
}

section#works .block .content .content-block.video > video,
section#works .block .content .content-block.video .plyr{
    position: absolute;
    left: 15px;
    top: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
}

section#works .block .content .main.no-video .content-block.info{
    width: 100%;
}
section#works .block .content .main.no-video .content-block.info{
    padding: 30px 15px;
}
section#works .block .content .main.no-video .content-block.info:after{
    display: block;
    clear: both;
}
section#works .block .content .main.no-video .content-block.info div{
    float: left;
    width: 50%;
}
section#works .block .content .main.no-video .content-block.info div:first-child{
    padding-right: 30px;
}
section#works .block .content .main.no-video .content-block.info div:last-child{
    padding-left: 30px;
}

section#works .block .content .main.no-video .content-block.video{
    display: none;
}

section#works .block .content h2{
    margin: 0 0 20px;
    font-size: 24px;
    line-height: normal;
    font-weight: 900;
}
section#works .block .content p{
    font-size: 14px;
    line-height: normal;
    margin: 0 0 15px;
    text-align: justify;
}

section#works .block .content a{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}
section#works .block .content a img{
    margin-top: -8px;
    margin-right: 2px;
}


section#works .block .content .content-block .img{
    position: absolute;
    left: 15px;
    top: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: solid 1px rgba(0, 0, 0, 0.15);
    background: #fff;
}

section#works .block .content .content-block .img img{
    cursor: pointer;
    -webkit-transition: all 0.1s ease-out;
       -moz-transition: all 0.1s ease-out;
         -o-transition: all 0.1s ease-out;
            transition: all 0.1s ease-out;
}
section#works .block .content .content-block .img img:hover{
    -webkit-filter: brightness(1.05);
            filter: brightness(1.05);
}


section#works .block .content .close-bottom{
    line-height: 90px;
    padding-bottom: 10px;
    text-align: center;
}
section#works .block .content .close-bottom span{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    color: #a4b5b8;
    line-height: 20px;
    -webkit-transition: all 0.1s ease-out;
       -moz-transition: all 0.1s ease-out;
         -o-transition: all 0.1s ease-out;
            transition: all 0.1s ease-out;
}
section#works .block .content .close-bottom span:hover{
    color: #1a1919;
}
section#works .block .content .close-bottom .close{
    position: relative;
    width: 20px;
    height: 20px;
    margin: -4px 5px 0 0;
    display: inline-block;
    vertical-align: middle;
}

section#works .block .content .close-bottom .close:before,
section#works .block .content .close-bottom .close:after{
    height: 25px;
}

section#works .block .content .close-bottom span:hover .close:before,
section#works .block .content .close-bottom span:hover .close:after{
    background: #1a1919;
}


section#works .load-more{
    position: relative;
    text-align: center;
    color: #a4b5b8;
    z-index: 1;
    margin-top: 30px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
}
section#works .load-more span{
    position: relative;
    padding-right: 17px;
    display: inline-block;
    cursor: pointer;
}

section#works .load-more span:after{
    content: '';
    display: block;
    position: absolute;
    top: 7px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #a4b5b8 transparent transparent transparent;
}

section#works .load-more:hover span{
    -webkit-filter: brightness(0.8);
            filter: brightness(0.8);
}


/* responsiveness -------------------------------------------- */


@media (max-width: 1200px){
    section#works .headline span h2{
        font-size: 25px;
    }
    section#works .headline span p{
        font-size: 23px;
    }
}


@media (max-width: 1100px){
    section#works .headline-text{
        height: 150px;
    }
    section#works .block.selected.fullwidth .title h3{
        font-size: 44px;
        line-height: normal;
    }
}


@media (max-width: 1000px){
    section#works .headline span{
        line-height: 18px;
    }
    section#works .headline span h2{
        font-size: 24px;
    }
    section#works .headline span p{
        font-size: 22px;
    }
}


@media (max-width: 950px){
    section#header .replay{
        right: 41px;
        bottom: 39px;
    }
    section#works .headline{
        padding: 0 45px;
    }
    section#works .block.selected.fullwidth .title h3{
        font-size: 34px;
    }
    section#works .block.selected.fullwidth .title h4{
        font-size: 18px;
    }
    section#works .block .title{
        left: 20px;
        bottom: 20px;
        width: calc(100% - 40px);
    }
    section#works .block.selected.fullwidth .title h4{
        font-size: 20px;
    }
    section#works .block .content h2{
        font-size: 22px;
    }
    section#works .block .img-container img{
    -webkit-transform: translate(-50%, -50%) scale(0.8);
       -moz-transform: translate(-50%, -50%) scale(0.8);
         -o-transform: translate(-50%, -50%) scale(0.8);
            transform: translate(-50%, -50%) scale(0.8);
    }
    section#works .block:not(.clicked) .inner:hover img{
    -webkit-transform: translate(-50%, -50%) scale(0.9);
       -moz-transform: translate(-50%, -50%) scale(0.9);
         -o-transform: translate(-50%, -50%) scale(0.9);
            transform: translate(-50%, -50%) scale(0.9);
    }
}


@media (max-width: 900px){
    section#works .headline span h2{
        font-size: 23px;
    }
    section#works .headline span p{
        font-size: 21px;
    }
}


@media (max-width: 850px){
    section#header .replay{
        right: 31px;
        bottom: 30px;
    }
    section#works .headline{
        padding: 0 35px;
    }
    section#works{
        padding-bottom: 25px;
    }
    section#works .block .img-container {
        width: calc(100% - 14px);
        height: calc(100% - 14px);
        left: 7px;
        top: 7px;
    }
    section#works .block .close-area .close{
        width: 50px;
        height: 50px;
        top: 7px;
        right: 20px;
    }
    section#works .block .content .content-block.video > video,
    section#works .block .content .content-block.video .plyr,
    section#works .block .content .content-block .img {
        left: 10px;
        top: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
    section#works .block .content h2{
        padding-top: 3%;
    }
    section#works .block .content .main .content-block.info{
        padding:  10px;
    }
    section#works .block .title h3{
        font-size: 18px;
    }
    section#works .block .content .content-block.info{
        width: 100%;
    }
    section#works .block .content .main .content-block.info > div{
        max-width: unset;
    }
    section#works .block .content .content-block.video{
        width: 100%;
        padding-top: 50%;
    }
    section#works .block .content .close-bottom{
        line-height: 80px;
    }
    section#works .load-more{
        margin-top: 20px;
    }
}


@media (max-width: 800px){
    section#header .replay{
        right: 21px;
        bottom: 21px;
    }
    section#works .headline {
        padding: 0 25px;
    }
    section#works .headline span h2{
        font-size: 22px;
        margin-bottom: 10px;
    }
    section#works .headline span p{
        font-size: 16px;
        margin: 20px;
    }
    section#works .block.selected.fullwidth .title h3{
        font-size: 32px;
    }
    section#works .block.selected.fullwidth .title h4{
        font-size: 17px;
    }
}



@media (max-width: 700px){
    section#works {
        padding-bottom: 7px;
    }
    section#works .headline span h2{
        font-size: 21px;
    }
    section#works .headline span p{
        font-size: 19px;
    }
    section#works .block.selected.fullwidth .title h3{
        font-size: 30px;
    }
    section#works .block.selected.fullwidth .title h4{
        font-size: 16px;
    }
    section#works .container {
        padding: 0px 14px;
    }
    section#works .block .title {
        left: 15px;
        bottom: 15px;
        width: calc(100% - 30px);
    }
    section#works .block .title h3 {
        font-size: 16px;
    }
    section#works .block .title h4{
        font-size: 11px;
    }
    section#works .block .img-container img{
    -webkit-transform: translate(-50%, -50%) scale(0.7);
       -moz-transform: translate(-50%, -50%) scale(0.7);
         -o-transform: translate(-50%, -50%) scale(0.7);
            transform: translate(-50%, -50%) scale(0.7);
    }
    section#works .block:not(.clicked) .inner:hover img{
    -webkit-transform: translate(-50%, -50%) scale(0.8);
       -moz-transform: translate(-50%, -50%) scale(0.8);
         -o-transform: translate(-50%, -50%) scale(0.8);
            transform: translate(-50%, -50%) scale(0.8);
    }
    section#works .block .content .main.no-video .content-block.info{
        padding: 15px;
    }
    section#works .block .content .main.no-video .content-block.info div{
        float: none;
        width: auto;
    }
    section#works .block .content .main.no-video .content-block.info div:first-child{
        padding-right: 0;
    }
    section#works .block .content .main.no-video .content-block.info div:last-child{
        padding-left: 0;
    }
    section#works .load-more{
        margin-bottom: 15px;
    }
}


@media (max-width: 650px){
    section#works{
        padding-bottom: 2px;
    }
    section#works .container {
        padding: 0px 2px;
    }
    section#works .block .close-area .close{
        width: 40px;
        height: 40px;
        top: 0;
        right: 15px;
    }
    section#works .block .content .content-block.video > video,
    section#works .block .content .content-block.video .plyr,
    section#works .block .content .content-block .img {
        left: 7px;
        top: 7px;
        width: calc(100% - 14px);
        height: calc(100% - 14px);
    }

    section#works .block .content .main .content-block.info{
        padding:  7px;
    }
    section#works .container .works{
        margin: 0;
    }
    section#works .block .img-container {
        width: calc(100% - 4px);
        height: calc(100% - 4px);
        left: 2px;
        top: 2px;
    }
    section#works .block .content h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    section#works .block .content p{
        font-size: 18px;
        margin: 10px 0;
    }
    section#works .block .content .close-bottom{
        font-size: 15px;
    }
    section#works .block .content .close-bottom{
        line-height: 70px;
    }
}


@media (max-width: 600px){
    section#works .block .img-container img{
    -webkit-transform: translate(-50%, -50%) scale(0.6);
       -moz-transform: translate(-50%, -50%) scale(0.6);
         -o-transform: translate(-50%, -50%) scale(0.6);
            transform: translate(-50%, -50%) scale(0.6);
    }
    section#works .block:not(.clicked) .inner:hover img{
    -webkit-transform: translate(-50%, -50%) scale(0.7);
       -moz-transform: translate(-50%, -50%) scale(0.7);
         -o-transform: translate(-50%, -50%) scale(0.7);
            transform: translate(-50%, -50%) scale(0.7);
    }
    section#works .headline span h2{
        font-size: 19px;
    }
    section#works .headline span p{
        font-size: 17px;
    }
}


@media (max-width: 500px){
    section#works .block .img-container img{
    -webkit-transform: translate(-50%, -50%) scale(0.55);
       -moz-transform: translate(-50%, -50%) scale(0.55);
         -o-transform: translate(-50%, -50%) scale(0.55);
            transform: translate(-50%, -50%) scale(0.55);
    }
    section#works .block:not(.clicked) .inner:hover img{
    -webkit-transform: translate(-50%, -50%) scale(0.65);
       -moz-transform: translate(-50%, -50%) scale(0.65);
         -o-transform: translate(-50%, -50%) scale(0.65);
            transform: translate(-50%, -50%) scale(0.65);
    }
    section#works .headline span h2{
        margin-top: 10px;
        margin-bottom: 5px;
    }
    section#works .headline span p{
        margin: 0;
    }
    section#works .headline span p:first-child{
        margin-top: 10px;
    }
    section#works .headline span p:last-child{
        margin-bottom: 10px;
    }
    section#works .block.selected.fullwidth .title h3{
        font-size: 28px;
    }
    section#works .block.selected.fullwidth .title h4{
        font-size: 15px;
    }
    section#works .block.selected.fullwidth{
        padding-bottom: 20%;
        -webkit-transition: padding-top 0.5s ease-out, padding-bottom 0.5s ease-out 0.5s, margin 0.5s ease-out;
           -moz-transition: padding-top 0.5s ease-out, padding-bottom 0.5s ease-out 0.5s, margin 0.5s ease-out;
             -o-transition: padding-top 0.5s ease-out, padding-bottom 0.5s ease-out 0.5s, margin 0.5s ease-out;
                transition: padding-top 0.5s ease-out, padding-bottom 0.5s ease-out 0.5s, margin 0.5s ease-out;
    }
    section#works .block.selected.fullwidth.closing{
        padding-bottom: 0;
        -webkit-transition: all 0.5s ease-out;
           -moz-transition: all 0.5s ease-out;
             -o-transition: all 0.5s ease-out;
                transition: all 0.5s ease-out;
    }
    section#works .block.selected.fullwidth .img-container img{
        -webkit-transform: translate(-50%, -50%) scale(0.7);
           -moz-transform: translate(-50%, -50%) scale(0.7);
             -o-transform: translate(-50%, -50%) scale(0.7);
                transform: translate(-50%, -50%) scale(0.7);
        -webkit-transition: all 0.5s ease-out;
           -moz-transition: all 0.5s ease-out;
             -o-transition: all 0.5s ease-out;
                transition: all 0.5s ease-out;
    }
    section#works .block .content{
        padding-top: 80%;
    }
    section#works .block.wide .content.show {
        padding: 55% 0 10%;
    }

    section#works .cta{
        font-size: 0;
    }
    section#works .cta a{
        font-size: 30px;
    }
    section#works .cta .footnote {
        font-size: 15px;
    }
    section#works .block .title h4{
        visibility: hidden;
        position: absolute;
        opacity: 0;
    }

    section#works .block.clicked .title h4{
        visibility: visible;
        position: static;
        opacity: 1;
        -webkit-transition: all 0.5s ease-out 1s;
           -moz-transition: all 0.5s ease-out 1s;
             -o-transition: all 0.5s ease-out 1s;
                transition: all 0.5s ease-out 1s;
    }
    section#works .block .content h2 {
        font-size: 20px;
    }
    section#works .block .content .close-bottom{
        font-size: 14px;
    }
    section#works .block .content .close-bottom .close:before,
    section#works .block .content .close-bottom .close:after{
        top: 53%;
        height: 17px;
    }
}


@media (max-width: 450px){
    section#works {
        padding-bottom: 1px;
    }
    section#works .block.selected.fullwidth .title h3{
        font-size: 26px;
    }
    section#works .block .title h3 {
        font-size: 15px;
    }
    section#works .block .img-container {
        width: calc(100% - 2px);
        height: calc(100% - 2px);
        left: 1px;
        top: 1px;
    }
    section#works .block .content .main .content-block.info{
        padding:  2px;
    }
    section#works .block .content .content-block.video > video,
    section#works .block .content .content-block.video .plyr,
    section#works .block .content .content-block .img {
        left: 2px;
        top: 2px;
        width: calc(100% - 4px);
        height: calc(100% - 4px);
    }
    section#works .block .content h2 {
        font-size: 18px;
        padding-top: 5%;
    }
    section#works .block .content .close-bottom{
        line-height: 60px;
    }
}



@media (max-width: 450px){
    section#works .block .img-container img{
    -webkit-transform: translate(-50%, -50%) scale(0.5);
       -moz-transform: translate(-50%, -50%) scale(0.5);
         -o-transform: translate(-50%, -50%) scale(0.5);
            transform: translate(-50%, -50%) scale(0.5);
    }
    section#works .block:not(.clicked) .inner:hover img{
    -webkit-transform: translate(-50%, -50%) scale(0.6);
       -moz-transform: translate(-50%, -50%) scale(0.6);
         -o-transform: translate(-50%, -50%) scale(0.6);
            transform: translate(-50%, -50%) scale(0.6);
    }
}


@media (max-width: 400px){
    section#works .block .img-container img{
    -webkit-transform: translate(-50%, -50%) scale(0.45);
       -moz-transform: translate(-50%, -50%) scale(0.45);
         -o-transform: translate(-50%, -50%) scale(0.45);
            transform: translate(-50%, -50%) scale(0.45);
    }
    section#works .block:not(.clicked) .inner:hover img{
    -webkit-transform: translate(-50%, -50%) scale(0.55);
       -moz-transform: translate(-50%, -50%) scale(0.55);
         -o-transform: translate(-50%, -50%) scale(0.55);
            transform: translate(-50%, -50%) scale(0.55);
    }
    section#works .block .title h3 {
        font-size: 14px;
    }
    body .plyr__control--overlaid{
        padding:  7px;
    }
}


@media (max-width: 350px){
    section#works .block .img-container img{
    -webkit-transform: translate(-50%, -50%) scale(0.4);
       -moz-transform: translate(-50%, -50%) scale(0.4);
         -o-transform: translate(-50%, -50%) scale(0.4);
            transform: translate(-50%, -50%) scale(0.4);
    }
    section#works .block:not(.clicked) .inner:hover img{
    -webkit-transform: translate(-50%, -50%) scale(0.5);
       -moz-transform: translate(-50%, -50%) scale(0.5);
         -o-transform: translate(-50%, -50%) scale(0.5);
            transform: translate(-50%, -50%) scale(0.5);
    }
}