$baseFontFamily: 'Roboto', arial, sans-serif; $headingFontFamily: 'Roboto Condensed', arial, sans-serif; $baseColor: #454545; $baseBgColor: #62ABBE; $baseLinkColor: #DDDDDD; $baseHoverColor: #FFFFFF; /* apply a natural box layout model to all elements */ * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } *:after, *:before { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } html, body, .all { height: 100%; margin: 0; padding: 0; } body { font-family: $baseFontFamily; font-weight: 300; font-size: 16px; color: $baseColor; background-color: $baseBgColor; line-height: 1.9; } p { margin: 0 0 0.7em 0; padding: 0; text-indent: 0; } a { color: $baseLinkColor; text-decoration: none; outline: none !important; } a:hover { color: $baseHoverColor; text-decoration: none; outline: none !important; } .all { position: relative; width: 100%; max-width: 960px; height: 100%; margin: auto; padding: 20px; } .object { position: absolute; backface-visibility: hidden; transform-style: preserve-3d; transform: translate3d(0, 0, 1px); background-size: 100% 100%; } .controls { position:relative; width: 320px; text-align: center; ul, li { list-style: none; margin: 0; padding: 0; } li { position: relative; display: inline-block; font-size: 36px; margin-right: 10px; } li:last-child { margin-right: 0; } span { display: inline-block; cursor: pointer; } span:hover { color: #FFFFFF; } .reverse { transform: rotate(180deg); } } .rocket { width: 32px; height: 41px; top: 340px; } .rocket-01 { background-image: url('http://tweene.com/skin/Default/img/rocket-01.svg'); left: 70px; } .rocket-02 { background-image: url('http://tweene.com/skin/Default/img/rocket-02.svg'); left: 230px; } .label { position: absolute; top: 400px; } .label-01 { left: 65px; } .label-02 { left: 160px; } .description { position: absolute; right: 20px; top: 40px; width: 300px; } @media screen and (max-width: 767px) { .all { padding-left: 0; padding-right: 0; } .description { right: auto; top: 500px; left: 10px; } }