/*==============================================
[Main stylesheet style.css]
================================================*/

.font-wenxue {
    font-family: "Helvetica Neue", sans-serif;
}

.error-text,
.error {
    color: #a51703;
}

.success-text,
.success {
    color: #0ea600;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/*===============================================*/
/* GENERAL		 						 */
/*===============================================*/

@media screen and (min-height: 560px) {
    html {
        font-size: 100px;
    }
}

@media screen and (min-height: 640px) {
    html {
        font-size: 112.5px;
    }
}

@media screen and (min-height: 720px) {
    html {
        font-size: 125px;
    }
}

@media screen and (min-height: 800px) {
    html {
        font-size: 137.5px;
    }
}

@media screen and (min-height: 880px) {
    html {
        font-size: 150px;
    }
}

@media screen and (min-height: 960px) {
    html {
        font-size: 162.5px;
    }
}

@media screen and (min-height: 1040px) {
    html {
        font-size: 180px;
    }
}

@media screen and (min-height: 1200px) {
    html {
        font-size: 200px;
    }
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    position: relative;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #f7f7f7;
    color: #333333;
}
html {
    background-color: #f7f7f7;
    font-size: 17.6vh;
}
body {
    font-family: "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    color: #333333;
    font-size: 14px;
    line-height: 1.4;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    overflow: hidden;
    /*font-weight:300;*/
}

/* === Views === */
.views,
.view {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5000;
}
.views {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.view {
    overflow: hidden;
    box-sizing: border-box;
}
/* === Pages === */
.pages {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*  background: #fff;*/
}
.page {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    /*background: #fff;*/
}
.page-content {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    height: 100%;
    position: relative;
    z-index: 1;
}

/*===============================================*/
/* POPUPS */
/*===============================================*/
.popup {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    background: rgba(255, 255, 255, 1);
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    /*overflow: auto;
    -webkit-overflow-scrolling: touch;*/
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -ms-transition-property: -ms-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    -webkit-transition-duration: 400ms;
    transition-duration: 400ms;
}

.popup .popup-content {
    position: absolute;
    top: 60px;
    height: calc(100% - 60px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 5%;
}

.popup .popup-content .playBtn {
    width: 50%;
    display: flex;
    margin: auto;
}

.popup.active {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.close_popup_button {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.close_popup_button .title {
    padding-left: 5%;
    font-size: 22px;
}

.close_popup_button a {
    display: flex;
    width: 60px;
    height: 60px;
    margin: auto;
    padding: 0;
    text-align: center;
}
.close_popup_button a img {
    display: block;
    max-width: 32px;
    margin: auto;
}

/*ol,
li {
    margin: 0;
    padding: 0;
}

ol {
    counter-reset: foo;
    display: table;
}

ol li {
    list-style: none;
    counter-increment: foo;
    display: table-row;
}

ol li::before {
    content: "1." counter(foo) ". ";
    display: table-cell;
    text-align: right;
    padding-right: 0.3em;
}

ol.two li::before {
    content: "2." counter(foo) ". ";
    display: table-cell;
    text-align: right;
    padding-right: 0.3em;
}

ol.three li::before {
    content: "3." counter(foo) ". ";
    display: table-cell;
    text-align: right;
    padding-right: 0.3em;
}*/

/*==================================================*/

input,
textarea,
select {
    color: #232323;
    font-size: 18px;
}
.clear {
    clear: both;
    display: block;
}
.clearleft {
    clear: both;
    float: left;
    display: block;
}

a {
    text-decoration: none;
}

/*li,
ul,
ol {
    list-style-type: none;
    padding: 0;
    margin: 0;
}*/

.hide {
    display: none;
}

/*p {
    padding: 0px;
    margin: 0px;
    line-height: 20px;
}*/

img {
    width: 100%;
}

#mobile_wrap {
    width: 100%;
    margin: auto;
}

#canvas {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.loading {
    background-color: #4aaaf8;
    height: 100%;
    width: 100%;
}

.loading .main {
    width: 60%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.loading .main img {
    width: 60%;
    margin: 1rem auto 0;
}

.loading .main .title {
    font-size: 0.3rem;
}

.loading .main .text {
    font-size: 0.15rem;
}

.loading .main .bar {
    height: 0.12rem;
    width: 100%;
    border: 3px solid #fff;
    border-radius: 0.6rem;
    margin: 0.1rem 0;
}

.loading .main .bar .sub {
    height: 0.1rem;
    width: 98%;
    margin: 0.008rem auto 0;
}

.loading .main .bar .percent {
    height: 100%;
    width: 0;
    background-color: #fff;
    border-radius: 0.6rem;
}

.loading .logo {
    position: absolute;
    bottom: 0.3rem;
    left: 0;
    right: 0;
}

.loading .logo img {
    width: 1rem;
}

.content {
    height: 100vh;
    margin: 0 auto;
    position: relative;
}

.landing {
    text-align: center;
}

.landing .title {
    width: 60%;
}

.landing .logo {
    width: 30%;
    position: absolute;
    right: 0.2rem;
    top: 0.2rem;
}

.landing .action-2 {
    position: absolute;
    bottom: 0.2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing .ititle {
    width: 50%;
}

.landing .tc {
    width: 50%;
    margin-bottom: 0.2rem;
}

.landing .start {
    width: 50%;
}

.slideTop {
    -webkit-animation: st 1s ease-in-out;
    animation: st 1s ease-in-out;
}

@-webkit-keyframes st {
    0% {
        transform: translateZ(0);
    }
    100% {
        transform: translate3d(0, -100%, 0);
    }
}

@keyframes st {
    0% {
        transform: translateZ(0);
    }
    100% {
        transform: translate3d(0, -100%, 0);
    }
}

.slideBottom {
    -webkit-animation: sb 1s ease-in-out;
    animation: sb 1s ease-in-out;
}

@-webkit-keyframes sb {
    0% {
        transform: translateZ(0);
    }
    100% {
        transform: translate3d(0, 200%, 0);
    }
}

@keyframes sb {
    0% {
        transform: translateZ(0);
    }
    100% {
        transform: translate3d(0, 200%, 0);
    }
}

.swing {
    -webkit-animation: sw 2s ease-in-out alternate infinite;
    animation: sw 2s ease-in-out alternate infinite;
}

@-webkit-keyframes sw {
    0% {
        transform: rotate(5deg);
        transform-origin: top center;
    }
    100% {
        transform: rotate(-5deg);
        transform-origin: top center;
    }
}

@keyframes sw {
    0% {
        transform: rotate(5deg);
        transform-origin: top center;
    }
    100% {
        transform: rotate(-5deg);
        transform-origin: top center;
    }
}

.modal .mask {
    background-color: #000;
    opacity: 0.6;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.modal .modal-content {
    position: fixed;
    height: 100%;
    width: 100%;
    /*margin-top: .3rem;*/
    top: 0;
}

.modal .main {
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.modal .container {
    position: relative;
    height: 100%;
}

.modal .bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

.modal .modal-main {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*  margin-top: -0.4rem;*/
    display: flex;
    justify-content: center;
    /*  align-items: center;*/
}

.modal .top {
    position: relative;
    width: 80%;
    max-width: 575px;
    height: auto;
    padding: 0.2rem 0;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.modal .top .blimp {
    width: 90%;
    margin: 0px auto;
}

.modal .top .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../images/main-modal-cong.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 0.4rem 0.1rem 0.4rem;
}

.modal .over-img {
    width: 45%;
    margin: 0.8rem auto 0;
}

.modal .over-score,
.modal .titley,
.modal .titled {
    font-size: 0.25rem;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: -2px -2px 0 #000000, 2px -2px 0 #000000, -2px 2px 0 #000000,
        2px 2px 0 #000000;
}

.modal .over-score {
    font-size: 0.5rem;
    line-height: 0.5rem;
}

.modal .over-code {
    margin-top: 0.1rem;
    font-size: 0.3rem;
    letter-spacing: 4px;
    color: #a51703;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
        2px 2px 0 #fff;
    text-align: center;
}

.modal .over-button-b {
    width: 80%;
    max-width: 320px;
    margin: 0.1rem auto 0;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .modal .top .blimp {
        width: 90%;
    }
}

@media screen and (max-width: 575px) {
    .modal .top .blimp {
        width: 80%;
    }
    .modal .top .text-content {
        padding: 0.5rem 0.1rem 0.3rem;
    }
    .modal .over-button-b {
        width: 70%;
        margin: 0.1rem auto 0;
    }
}

@media screen and (max-width: 375px) {
    .modal .top .text-content {
        padding: 0.45rem 0.1rem 0.25rem;
    }
}

@media screen and (max-width: 360px) {
}

@media screen and (max-width: 320px) {
    .modal .titley,
    .modal .titled {
        font-size: 0.24rem;
    }
    .modal .over-score {
        font-size: 0.45rem;
        line-height: 0.45rem;
    }

    .close_popup_button .title {
        font-size: 18px;
    }
}
