* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

body {
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    background-image: url("../images/background_pc.webp");
    background-size: cover;
    background-color: black;
}

header {
    height: 10vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4.5rem 0;
    position: relative;
    z-index: 99;
}

header .logo-container .logo {
    height: 4.5rem;
}

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

header .contact-container a {
    color: white;
    margin-left: 1.3rem;
}

header .contact-container a img {
    height: 3rem;
    vertical-align: middle;
}

section {
    height: 90vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

section .title {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

section .content {
    width: 50%;
    text-align: center;
}

section .content img {
    width: 87%;
    margin: 0 auto;
}

section .title .title-images {
    width: 85%;
    margin: -35% auto 0;
}

section .title .qrcode-container {
    display: flex;
    align-items: center;
    position: fixed;
    left: 3%;
    bottom: 2%;
    z-index: 999;
}

section .title .qrcode-container .qrcode {
    background-image: url(../images/qr.webp);
    padding: 1rem;
    background-size: 100% 100%;
    height: 14rem;
}

section .title .qrcode-container .qrcode .qr {
    padding: 1.2rem;
}

section .title .qrcode-container .qrcode .qr img {
    width: 10rem !important;
    height: 10rem !important;
}

section .title .qrcode-container .download {
    margin-top: 2rem;
}

section .title .qrcode-container .download .application {
    display: flex;
    flex-direction: column;
}

section .title .qrcode-container .download .application img {
    width: 16rem;
    margin-top: -1rem;
}

section .title .qrcode-container .download .tips img {
    position: relative;
    margin-left: 1rem;
    height: 4rem;
}

footer {
    display: none;
}

.setup-video-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100vw;
    max-width: 640px;
    height: 100vh;
    z-index: 99;
    overflow: hidden;
    background-color: white;
    display: none;
    flex-direction: column;
    left: 0;
    
}

.setup-video-container .header {
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: black;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.1);
    position: relative;
    z-index: 1;
}

.setup-video-container .header .android-modal-arrow {
    font-size: 1.5rem;
    line-height: 1;
}
.setup-video-container .header .android-modal-arrow img {
    height: 1.2rem;
}

.setup-video-container .header .title {
    flex: 1;
    text-align: center;
}

.setup-video-container .video-content-container {
    height: 100%;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-video-container .video-content-container video {
    width: 100%;
    height: calc(100vh - 5rem);
    background-color: black;
}

.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-container .spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 9px solid;
    border-color: rgba(0, 0, 0, 0.5);
    border-right-color: #107bfe;
    -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);
    }
}

@media screen and (max-width: 600px) {
    body {
        background-image: url(../images/background.webp);
        overflow-y: scroll;
    }

    header {
        width: 100vw;
        padding: 1rem;
        box-sizing: border-box;
    }

    header .logo {
        height: 3rem !important;
    }

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

    header .contact-container .support {
        position: fixed;
        right: 6%;
        bottom: calc(10vh + 10vw);
        z-index: 10;
    }

    header .contact-container .support img {
        display: none;
        height: 4.5rem;
    }

    section {
        min-height: 100vh;
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
    }

    section .qrcode-container {
        display: none !important;
    }

    section .title {
        width: 90%;
        flex: 0;
        padding-top: 0;
        justify-content: flex-start;
    }

    section .title .title-images {
        width: 90%;
        margin: 0 auto;
    }

    section .content {
        width: 100%;
    }

    section .content img {
        width: 100%;
    }

    footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-top: 5vw;
        padding-bottom: 5vw;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        background-color: rgba(32, 32, 32, 0.6);
        overflow: hidden;
        backdrop-filter: blur(10px);
    }

    footer .tips-container {
        width: 100vw;
        text-align: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly; 
        padding: 0.5rem 0;       
    }

    footer .tips-container img {
        height: 5vw;
    }

    footer .tips-container p {
        font-size: 4vw;
    }

    footer .device-container {
        width: 100vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }

    footer .device-container a {
        display: block;
        margin: 3vw 0;
    }

    footer .device-container img {
        height: 8.5vw;
    }

    footer p {
        color: #ffcc00;
        font-size: 2.8vw;
        text-align: center;
    }
}