@font-face {
    font-family: fontRegular;
    src: url("/static/font/NotoSansHK-Regular.otf") format("opentype");
}

@font-face {
    font-family: fontRegular;
    src: url("/static/font/ReadexPro-Regular.ttf") format("truetype");
    unicode-range: U+30-39, U+61-7a, U+41-5a;
}

@font-face {
    font-family: fontMedium;
    src: url("/static/font/NotoSansHK-Medium.otf") format("opentype");
}

@font-face {
    font-family: fontMedium;
    src: url("/static/font/ReadexPro-Medium.ttf") format("truetype");
    unicode-range: U+30-39, U+61-7a, U+41-5a;
}

.mobile_view {
    display: block;
}

.desktop_view {
    display: none;
}

@media (min-width: 768px) {
    .mobile_view {
        display: none;
    }

    .desktop_view {
        display: block;
    }
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop_view {
    max-width: 100%;
    position: relative;
    padding-bottom: 12%;
}

.mobile_view {
    max-width: 100%;
    height: 100%;
    position: relative;
    padding-top: 22%;
}

.download_section {
    justify-content: center;
    align-self: center;
}

.logo_div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.app_store_div {
    margin-top: 20px;
}

.download_message {
    width: 100%;
    text-align: center;
    margin-top: 24px;
    font-family: fontRegular;
    font-size: 16px;
    color: #0C0E25;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
}

.download_message_zh {
    margin-top: 12px;
}

.download_btn {
    height: 40px;
    border-radius: 20px;
    border: solid 2px #02432C;
    background-color: #02432C;
    padding: 5px 86px;
    font-family: fontMedium;
    font-size: 18px;
    font-weight: bold;
    line-height: 21px;
    color: #3FF793;
    margin-top: 16px;
    margin-bottom: 24px;
}

.download_btn:focus {
    outline: 0px;
}

.background_image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.qr_wrapper {
    position: relative;
    display: inline-block;
}

.background-image {
    display: block;
    width: 100%;
    height: auto;
}

#qr-container {
    position: absolute;
    left: 23px;
    bottom: 22px;
    width: 128px;
    height: 128px;
}

#qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #ccc;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hidden {
    display: none;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}