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

html {
    font-size: 62.5%;
}

body {
    position: relative;
    font-size: 14px;
}

a {
    text-decoration: none;
}

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

.vertical-scrolling:nth-child(1) {
    background: url(/image/desktop/background.png) no-repeat;
    background-size: 100% 100%;
}

.vertical-scrolling:nth-child(2) {
    background: url(/image/desktop/background2.png) no-repeat;
    background-size: 100% 100%;
}

header {
    position: absolute;
    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 .line {
    position: absolute;
    right: 0;
    bottom: -1vw;
    right: 4vw;
    object-fit: contain;
}

header .logo img {
    height: 6vw;
}

header .contact-container {
    display: flex;
    align-items: center;
}

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

header .contact-container img {
    height: 3.5vw;
    object-fit: contain;
}

#fullpage .vertical-scrolling .fp-tableCell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#fullpage .vertical-scrolling .fp-tableCell .header-picture {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#fullpage .vertical-scrolling .fp-tableCell .header-picture .banner {
    width: 100%;
}

#fullpage .vertical-scrolling .fp-tableCell picture {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    height: 100%;
}

#fullpage .vertical-scrolling .fp-tableCell picture .header {
    width: 55vw;
    position: absolute;
    top: 22vh;
    left: 5rem;
}

#fullpage .vertical-scrolling:nth-child(2) .fp-tableCell picture .header {
    width: 50vw;
}

#fullpage .vertical-scrolling .fp-tableCell picture img {
    width: 82%;
    float: right;
}

#fullpage .vertical-scrolling .fp-tableCell picture .banner {
    margin-right: 8%;
    user-select: none;
}

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

.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;
    padding: 1vw;
    margin-bottom: 2rem;
    margin-left: 5.5rem;
}

.desktop-qrcode .qrcode {
    width: 12vw;
    height: auto;
    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: #f6dab5;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
}

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

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



.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;
    width: 37rem;
}

.desktop-qrcode .download-link .application {
    height: 6vh;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin: 0.5rem;
}

.vertical-scrolling:nth-child(1) .tips-content {
    height: 4.5vw;
    font-size: 2.1rem;
    min-height: 5rem;
    margin-left: 7rem;
    color: #f6dab5;
    text-shadow:
        -2px -2px 0 #2a0101,
        2px -2px 0 #2a0101,
        -2px 2px 0 #2a0101,
        2px 2px 0 #2a0101;
}

.vertical-scrolling:nth-child(2) .tips-content {
    height: 4.5vw;
    font-size: 2.1rem;
    min-height: 5rem;
    margin-left: 7rem;
    color: white;
    text-shadow:
        -2px -2px 0 black,
        2px -2px 0 black,
        -2px 2px 0 black,
        2px 2px 0 black;
}

.vertical-scrolling:nth-child(2) .desktop-qrcode .qrcode {
    background-color: white;
}

footer .mobile-download {
    display: none;
}


.fp-right {
    right: 10px;
}

#fp-nav ul li,
.fp-slidesNav ul li {
    height: auto;
}

#fp-nav ul li a,
.fp-slidesNav ul li a {
    display: contents;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    position: relative;
    display: block;
    background: #fff;
    font-size: 0;
    text-indent: -1000px;
    width: 5px;
    height: 5px;
    margin: 0 !important;
    border: 1px solid transparent;
}

#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li a.active span,
.fp-slidesNav ul li:hover a.active span {
    background: rgb(255, 255, 255);
    border-color: #fff;
}

#fp-nav ul li a span.fp-sr-only,
.fp-slidesNav ul li a span.fp-sr-only {
    position: absolute;
}

#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li a.active span,
.fp-slidesNav ul li:hover a.active span {
    height: 15px;
    width: 5px;
    margin: -6px 0 0 -6px;
    border-radius: 11px;
}

#fp-nav ul li,
.fp-slidesNav ul li {
    margin: 7px;
}

.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: #e00412;
    -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: 1024px) and (min-width: 768px) {
    #fullpage .vertical-scrolling .fp-tableCell picture {
        align-items: center;
        justify-content: center;
    }

    header .logo img {
        height: 7vw;
    }

    header .line {
        height: 1.5rem;
        bottom: 0;
    }

    header .contact-container img {
        height: 3rem;
    }
}


@media (max-width: 768px) {

    .vertical-scrolling:nth-child(1) {
        background: url(/image/mobile/background.png) no-repeat;
        background-size: 100% 100%;
    }

    .vertical-scrolling:nth-child(2) {
        background: url(/image/mobile/background2.png) no-repeat;
        background-size: 100% 100%;
    }

    #fullpage .vertical-scrolling .fp-tableCell header picture {
        margin-top: 0;
        padding-top: 0;
    }

    header {
        padding: 2.5vw;
        background-color: rgba(0, 0, 0, 0.5);
    }

    header .logo img {
        height: 12vw;
    }

    header .line {
        height: 1rem;
        bottom: 0;
    }

    header .contact-container img {
        height: 5.5rem;
    }

    footer {
        width: 100vw;
        left: 0;
        right: 0;
        bottom: 0;
        background: url(/image/mobile/footer_bg.png) no-repeat;
        background-size: 100% 100%;
        background-position: bottom;
    }

    .desktop-qrcode {
        display: none;
    }

    #fullpage .vertical-scrolling .fp-tableCell {
        flex-direction: column;
    }

    .vertical-scrolling .tips-content {
        display: none;
    }

    #fullpage .vertical-scrolling .fp-tableCell picture .header {
        width: 95% !important;
        margin: 0 auto;
        top: 12vh;
        left: 0;
        right: 0;
    }

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

    footer .mobile-download {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 1rem 3rem;
        box-sizing: border-box;
    }

    footer .mobile-download a {
        text-decoration: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        color: white;
    }

    footer .mobile-download a:visited {
        color: white;
    }

    footer .mobile-download a:hover {
        color: white;
    }

    footer .mobile-download .icon {
        margin-right: 10px;
        height: 6vw;
        object-fit: contain;
    }

    footer .mobile-download .line {
        width: 2px;
        height: 3vh;
        background: linear-gradient(to bottom, #ff849c, #ffce9ffe);
    }

    footer .mobile-download a:active {
        color: white;
    }

    footer .mobile-download .content p {
        font-size: 8px;
        opacity: 0.5;
        white-space: nowrap;
    }

    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-top: 1rem;
        margin-bottom: 0.5rem;
    }

    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%;
    }

    #fullpage .vertical-scrolling .fp-tableCell picture {
        align-items: baseline;
        justify-content: center;
        padding-top: 3rem;
    }

    #fullpage .vertical-scrolling .fp-tableCell picture .banner {
        position: relative;
        z-index: 9;
        width: 100vw;
    }

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

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


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