html, body { width: 100%; height: 100%; margin: 0; padding: 0; background: #fff; box-sizing: border-box; text-rendering: optimizeLegibility; font-family: 'Roboto', sans-serif; font-weight: 300; font-size: 13px; color: black; transition: opacity 200ms; } * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .loading body { opacity: 0; } .loading * { transition: all 0s ease 0s !important; } .desktop { overflow: hidden; } .header { position: fixed; top: 0; right: 0; width: 300px; padding: 20px; background: white; z-index: 2; } .cell { display: flex; height: 100vh; width: 100vw; } .cell:nth-child(6n+1) { background-color: hsl(0, 10%, 98%); } .cell:nth-child(6n+2) { background-color: hsl(50, 10%, 99%); } .cell:nth-child(6n+3) { background-color: hsl(120, 10%, 98%); } .cell:nth-child(6n+4) { background-color: hsl(190, 10%, 99%); } .cell:nth-child(6n+5) { background-color: hsl(260, 10%, 98%); } .cell:nth-child(6n+6) { background-color: hsl(310, 10%, 99%); } .scroller { transition: transform 400ms; } .painting { display: flex; align-items: center; flex: 1; padding: 20px; } .painting .image { flex: 1; height: 90%; background-size: contain; background-position: center center; background-repeat: no-repeat; } .about { flex: 0 0 300px; padding: 20px; display: flex; align-items: center; background: white; } @media (max-width: 700px) { body { font-size: 14px; } #logo { } #mobile-nav { top: auto; bottom: 10px; left: 10px; } #close { top: 20px; right: 20px; width: 40px; height: 40px; } }