/* Font face*/
@font-face {
    font-family: "balsamiqsans-bold";
    src: url("../fonts/BalsamiqsansBold.ttf");
}

@font-face {
    font-family: "balsamiqsans-regular";
    src: url("../fonts/BalsamiqsansRegular.ttf");
}

noscript {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 6;
}

noscript .btn-group {
    display: flex;
    flex-direction: row;
}

html {
    -webkit-text-size-adjust: none;
}

body {
    -webkit-text-size-adjust: none;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

text {
    white-space: pre-line;
}

.button {
    position: relative;
    width: 45vw;
}

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.button img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
}

.button text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'balsamiqsans-bold', Arial, sans-serif;
    color: white;
    font-size: 2.5vh;
    line-height: 3vh;
}

.bottom {
    position: fixed;
    top: 84%;
    left: 0;
    width: 100%;
    height: 16%;
    color: white;
}

.bottom-infor {
    position: fixed;
    color: #929292;
    text-align: right;
    bottom: 0.5vh;
    right: 5vw;
    font-weight: bold;
    font-size:3vw;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
}

/* Loading Page */
.loading-page {
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-color: white;
    z-index: 5;
}

.loading-page .progress {
    background: rgba(111, 205, 255, 0.3);
    justify-content: flex-start;
    border-radius: 1.5vh;
    align-items: center;
    padding: 0 1vh;
    display: flex;
    height: 3vh;
    width: 80%;
}

.loading-page .progress-value {
    animation: loading 3s linear infinite;
    box-shadow: 0 10px 40px -10px #fff;
    border-radius: 1.5vh;
    background: #2d9cdb;
    height: 2vh;
    width: 0%;
}

.landing-page .title {
    width:90%;
    margin-top: 1vh;
    margin-bottom: 1vh;
    font-size: 4.5vh;
    line-height: 5.0vh;
    font-weight: bold;
    color: #2D9CDB;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
}

.landing-page .top-desc {
    width:90%;
    margin-bottom: 1vh;
    font-size: 3vh;
    line-height: 3.5vh;
    color: #929292;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
}

.landing-page .applaydu-desc {
    width:70%;
    margin-top: 1vh;
    margin-bottom: 1vh;
    font-size: 3vh;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
    padding-top: 2vh;
}

.landing-page .toy_logo {
    height: 25%;
    padding-top: 3vh;
}

.landing-page .toy_logo img{
    position:absolute;
    height: inherit;
    transform: translate(-50%)
}

@keyframes loading {
    0% { margin-left: 0%; width:0%;}
    30% { margin-left: 0%; width:30%;}
    100% { margin-left: 100%; width:30%;}
}

/* Legal disclaimer */
.legal-disclaimer {
    display: block;
    background-color: #FAFAFA;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
    font-style: normal;
    font-size: 1.9vh;
    color: #333333;
    width:100%;
    line-height: 2.5vh;
}

.full-screen {
    height: 100%;
}

.flash-info {
    height: auto;
}

.legal-disclaimer .background {
    z-index: -1;
}

.legal-disclaimer .container {
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 5px;
    /* padding-bottom: 1vh; */
}

.legal-disclaimer #legal-exit-btn {
    display: block;
    position: relative;
    margin-right: 0px;
    margin-left: auto;
}

.legal-disclaimer .logo {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.legal-disclaimer .store-logo {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.legal-disclaimer .title {
    text-align: center;
    font-size: 3.5vh;
    color: #333333;
    font-family: 'balsamiqsans-bold', Arial, sans-serif;   
    line-height: 3.5vh;
}

.legal-disclaimer .countdown-text {
    text-align: center;
    margin-top: 5px;
    /* margin-bottom: 1vh; */
    padding-left: 1.5vh;
    padding-right: 1.5vh;
    font-size: 1.6vh;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
    color: #666666;
}

.legal-disclaimer .emphasize {
    background: #EAEAEA;
    border-radius: 6px;
    padding: 8px;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
}

.legal-disclaimer #legal-detail-btn {
    text-decoration-line: underline;
    color: #3FA2F7;
}

.legal-disclaimer #legal-disagree-btn {
    color: #2D9CDB;    
}

.legal-disclaimer .legal-disagree-text {
    text-align: center;
    margin-top: 2vh;
    margin-bottom: 2.5vh;
    font-size: 2vh;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
    color:#2D9CDB;
    font-weight: bold;
}

.legal-disclaimer .group-btn {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

/* Landscape popup */
.background-fullscreen {
    width: 100%;
    height:100%;
    top: 0px;
    left: 0px;
    position:fixed;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
    font-size: 2vw;
}

/* Countdown */
.countdown {
    position: fixed;
    bottom: 8px;
    left: 8px;
    width: 40px;
    height: 40px;
}

.countdown #number-text {
    text-align:center;
    position: absolute;
    line-height: 50%;
    width: 100%;
    font-size: 18px;
}

.countdown .background {
    position: absolute;
    background: black;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    opacity: 50%;
}

.countdown svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    transform: rotate(-90deg);
}

.countdown svg circle {
    stroke-dasharray: 100px;
    stroke-dashoffset: 0px;
    stroke-linecap: round;
    stroke-width: 4px;
    stroke: white;
    fill: none;
    transition: 1s linear;
}

/* Copyright popup */
#copyright-popup {
    width: 100%;
    height: 100%;
    z-index: 6;
}

#copyright-popup .background{
    background-color: black;
    opacity: 0.7;
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    z-index: 6;
}

#copyright-popup .container {
    height: 50%;
    background-size: cover;
    background-image: url('../images/landing_bg.png');
    border-radius: 2%;
    overflow: hidden;
    z-index: 6;
}

#copyright-popup #copyright-exit-btn {
    display: block;
    position: relative;
    margin-right: 2vw;
    margin-left: auto;
    margin-top: 2vw;
}

#copyright-popup .title {
    font-size: 4vh;
    font-weight: bold;
    padding-bottom: 2vh;
}

#copyright-popup .desc {
    font-size: 3vh;
    padding-left: 2vw;
    padding-right: 2vw;
    color: #666666;
}

#copyright-popup .version-number {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: end;
    font-size: 1.5vh;
    padding-right: 2vw;
    padding-bottom: 2vh;
}

#copyright-popup #copyright-desc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96%;
}

/* disclaimer popup */
#disclaimer-popup {
    width: 100%;
    height: 100%;
    z-index: 6;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
    font-style: normal;
    font-size: 2vh;
    color: #666666;
    line-height: 3vh;
}


#disclaimer-popup .background{
    background-color: black;
    opacity: 0.7;
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    z-index: 6;
}

#disclaimer-popup .container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-image: url('../images/landing_bg.png');
    overflow: hidden;
    z-index: 6;
}

#disclaimer-popup #disclaimer-exit-btn {
    display: block;
    position: relative;
    margin-right: 2vw;
    margin-left: auto;
    margin-top: 2vw;
}

.disclaimer-popup-logo {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.disclaimer-popup-title {
    text-align: center;
    font-size: 4vh;
    color: #333333;
    font-family: 'balsamiqsans-bold', Arial, sans-serif;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 3.5vh;
}

.disclaimer-popup-emphasize {
    background: #EAEAEA;
    border-radius: 6px;
    padding: 8px;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;   
    margin: 10px;
    text-align: left;
}

.disclaimer-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'balsamiqsans-regular', Arial, sans-serif;
}

.disclaimer-popup-btn {
    color: #2D9CDB;
    padding-right: 20px
}

.disclaimer-content-spacing {
    margin-top: 3px;
}
