@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

body{
	margin: 0;
	padding: 0;
    font-family: 'Lato', sans-serif;
}
img{
    border:0;
    display: block;
}
.modal{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0,0,0,0.8);
    z-index: 1;
    display: none;
}
.a-modal-close{
    top: 4.5%;
    left: inherit;
    right: 7.5%;
    width: 10%;
    height: 10%;   
}

.container{
	position: relative;
    width:100%;
	max-width: 768px;
	margin: 0 auto;
	overflow: hidden;
    display: none;
}
.container.show{
    display:block;
}
.img-full{
    width:100%;
}
.a-global{
	position: absolute;
	top: 0;
	left: 0;
}

.a-home-joinnow{
    width: 44%;
    height: 5%;
    top: 54%;
    left: 28%;
}
.a-home-journeyhowtowin{
    width: 44%;
    height: 5%;
    top: 54%;
    left: 28%;
}
.div-home-social{
    position: absolute;
    width: 40%;
    height: 4.5%;
    top: 60.5%;
    left: 43.5%;
}
.a-home-shopee, 
.a-home-lazada,
.a-home-potboy,
.a-home-foodpanda{
    width: 21%;
    height: 100%;
}
.a-home-lazada{
    margin-left:24%;
}
.a-home-potboy{
    margin-left:47%;
}
.a-home-foodpanda{
    margin-left: 71%;
    width: 28%;
}


.a-joinnow-isweb-submit{
    width: 32%;
    height: 4.5%;
    top: 59%;
    left: 34%;
}
.a-joinnow-isnoweb-back{
    width: 32%;
    height: 4.5%;
    top: 59%;
    left: 17%;
}
.a-joinnow-isnoweb-submit{
    width: 32%;
    height: 4.5%;
    top: 59%;
    left: 51%;
}
.joinnow-form{
    position: absolute;
    top: 28%;
    left: 17%;
    width: 67%;
    height: 29%;
}
.joinnow-form-input{
    width: 90%;
    height: 10%;
    border: 0;
    font-size: 16px;
    background: transparent;
    margin-bottom: 9.5%;
    padding: 0 5%;
    padding-top:1px;
}



.a-joinnowdetails-purchase{
    width: 6%;
    height: 3%;
    top: 33.5%;
    left: 61%;
}
.a-joinnowdetails-upload{
    width: 6%;
    height: 3%;
    top: 40%;
    left: 42%;
}
.a-joinnowdetails-back{
    width: 32%;
    height: 4.5%;
    top: 56%;
    left: 17%;
}
.a-joinnowdetails-submit{
    width: 32%;
    height: 4.5%;
    top: 56%;
    left: 51%;
}
.joinnowdetails-form{
    position: absolute;
    top: 29%;
    left: 17%;
    width: 67%;
    height: 29%;
}
.joinnowdetails-form-input{
    width: 90%;
    height: 11%;
    border: 0;
    font-size: 16px;
    background: transparent;
    margin-bottom: 10.5%;
    padding: 0 5%;
    padding-top:1px;
}
.joinnowdetails-form-file-box {
    position: relative;
    display: block;
    width: 100%;
    height: 10%;
    margin-top: -7%;
}
.joinnowdetails-form-file-box input {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.joinnowdetails-form-tnc-text-1{
    font-size: 16px;
    line-height: 1.1;
}
.joinnowdetails-form-tnc-text-2{
    font-size: 16px;
    line-height: 1.1;
}
#joinnowdetails-form-file-select-select{
    display:block;
    width:50%;
}
#joinnowdetails-form-file-select-selected{
    display:none;
    width:50%;
}
#joinnowdetails-form-text-select-selected{
    position: absolute;
    bottom: 9%;
    margin-left: 9%;
    color: #f00;
}
.joinnowdetails-form-file-select-box{
    position: absolute;
    top: 0;
    margin-top: -4%;
    left: 0;
    margin-left: -2%;
    width: 100%;
}
.joinnowdetails-form-tnc-box{
    margin-top:10px;
    height: 18%;
}
#joinnowdetails-form-tnc-img-box-check-1{
    display: block;
    width:90%;
}
#joinnowdetails-form-tnc-img-box-checked-1{
    display: none;
    width:90%;
}
#joinnowdetails-form-tnc-img-box-check-2{
    display: block;
    width:90%;
}
#joinnowdetails-form-tnc-img-box-checked-2{
    display: none;
    width:90%;
}
.joinnowdetails-form-tnc-img-box{
    float: left;
    width: 7%;
    height: 40px;
}
.a-modal-joinnowdetails-purchase-close{
    top: 39.5%;
    left: 34%;
    right: inherit;
    width: 32%;
    height: 4.5%;
}
.a-modal-joinnowdetails-purchase-upload{
    top: 3.5%;
    left: inherit;
    right: 1.5%;
    width: 9%;
    height: 5%;
}


.a-howtowin-back{
    width: 31%;
    height: 4%;
    top: 86%;
    left: 17.5%;
}
.a-howtowin-next{
    width: 31%;
    height: 4%;
    top: 86%;
    left: 51%;
}

.a-instruction-back{
    width: 31%;
    height: 4.2%;
    top: 61%;
    left: 18%;
}
.a-instruction-start{
    width: 31%;
    height: 4.2%;
    top: 61%;
    left: 51%;
}

.playgame-dropdown {
    top: -20%;
    width: 20%; 
    position: absolute;
}
.playgame-dropdown img{
    width: 100%; 
}
.playgame-top{
    display: flex;
    z-index: 1;
    width: 100%;
    position: absolute;
    top: 0;
    align-items: center;
    justify-content: center;
}
.playgame-top-timer{
    width:48%;
}
.img-playgame-top-left{
    width:26%;
}
.playgame-top-timer img{
    width:100%;
}
.playgame-top-score{
    position: relative;
    width:26%;
}
.img-playgame-top-right{
    width:100%;
}
.playgame-top-score-text{
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    -webkit-text-stroke: 5px #2b3980;
}

.img-playgame-score{
    position: absolute;
    top: 0;
}
.img-playgame-score img{
    width: 100%;
}
.img-playgame-ticket{
    position: absolute;
    top: 34%;
}
.img-playgame-ticket img{
    width: 100%;
}
.text-playgame-remaining{
    position: absolute;
    top: 80.5%;
    text-align: center;
    width: 100%;
    font-size: 22px;
}
.a-modal-playgameagain, .a-modal-playgameremaining{
    top: 30%;
    height: 6%;
    right: 8.5%;
}
.a-modal-playgameagain-again{
    width: 39%;
    height: 4.5%;
    top: 75%;
    left: 30%;
}
.a-modal-playgamenext-next{
    width: 39%;
    height: 5%;
    top: 80%;
    left: 30%;
}



.a-share-back{
    width: 32%;
    height: 4%;
    top: 58.5%;
    left: 14%;
}
.a-share-sharenow{
    width: 36%;
    height: 4%;
    top: 58.5%;
    left: 49%;
}




#result-top-scoreearn{
    font-weight: bold;
    position: absolute;
    top: 36%;
    width: 100%;
    text-align: center;
    font-size: 100px;
    -webkit-text-stroke: 5px #2b3980;
    color: #fff;
}
.a-result-redeem{
    width: 69%;
    height: 5%;
    top: 54%;
    left: 16%;
}

#div-congratulation-modal-content{
    display: none;
    position: absolute;
    width: 94%;
    margin: 0 3%;
    top: 20%;
}
.a-modal-congratulation-gotit{
    width: 26%;
    height: 8%;
    top: 80%;
    left: 15%;
}
.a-modal-congratulation-rewards{
    width: 41%;
    height: 8%;
    top: 80%;
    left: 44%;
}
#img-congratulation-text{
    position: absolute;
    width: 56%;
    top: 22%;
    left: 22%;
}
#img-congratulation-text img{
    width: 100%;
}

#div-morerewards-modal-content {
    display: none;
    position: absolute;
    width: 94%;
    margin: 0 3%;
    top: 20%;
}
.a-modal-morerewards-thankyou{
    width: 30%;
    height: 8%;
    top: 77%;
    left: 13.5%;
}
.a-modal-morerewards-grabrewards{
    width: 41%;
    height: 8%;
    top: 77%;
    left: 45.5%;
}

#div-social-modal-content {
    display: none;
    position: absolute;
    width: 94%;
    margin: 0 3%;
    top: 20%;
}

.a-thankyou-home{
    width: 70%;
    height: 5%;
    top: 54%;
    left: 15%;
}
#img-thankyou-score{
    position: absolute;
    width: 60%;
    top: 33%;
    left: 23%;
}
#img-thankyou-score img{
    width: 100%;
}

.a-modal-social-share{
    width: 51%;
    height: 11%;
    top: 58%;
    left: 24%;
}


.a-journeyhowtowin-back{
    width: 31%;
    height: 4%;
    top: 86%;
    left: 18%;
}
.a-journeyhowtowin-next{
    width: 31%;
    height: 4%;
    top: 86%;
    left: 51%;
}
.a-journeyinstruction-back{
    width: 31%;
    height: 4.2%;
    top: 60%;
    left: 18%;
}
.a-journeyinstruction-start{
    width: 31%;
    height: 4.2%;
    top: 60%;
    left: 51%;
}
.a-journeyjoinnow-back{
    width: 31%;
    height: 4.5%;
    top: 57%;
    left: 18%;
}
.a-journeyjoinnow-submit{
    width: 31%;
    height: 4.5%;
    top: 57%;
    left: 51%;
}






@media screen and (max-width: 768px){
    .joinnowdetails-form-tnc-box{
        height: 15%;
    }
    .joinnowdetails-form-tnc-text-1{
        font-size: 1.8vw;
    }
    .joinnowdetails-form-tnc-text-2{
        font-size: 1.8vw;
    }
    .playgame-top-score-text{
        font-size:12vw;
    }
    #result-top-scoreearn{
        font-size:17vw;
    }
    #joinnowdetails-form-text-select-selected{
        font-size: 2vw;
    }
}

@media screen and (max-width: 480px){
    .joinnow-form-input, .joinnowdetails-form-input{
        font-size: 11px;
        height: 12%;
        margin-bottom: 7.5%;
    }
    .joinnow-form-file-select-box{
        margin-top: -2%;
    }
    .joinnowdetails-form-tnc-box{
        height: 8%;
    }
    .joinnowdetails-form-file-box{
        margin-top: -1%;
    }
    .joinnowdetails-form-tnc-img-box{
        height: 20px;
    }
}