* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } body { background: #fcfcfc; } .home-menu { padding: 0.5em; text-align: left; box-shadow: 0 1px 1px rgba(0,0,0, 0.10); background: #fefefe; z-index: 5; } .header .pure-menu-list { clear: both; max-height: 0; transition: max-height .2s ease-out; list-style: none; overflow: hidden; display: block; } .header .pure-menu-item { display: block; } #checkerboard-icon { background: url(/favicon.png); background-size: 100%; width: 1.6em; height: 1.6em; vertical-align: middle; margin-top: -.2em; margin-right: .3em; display: inline-block; } .header .menu-icon { cursor: pointer; display: inline-block; float: right; margin-top: 1em; margin-right: .5em; position: relative; user-select: none; } .header .menu-icon .navicon { background: #333; display: block; height: 2px; position: relative; transition: background .2s ease-out; width: 18px; } .header .menu-icon .navicon:before, .header .menu-icon .navicon:after { background: #333; content: ''; display: block; height: 100%; position: absolute; transition: all .2s ease-out; width: 100%; } .header .menu-icon .navicon:before { top: 5px; } .header .menu-icon .navicon:after { top: -5px; } .header .menu-btn { display: none; } .header .menu-btn:checked ~ .pure-menu-list { max-height: 240px; } .header .menu-btn:checked ~ .menu-icon .navicon { background: transparent; } .header .menu-btn:checked ~ .menu-icon .navicon:before { transform: rotate(-45deg); } .header .menu-btn:checked ~ .menu-icon .navicon:after { transform: rotate(45deg); } .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before, .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after { top: 0; } .content-wrapper { position: fixed !important; width: 100%; height: 100%; } .content { position: absolute; top: 10%; left: 0; right: 0; bottom: 0; margin: auto; text-align: center; vertical-align: middle; } @media (max-width: 48em) { .pure-menu-heading { font-size: .9em; } } @media (min-width: 48em) { .header .menu-icon { display: none; } .header .pure-menu-list { clear: none; float: right; max-height: none; } .header .pure-menu-item { float: left; } }