/* --------------------------------------------- */
/* Animation */
@keyframes pageNextAnimation {
    0% {
        opacity: 0;
        margin-top: -30px;
    }
    50% {
        opacity: 1;
        margin-top: 0px;
    }
    100% {
        opacity: 0;
        margin-top: 30px;
    }
}

@keyframes pagePreviousAnimation {
    0% {
        opacity: 0;
        margin-top: 30px;
    }
    50% {
        opacity: 1;
        margin-top: 0px;
    }
    100% {
        opacity: 0;
        margin-top: -30px;
    }
}

@keyframes logoAnimation {
    0% {
        opacity: 0;
        margin-top: 200px;
    }
    100% {
        opacity: 1;
        margin-top: 0;
    }
}

@keyframes qrcodeAnimation {
    0% {
        opacity: 0;
        margin-left: -200px;
    }
    100% {
        opacity: 1;
        margin-left: 0;
    }
}



/* --------------------------------------------- */
/* Common Style */
body {
    padding: 0;
    margin: 0;
    font-family:Microsoft YaHei, PingFangSC-Regular, sans-serif,Arial;
}

.page-view {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.content {
    width: 100%;
    position: absolute;
    top: 0px;
}

.section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: radial-gradient(circle at center, rgb(34, 68, 76), rgb(12, 52, 61));
    color: #1F434B;
}

.section-orange-style {
    background: radial-gradient(circle at center, rgb(249, 191, 74), rgb(250, 195, 86));
    color: rgb(249, 191, 74);
}

.section-next-tip, .section-previous-tip {
    position: absolute;
    width: 100%;
    height: 100px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-appearance:none;
}

.section-next-tip {
    bottom: 0;
}

.section-previous-tip {
    top: 0;
}

.section-next-tip img,.section-previous-tip img {
    opacity: 0;
    max-width: 40px;
    width: 6%;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-delay: 2.5s;
}

.section-next-tip img {
    animation-name: pageNextAnimation;
}

.section-previous-tip img {
    animation-name: pagePreviousAnimation;
    transform: rotate(180deg);
}


/* --------------------------------------------- */
/* Entry Style */
.logo {
    opacity: 0;
    max-height: 200px;
    width: 80%;
    max-width: 500px;
    animation-name: logoAnimation;
    animation-duration: 1.0s;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}

.qrcode-view {
    opacity: 0;
    background-color: rgb(249, 191, 74);
    margin-top: 50px;
    padding: 10px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    animation-name: qrcodeAnimation;
    animation-duration: 1.0s;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
}

.qrcode-label {
    color: #1F434B;
    font-size: 22px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.qrcode-link {
    width: 100%;
    text-align: center;
    display: none;
}

.qrcode-link a {
    color: #1F434B;
    font-size: 16px;
    font-weight: bold;
}

@media screen and (max-width: 800px) {
    .qrcode-link {
        display: block;
    }
}

/* --------------------------------------------- */
/* Description Style */
.description-view {
    background-color: rgb(249, 191, 74);
    padding: 20px;
    max-width: 500px;
    width: 80%;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.section-orange-style .description-view {
    background-color: #1F434B;
}

.description-title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

.description-content {
    font-size: 22px;
    margin-top: 10px;
}


/* --------------------------------------------- */
/* Game Style */
.game-view {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.game-cell {
    width: 150px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-view img {
    width: 80px;
}

.game-title {
    margin-top: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

/* --------------------------------------------- */
/* Footer Style */
.footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #1F434B;
    color:#999999;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.footer div {
    padding: 1px 0;
}

.footer a {
    color:inherit;
    /*text-decoration: none;*/
}

.footer .license {
    position: absolute;
    right: 20px;
}