/* reset */
* {
    margin: 0;
    padding: 0;
    font-family: 'Alegreya Sans', Arial, sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    background-color: black;
    letter-spacing: .18em;
}

a {
    text-decoration: none;
}

ul,
li {
    list-style-type: none;
}

/* begin */
body {
    position: relative;
    font-size: 12px;
}

img {
    vertical-align: top;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 2vw 3.5vw 0;
}

header .logo img {
    height: 5vw;
}

header .contact-container a {
    margin-right: 3vw;
}

header .contact-container img {
    height: 2.7vw;
}

section {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

section .banner-container .banner {
    width: 100%;
    text-align: center;
}

section .banner-container {
    flex: 1;
}

section .header-picture{
    flex: 1;
}

section .header-picture .header {
    width: calc(80% - 10vh);
}

footer {
    position: fixed;
    z-index: 9;
    right: 10vw;
    bottom: 8vw;
    display: none;
}

.desktop-qrcode .qrcode {
    width: 12vw;
    height: 12vw;
    padding: 0.5vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: white;
    box-sizing: border-box;
    border-radius: 5px;
}

.desktop-qrcode .qrcode .qrcc {
    width: 100%;
    height: 100%;
}

.desktop-qrcode .qrcode .qrcc img {
    width: 100%;
    height: 100%;
}

.desktop-qrcode {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 2.5vw 0 -5vw 5vw;
}

.desktop-qrcode .download-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 1vw;
}

.desktop-qrcode .download-link .application {
    height: 4.7vw;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin: 0.7vw;
}

.desktop-qrcode .download-link .tips {
    height: 4vw;
    min-height: 5rem;
    margin-left: 2rem;
}

.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    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-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 9px solid;
    border-color: rgba(0, 0, 0, 0.5);
    border-right-color: #474bff;
    -webkit-animation: spinner-zp9dbg 1s infinite linear;
    animation: spinner-zp9dbg 1s infinite linear;
}

@-webkit-keyframes spinner-zp9dbg {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

@keyframes spinner-zp9dbg {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

@-webkit-keyframes scale {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scale {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    body {
        background: url('/image/mobile/background.png') top center;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: black;
    }

    header {
        padding: 1.5rem;
        background-image: url('/image/mobile/header_bg.webp');
        background-size: 100% 100%;
    }

    header .contact-container a:last-child {
        margin-right: 0;
    }

    header .logo img {
        height: 11vw;
    }

    header .contact-container img {
        height: 6vw;
    }

    section {
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    section .header-picture,section .banner-container {
        flex: unset;
        text-align: center;
    }

    section .banner-container .banner {
        display: none;
    }

    section .header-picture .header {
        width: 75vw;
        margin-top: 20vw;
        margin: 20vw auto auto;
    }

    footer {
        position: fixed;
        display: block;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        background-image: url('/image/mobile/footer_bg.webp');
        background-size: 100% 100%;
    }

    .desktop-qrcode {
        display: none;
    }

     .vertical-scrolling .fp-tableCell picture .header {
        width: 85%;
        margin: 0 auto;
    }

     .vertical-scrolling .fp-tableCell .header-picture {
        margin-top: 20vw;
        align-items: center;
        justify-content: flex-start !important;
    }

    footer .mobile-download {
        width: 100%;
        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-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-bottom: 0.5rem;
    }

    footer .mobile-download .tips-container {
        text-align: center;
        padding-bottom: 2vw;
    }

    footer .mobile-download .tips-container img{
        width: 90%;
        margin: 0  auto;
    }

    footer .mobile-download .setup-tips {
        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-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 3vw auto;
    }

    footer .mobile-download .setup-tips img {
        height: 5vw;
    }

    footer .mobile-download .download-link {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    footer .mobile-download .download-link a {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        text-align: center;
    }

    footer .mobile-download .download-link a img {
        width: 90%;
    }

     .vertical-scrolling .fp-tableCell {
        display: flex;
        flex-direction: column-reverse;
    }

     .vertical-scrolling .fp-tableCell picture {
        align-items: baseline;
        justify-content: baseline !important;
    }

     .vertical-scrolling .fp-tableCell picture .banner {
        position: relative;
        z-index: 9;
        width: 100vw;
        transform: translateY(-42vw);
    }

     .vertical-scrolling .fp-tableCell .header-picture {
        flex: none;
    }

     .vertical-scrolling .fp-tableCell .header-picture .banner {
        width: 85vw;
    }

    #fp-nav {
        right: 0.5vw !important;
        top: 45vw !important;
    }
}


@media (max-width: 375px) {
     .vertical-scrolling .fp-tableCell picture .banner {
        position: relative;
        z-index: 9;
        width: 100vw;
        transform: translateY(-3rem);
    }
}