html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; padding: 0; margin: 0; outline: 0; border: 0; -webkit-appearance: none; -webkit-font-smoothing: subpixel-antialiased; } ::selection { color: blue; } ::-moz-selection { color: blue; } audio { position: fixed; top: -800000px; left: -90000px; opacity: 0; } a, a:visited { color: blue; font-weight: bold; cursor: pointer; } body { font-family: 'Roboto', sans-serif; font-size: 11px; counter-reset: section; overflow: hidden; } .loading #items { opacity: 0; } /* .hidden { display: none!important; } */ .item.hidden { display: block; opacity: 0; pointer-events: none; visibility: hidden; } .item { position: absolute; top: 0; left: 0; } h1 { font-size: 27px; line-height: 32px; } h1 span { font-size: 16px; line-height: 20px; width: 80%; margin: 10px 0; } h2 { font-size: 16px; margin: 20px 0; } h3 { font-size: 12px; } .intro .left a { width: 100%; display: inline-block; } .intro .left a:before { content: "– "; } .intro { font-size: 14px; line-height: 20px; } .intro .left { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: space-between; align-content: stretch; align-items: flex-start; overflow: hidden; } .intro div { width: 25%; float: left; clear: both; height: 100%; padding: 27px 5px 5px 5px; } .intro div.text { width: 50%; -webkit-column-count: 2; -webkit-column-gap: 10px; -moz-column-gap: 10px; column-count: 2; column-fill: auto; column-gap: 10px; overflow: hidden; } .intro.single .right { background: url(img/ryder-ripps.gif)no-repeat center; background-size: cover; } .intro b { display: inline-block; width: 100%; margin: 15px 0 5px 0; } .intro.cover .left span#cred { width: 100%; border-top: 1px solid; padding: 15px 0 10px 0; } .intro.cover .left small { display: none; } .intro.cover .right { padding: 0; width: 75%; height: 100%; background: black; } .intro.cover .right iframe { width: 35%; height: 40%; position: absolute; margin-top: 9%; margin-left: 33%; } .intro.cover .right span { background: url(img/dude2.png)no-repeat center; background-size: cover; width: 100%; height: 100%; position: relative; } .menu { position: fixed; height: calc(100vh - 24px); width: 50vw; top: 24px; left: 0; z-index: 2; transform: translateZ(0) translateX(-50vw); padding: 0 0 5px 0; transition: 150ms transform cubic-bezier(0, 0, 0, 1); z-index: 0; opacity: 0; } .desktop .menu { -webkit-column-count: 2; -webkit-column-gap: 0; -moz-column-gap: 0px; column-gap: 0px; -webkit-column-break-inside: avoid; -moz-column-break-inside: avoid; -moz-page-break-inside: avoid; page-break-inside: avoid; break-inside: avoid-column; column-fill: auto; } .mobile .menu { overflow: scroll; -webkit-overflow-scrolling: scroll; top: 32px; } .mobile .scroll { width: 100%; } .menu ul { height: 100%; } .menu ul li { list-style-type: decimal-leading-zero; list-style-position: inside; border-bottom: 1px solid black; padding: 6px 5px 4px 7px; padding: 1vh 0.5vw 0.5vw 0.7vw; font-size: 14px; } ul li { text-transform: capitalize; } ul li[data-id='dump-fm'] { text-transform: none; } .desktop .menu ul li:hover, .menu ul li.active { background: black; color: white; cursor: pointer; } .desktop .mobiletitle, .mobile .desktoptitle { display: none; } .desktop .desktoptitle .mobile .mobiletitle { display: inline; } .menu u { text-decoration: none; } nav { background: white; } .navopen .menu { transform: translateZ(0) translateX(0vw); z-index: 2; opacity: 1; background: #f9f9f9; } .desktop .navopen .menu { overflow: auto; } .navopen .item { transform: translateZ(0) translateX(50vw); /*opacity:0.5;*/ } nav svg g g rect { transition: 150ms transform 50ms cubic-bezier(0, 0, 0, 1); width: 100px; } nav svg g g:first-child rect { transform: rotate(0deg); transform-origin: center; } nav svg g g:nth-child(2) rect { opacity: 1; } nav svg g g:last-child rect { transform: rotate(0deg); transform-origin: center; } .navopen nav svg g g:first-child rect { transform: rotate(45deg); transform-origin: center; width: 80px; } .mobile .navopen nav svg g g:first-child rect { width: 70px; } .navopen nav svg g g:nth-child(2) rect { opacity: 0; } .navopen nav svg g g:last-child rect { transform: rotate(-45deg); transform-origin: center; width: 70px; } .navopen #curtain { cursor: url(img/x-w-white.png) 32 32, pointer; } /* .navopen .item > * { opacity: 0.1; transition: 150ms opacity cubic-bezier(0, 0, 0, 1); background: #eee; } */ div, span { display: inline-block; float: left; } #items { display: block; float: none; } .item { height: 100vh; width: 100%; display: block; transition: 150ms transform cubic-bezier(0, 0, 0, 1), 150ms opacity cubic-bezier(0, 1, 0, 0); } .item.intro { display: flex; display: -webkit-flex; -webkit-flex-flow: column wrap; flex-flow: column wrap; column-fill: auto; background: white; } .navopen .item.intro > * { background: transparent; } .navopen nav { background: #f9f9f9; } #curtain { position: absolute; top: 0; left: 0; background: black; transition: 200ms opacity cubic-bezier(0, 0, 0, 1); opacity: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; } .navopen #curtain { opacity: 0.9; pointer-events: auto; } nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 3; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } nav span { border-bottom: 1px solid black; width: 100%; } #burger { width: 10px; vertical-align: top; padding: 2px; } .index { width: 65px; background: white; } .desktop .index { transition: 150ms width; transition-timing-function: cubic-bezier(0, 0, 0, 1); } .navopen .index { width: 50vw; } .navopen nav span div:last-child { transform: translateZ(0) translateX(210px); position: absolute; right: 5px; } .index:after { content: "INDEX"; padding-right: 5px; } .navopen .index:after { content: "CLOSE"; } .desktop .index:hover, .navopen .index { color: white; cursor: pointer; background: black; } .desktop .index:hover svg, .navopen .index svg { fill: white; } nav div { vertical-align: middle; padding: 5px; } nav span div:first-child { float: left; } nav span div:nth-child(2) { border-left: 1px solid black; padding-left: 20px; } .navopen nav span div:nth-child(2) { border-left: 1px solid white; } nav span div:last-child { float: right; } .top { position: relative; background: #f9f9f9; width: 100%; /*height: 80vh;*/ margin-top: 20px; float: none; display: block; } nav b { font-weight: normal; } /*animations*/ body { background: white; } .bottom { float: none; position: absolute; top: 0; width: 100%; left: 0; background: white; display: block; } .up .showing.item { transform: translateZ(0) translateY(-10px); opacity: 0; } .down .showing.item { transform: translateZ(0) translateY(10px); opacity: 0; } /* .up nav, .down nav { background: black; transition: 0ms background 0ms!important; } .up nav span div:nth-child(2), .down nav span div:nth-child(2) { border-left:1px solid white; } .up nav .index, .down nav .index, .up nav svg, .down nav svg { color: white; background: black; fill: white; } .up nav span div:last-child .page-no, .down nav span div:last-child .page-no { color: white; } .up .cell, .down .cell { opacity:0; } .up .top, .down .top { background: black } */ /* Flickity */ .flickity-enabled { position: relative; } .flickity-enabled:focus { outline: none; } .page-up { height: 30%; width: 60vw; position: absolute; top: 25px; left: 0; z-index: 3; margin-left: 20vw; cursor: url(img/u.png) 32 0, pointer; } .whitecursor .page-up { cursor: url(img/u-white.png) 32 0, pointer; } .page-down { height: 70%; width: 60vw; position: absolute; z-index: 3; bottom: 0; left: 0; margin-left: 20vw; cursor: url(img/d.png) 32 64, pointer; } .whitecursor .page-down { cursor: url(img/d-white.png) 32 64, pointer; } .single .page-up, .single .page-down { width: 100%; margin-left: 0; } .intro .page-up, .intro .page-down { width: 75%; margin-left: 25%; } .item:first-child .page-down { height: 100%; bottom: -25px; } .flickity-viewport { overflow: hidden; position: relative; width: 100%; } .flickity-slider { position: absolute; width: 100%; } button { width: 20vw; position: absolute; top: 0; background: transparent; } .navopen .item * { pointer-events: none; } button svg { display: none; } button.next { right: 0; cursor: url(img/r.png)64 32, pointer; z-index: 4; } .whitecursor button.next { cursor: url(img/r-white.png)64 32, pointer; } button.previous { left: 0; cursor: url(img/l.png) 0 32, pointer; z-index: 4; } .whitecursor button.previous { cursor: url(img/l-white.png) 0 32, pointer; } .desktop button.previous:hover svg, .desktop button.next:hover svg { opacity: 1; transform: translateZ(0) scale(0.2); } .desktop button.next:active svg, .desktop button.previous:active svg { transform: translateZ(0) scale(0.1); } .cell, .cell iframe, .cell video { width: 100vw; height: 100%; background-position: top center; background-size: cover; background-repeat: no-repeat; } .cell iframe { pointer-events: none; background: white; } .cell.contain { background-size: 20%; background-color: #eee; } .resizing .item { background: url(img/tomato20dancing.gif) center !important; } .resizing .item * { opacity: 0; } .bottom { /*height: 20vh; padding: 5px 0; */ overflow: hidden; cursor: url(img/d.png)32 64, pointer; } .five { width: 100%; } .five li:before { content: "*"; font-family: 'Roboto Mono'; font-weight: 700; padding-right: 5px; } .headings, nav { font-family: 'Roboto Mono', monospace; font-size: 8px; text-transform: uppercase; font-weight: 700; } .texts { font-weight: 400; font-weight: 400; } .five span { width: calc(12% - 8px); margin: 5px 4px 0 4px; } .press .headings span:nth-child(5) { width: calc(40% - 8px); } .headings span { border-bottom: 1px solid; padding: 0 0 2px 0; } .press .headings span:last-child:before { content: "PRESS"; } .five .description { width: 50%; -webkit-column-count: 3; /*text-align: justify;*/ column-gap: 5px; } .press .five .description { width: calc(40% - 8px); -webkit-column-count: 2; } .projectLink { display: block; margin-top: 3px; text-overflow: ellipsis; width: 100%; white-space: nowrap; overflow: hidden; } ul li { list-style-type: none; } .nopress span:nth-child(5) { width: calc(52% - 8px); } .press ul { cursor: default; height: 100% } .nopress span:nth-child(6), .intro b.textmobile { display: none; } #time { display: none; } #time .dots { animation: blink 1.0s; } #time b { font-weight: normal; } @keyframes blink { 0%{ opacity: 1.0 } 50% {opacity: 1.0 } 51% {opacity: 0.0 } 100% {opacity: 0.0 } } @media (min-width: 1200px) { .texts { font-size: 13px; line-height: 16px; } .headings, nav { font-size: 10px; } #burger { width: 11px; padding: 1px 0 0 0; } .intro div.text, h3, .left a { font-size: 14px; line-height: 20px; } } @media (-webkit-min-device-pixel-ratio: 2) { .intro div.text, h3, .left a { font-size: 13px; line-height: 18px; } } @media (min-width: 1500px) { .intro div.text, h3, .left a { font-size: 16px; line-height: 25px; } h1 { font-size: 40px; line-height: 50px; } } @media (max-height: 1100px) { .intro div.text, h3, .left a { font-size: 16px; line-height: 22px; } } @media (max-height: 1000px) { .intro div.text, h3, .left a { font-size: 14px; line-height: 20px; } } @media (max-height: 900px) { .intro div.text, h3, .left a { font-size: 14px; line-height: 19px; } } @media (max-height: 800px) { .intro div.text, h3, .left a { font-size: 12px; line-height: 18px; } } @media (max-height: 738px) and (max-width: 1280px){ .intro div.text, h3, .left a { font-size: 11px; line-height: 16px; } } @media (max-height: 900px) and (max-width: 1050px){ .intro div.text { width:75%; } .intro.single .right { display: none; } } /* @media (min-width: 1600px) { .texts { font-size: 15px; line-height: 17px; } .headings, nav { font-size: 10px; } } */ @media (max-width:680px) { .intro div { width: 100%!important; height: auto; } .intro.cover .left { height: 25%; } .intro.cover .right { height: 75%; } .intro.cover .left span#cred, .intro .text, .intro.single .right, .intro.single h1 { display: none; } .intro .left { justify-content: center; } .intro b { display: inline-block; width: 100%; margin: 15px 0 5px 0; } .textmobile { display: inline-block; border-bottom: 1px solid; padding-bottom:15px; } nav { font-size: 11px; font-family: 'Roboto'; font-weight: 400; } nav span div:first-child { font-weight: bold } nav span { border: 0; } nav img { width: 12px; } nav span div:nth-child(2), .five span:nth-child(4), .press .five span:last-child { display: none; } .texts { padding: 3px 5px; } .five span { width: 100%; border-bottom: 1px solid; margin: 0; padding: 3px 0 2px 0; font-weight: 600; } .five span.description { width: 100%!important; font-weight: 500; line-height: 15px; -webkit-column-count: 1!important; -webkit-column-gap: 3px; -moz-column-gap: 3px; column-gap: 3px; border-bottom: 0; border-top: 2px; text-align: justify; } .projectLink { display: none; } .press .five span:last-child { display: none; } .headings { display: none; } #burger { width: 22px; } .index { width: 10vw; } .index:after, .navopen .index:after { content: ""; padding-right: 0; } .navopen .index { width: 90vw; } .menu { width: 90vw; transform: translateZ(0) translateX(-90vw); } .navopen .item { transform: translateZ(0) translateX(90vw); } .top { margin-top: 30px; } .intro.cover .right iframe { margin-left: 53%; } }