/* Cleanup */
html {
    height: 100%;
    font-size: 62.45%;
    cursor: default;
    -webkit-text-size-adjust: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

body,
h1,
h2 {
    margin: auto;
}

h1,
h2 {
    font-weight: normal;
}

p {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

a {
    /* Remove outline and highlight-color from click-able elements on Android and iOS */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /* iOS remove bubble dialog on tap-holding */
    -webkit-touch-callout: none;
}

a,
img {
    -webkit-user-drag: none;
    user-drag: none;
}

img {
    max-width: 100%;
    vertical-align: top;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

[hidden] {
    display: none;
}

/* Design */
html,
body {
    overflow: hidden;
}

html {
    text-align: center;
    background-color: #151b22;
}

body {
    color: #fff;
    font-size: 2.75em;
    line-height: 1.3;
    font-family: sans-serif;
}

h1,
h2 {
    font-size: 1.45em;
    line-height: 1;
}

h1 {
    color: #ff5752;
}

a {
    display: inline-block;
    color: #acacac;
    font-size: 1em;
    text-decoration: none;
}

.container {
    position: relative;
    z-index: 1;
    height: 200%;
    padding-right: 1em;
    padding-left: 1em;
    -webkit-transition-duration: 0.8s;
    transition-duration: 0.8s;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

.page {
    width: 100%;
    height: 50%;
    float: left;
}

.motion-swipe {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.wrapper {
    display: table;
    width: 13.6em;
    padding-top: 1em;
    margin: auto auto -5em;
    height: 100%;
    -webkit-box-sizing: border-box;
    /* removable at Andriod 4 */
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.flow {
    display: table-cell;
    width: 13.6em;
    padding-bottom: 5em;
    vertical-align: middle;
}

.footer {
    display: block;
    height: 5em;
    line-height: 0.8;
}

.logo {
    width: 100%;
    margin-bottom: 0.4em;
}

.checkbox {
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    margin-right: 0.7em;
    margin-bottom: 0.2em;
    vertical-align: middle;
    border: 0.15em solid #3e4348;
    border-radius: 0.25em;
}

.checkbox .image {
    display: none;
}

.checkbox.selected .image {
    display: block;
    width: 100%;
    height: 100%;
}

.button {
    display: block;
    height: 3.12em;
    margin-top: 0.9em;
    color: #c8c8c8;
    font-size: 1.05em;
    line-height: 3.12;
    vertical-align: middle;
    white-space: nowrap;
    background-color: #384553;
    -webkit-box-sizing: border-box;
    /* Remove since Andriod 4 */
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.button .image {
    width: 0.6em;
    height: 1.13em;
    padding-right: 1.3em;
    margin-top: -0.1em;
    margin-left: -0.7em;
    vertical-align: middle;
}

.button.blue,
.button.green {
    height: 2.51em;
    line-height: 2.51;
    color: #fefefe;
    font-size: 1.3em;
}

.button.blue {
    background-color: #3c5a9a;
}

.button.green {
    background-color: #719844;
}

@media (min-device-width: 1440px) {
    /* Fallback to desktop, reset to default size */
    html {
        font-size: 62.45% !important;
    }

    .wrapper {
        width: 13.2em;
    }
}
