/* Common to App */
/* Calculation: 1px = 0.2375vw */

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    color: #fff;
    font-size: 3.8vw;
    line-height: 1.3;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    background-color: #8001EE;
}

body {
    font-family: 'Noto Sans', sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #8001EE;
}

p {
    font-family: 'Noto Sans', sans-serif;
    color: #fff;
    font-size: 3.8vw;
    line-height: 1.3;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

.unselectable {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

/* Hyperlinks */

a:link {
    color: #fff;
    text-decoration: none;
}

a:visited {
    color: #fff;
}

a:hover {
    color: #ccc;
}

a:active {
    color: #ccc;
}



/* App */

.main {
    padding-bottom: 4.75vw;
}

.header {
    width: 100%;
    height: auto;
    padding: 0 4.75vw;
}

.title {
    font-size: 4.275vw;
    font-weight: 900;
    padding-left: 4.75vw;
    padding-right: 4.75vw;
    padding-top: 1.9vw;
    padding-bottom: 0.95vw;
}

.instructions {
    padding: 0 4.75vw;
}


/* Icons */

.icons-section {
    border: solid 2px #fff;
    border-radius: 1.425vw;
    margin-top: 7.125vw;
    margin-right: 4.75vw;
    margin-left: 4.75vw;
    margin-bottom: 7.125vw;
    padding: 4.75vw;
}

.icons-title {
    font-size: 3.8vw;
    font-weight: 900;
    margin-top: 1.9vw;
    margin-bottom: 4.75vw;
}

ul.icons-set {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: auto;
    width: auto;
}

ul.icons-set li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 2.375vw;
}

ul.icons-set li span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 2.375vw;
}

ul.icons-set li span p {
    padding-top: 0.95vw;
}

.icon {
    width: 19.95vw;
    border-radius: 100px;
}

.icon-arrow {
    width: 9.975vw !important;
}


/* Notice */

.notice-section {
    margin-top: 9.5vw;
    margin-right: 4.75vw;
    margin-left: 4.75vw;
    margin-bottom: 7.125vw;
}

.notice {
    background: #ebebeb;
    width: 100%;
    height: 71.25vw;
    overflow-y: scroll;
    color: #3e1164;
    padding: 4.75vw;
    border-radius: 1.425vw;
    font-size: 3.8vw;
}

/* Buttons */

.btn {
    display: block;
    border-radius: 0.95vw;
    width: 90%;
    max-width: 380px;
    margin: 0 auto 3.8vw auto;
    padding: 1.9vw 1.9vw;
    border: solid 1px #fff;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    transition-duration: 0.2s;
    transition-property: background-color;
    font-size: 3.8vw;
    user-select: none;
    background-color: #fff;
}

.btn:hover {
    background-color: #ebebeb;
}

.btn-terms {
    padding: 1.9vw 4.75vw !important;
    font-weight: 400 !important;
}

.btn-terms label {
    color: #3e1164;
}

.btn-top-filler {
    height: 4.75vw;
}

.checkbox {
    pointer-events: none;
}


/* Footer */

footer {
    padding-top: 4.75vw;
}

footer a {
    font-size: 3.325vw;
}

footer p {
    font-size: 2.85vw;
}

/* Width 420px and above */

@media screen and (min-width: 420px) {

    p {
        font-size: 16px;
    }
    
    .main {
        padding-bottom: 20px;
    }
    .header {
        padding: 0 20px;
    }
    .title {
        font-size: 18px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 8px;
        padding-bottom: 4px;
    }
    .instructions {
        padding: 0 20px;
    }

    .icons-section {
        border-radius: 6px;
        margin-top: 30px;
        margin-right: 20px;
        margin-left: 20px;
        margin-bottom: 30px;
        padding: 20px;
    }
    .icons-title {
        margin-top: 8px;
        margin-bottom: 20px;
        font-size: 16px;
    }
    ul.icons-set li {
        margin: 10px;
    }
    ul.icons-set li span p {
        padding-top: 4px;
    }
    .icon {
        width: 84px;
    }
    .icon-arrow {
        width: 42px !important;
    }

    .notice-section {
        margin-top: 40px;
        margin-right: 20px;
        margin-left: 20px;
        margin-bottom: 30px;
    }
    .notice {
        height: 300px;
        padding: 20px;
        border-radius: 6px;
        font-size: 16px;
    }

    .btn {
        border-radius: 4px;
        width: 90%;
        margin: 0 auto 16px auto;
        padding: 8px 8px;
        font-size: 16px;
    }
    .btn-terms {
        padding: 8px 20px !important;
    }
    .btn-top-filler {
        height: 20px;
    }

    footer {
        padding-top: 20px;
    }
    footer a {
        font-size: 14px;
    }
    footer p {
        font-size: 12px;
    }
}