root { 
    display: block;
}

body{
    background-color: #000000;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
    margin: 0;
}

*, *:before, *:after {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
*{
    box-sizing: border-box;
}
     
input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }

#canvas{
    position: fixed;
 
}

canvas {
	-ms-touch-action: none;
}

.ani_hack{
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* mobile webkit */
}



/***************FONTS*******************/

@font-face {
    font-family: 'balsamiq';
    src: url('balsamiqsans-bold-webfont.woff2') format('woff2'),
        url('balsamiqsans-bold-webfont.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family:"GothamRounded-Book";
    src:url("Gotham-Rounded-Book.woff2") format("woff2"),url("Gotham-Rounded-Book.woff") format("woff");
    font-style:normal;font-weight:400;
}
@font-face {
    font-family:"GothamRounded-Bold";
    src:url("Gotham-Rounded-Bold.woff2") format("woff2"),url("Gotham-Rounded-Bold.woff") format("woff");
    font-style:normal;font-weight:400;
}



.check-fonts{
        position: fixed;
        opacity:0;
}

.check-font-1{
        font-family:"balsamiq", sans-serif;
}
.logo{
    position: absolute;
    width: 100px;
    left: 5%;
    top: 0rem;
}
@media only screen and (max-width: 767px) {
    .logo{
        width: 50px;
    }
}
.logo img{
    width: 100%;
}
.homepage-login{
    position: relative;
}
.homepage-login .bg{
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.homepage-login .bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.login-wrap{
    position: fixed;
    width: 50%;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    font-family:"GothamRounded-Book", sans-serif;
    font-size: 2rem;
    text-align: center;
}
@media only screen and (max-width: 1024px) {
    .login-wrap{
        width: 80%;
        top: 22%;
    }
}
@media only screen and (max-width: 767px) {
    .login-wrap{
        width: 90%;
    }
}
.login-wrap .candy-crush-logo{
    width: 70%;
    margin: 0 auto;
}
@media only screen and (max-width: 767px) {
    .login-wrap .candy-crush-logo{
        width: 80%;
        margin-top: 15%;
    }
}
.login-wrap .button{
    width: 250px;
    margin: 0 auto;
}
.login-wrap .candy-crush-logo img, .login-wrap .button img{
    width: 100%;
}
.login-wrap .content{
    color: #fff;
    font-size: 1rem;
    max-width: 50%;
    margin: -3rem auto 2rem auto;
    line-height: 1.5;
}
@media only screen and (max-width: 1024px) {
    .login-wrap .content{
        max-width: 70%;
    }
}
@media only screen and (max-width: 767px) {
    .login-wrap .content{
        max-width: 100%;
    }
}
.login-popup{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2;
    background: url(../css/bg_desktop.jpg) center center no-repeat;
    background-size: cover;  
    display: none;  
}
.login-popup .wrap{
    position: absolute;
    width: 500px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-family:"GothamRounded-Book", sans-serif;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap{
        width: 100%;
    }
}
.login-popup .wrap .bg-pop{
    width: 100%;
}
.login-popup .wrap .bg-pop img{
    width: 100%;
}
.login-popup .wrap .close{
    position: absolute;
    width: 50px;
    height: 50px;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap .close{
        width: 40px;
        height: 40px;
    }
}
.login-popup .wrap .close img{
    width: 100%;
}
.login-popup .wrap .bind{
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    margin: 3rem auto;
    position: absolute;
    left: 20%;
    top: 2rem;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap .bind{
        margin-top: 1rem;
        width: 65%;
    }
}
.login-popup .wrap .bind.d-none{
    display: none;
}
.login-popup .wrap .input-wrap label{
    font-size: 0.7rem;
    color: #fff;
    display: block;
    margin-bottom: 0.2rem;
}
.login-popup .wrap .input-wrap{
    margin-bottom: 1rem;
    width: 100%;
}
.login-popup .wrap .input-wrap .save-password{
    display: flex;
    font-size: 0.7rem;
    color: #fff;
    align-items: center;
}
.login-popup .wrap .input-wrap .save-password input{
    margin-right: 5px;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap .input-wrap{
        margin-bottom: 0.5rem;
    }
}
.login-popup .wrap .input-wrap .input{
    width: 100%;
    background: url(../sprites/input-bg.png) left center no-repeat;
    background-size: 100%;
    height: 42px;
    padding: 5px 15px;
    margin-bottom: 10px;
    border: 0;
    outline: 0;
    font-size: 0.9rem;
    box-sizing: border-box;
}
.mb-0{
    margin-bottom: 0 !important;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap .input-wrap .input{
        margin-bottom: 5px;
    }
}
.login-popup .wrap .input-wrap .submit, .login-popup .wrap .input-wrap .secondary-button{
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 100%;
}
.login-popup .wrap .input-wrap .submit img, .login-popup .wrap .input-wrap .secondary-button img{
    width: 120px;
    display: inline-block;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap .input-wrap .submit img{
        width: 90px;
    }
}
.login-popup .wrap .input-wrap .secondary-button{
    padding: 0 10px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    display: inline-block;
}
.login-popup .wrap .input-wrap .forgot-password{
    margin: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    padding: 0 10%;
}
.login-popup .wrap .input-wrap .forgot-password a{
    color: #6ec0f4;
    text-decoration: none;
    font-size: 0.75rem;
}
.login-popup .wrap .input-wrap .forgot-password a:hover{
    text-decoration: underline;
}
.login-popup .wrap .button-wrap{
    position: relative;
    width: 100%;
    color: #fff;
}
.login-popup .wrap .button-wrap .or-text{
    text-align: center;
    margin-bottom: 0.5rem;
}
.or-text img{
    height: 15px;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap .button-wrap{
        width: 100%;
    }
    .or-text img{
        height: 10px;
    }
}
.login-popup .wrap .button-wrap .label{
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}
.login-popup .wrap .button-wrap ul{
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 10%;
}
.login-popup .wrap .button-wrap ul li{
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-align: center;
}
.login-popup .wrap .button-wrap ul li img{
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .login-popup .wrap .button-wrap ul li img{
        width: 80%;
    }
}
.login-popup .wrap .button-wrap ul li a{
    display: block;
}
.login-popup .wrap .button-wrap ul li a.fb{
    background: #4267B2;
}
.login-popup .wrap .button-wrap ul li a.tw{
    background: #00acee;
}
.login-popup .wrap .button-wrap ul li a.gm{
    background: #EA4335;
}
.leaderboard-wrap{
    background: #fff;
    margin: 0 auto;
    max-width: 600px;
    font-family:"GothamRounded-Book", sans-serif;
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
}
.leaderboard-wrap .panel-wrap{
    width: 500px;
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
}
@media only screen and (max-width: 767px) {
    .leaderboard-wrap{
        width: 100%;
    }
    .leaderboard-wrap .panel-wrap{
        width: 100%;
    }
}
.leaderboard-wrap .panel-wrap .close{
    position: absolute;
    width: 50px;
    height: 50px;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}
.leaderboard-wrap .panel-wrap .close img{
    width: 100%;
}
.leaderboard-wrap .panel-wrap .bg-leaderboard img{
    width: 100%;
}
.leaderboard-wrap .panel-wrap .content-wrap{
    position: absolute;
    width: 70%;
    left: 17%;
    top: 18%;
    z-index: 1;
}
.leaderboard-wrap .panel-wrap .content-wrap ul{
    list-style: none;
} 
.leaderboard-wrap .panel-wrap .content-wrap ul li{
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    font-family:"GothamRounded-Bold";
    align-items: center;
}
.leaderboard-wrap .panel-wrap .content-wrap ul li .rank{
    width: 40px;
    height: 40px;
    color: #fff;
    background: url(../sprites/rank-bg-3.png) center center no-repeat;
    background-size: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.leaderboard-wrap .panel-wrap .content-wrap ul li:nth-child(1) .rank{
    background: url(../sprites/rank-bg.png) center center no-repeat;
    background-size: 100%;
}
.leaderboard-wrap .panel-wrap .content-wrap ul li:nth-child(2) .rank{
    background: url(../sprites/rank-bg-2.png) center center no-repeat;
    background-size: 100%;
}
.leaderboard-wrap .panel-wrap .content-wrap ul li .name{
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 5px 0px 0px rgba(27, 79, 184, 1);
    padding: 0.5rem 1rem;
    color: #0651fa;
    height: 100%;
    font-size: 1.2rem;
    width: calc(100% - 180px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 10px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}
.leaderboard-wrap .panel-wrap .content-wrap ul li .score{
    width: 120px;
    background-size: 20px;
    border-radius: 30px;
    padding: 0.5rem 1rem 0.5rem 0.7rem;
    margin-left: 10px;
    font-size: 1.1rem;
    height: 100%;
    text-align: left;
    color: #fff;
    text-shadow: 2px 3px 2px rgba(35,86,213,1);
}
.leaderboard-wrap .panel-wrap .content-wrap .your-score-wrap{
    width: 300px;
    height: 120px;
    background: url(../sprites/your-score-bg.png) center center no-repeat;
    background-size: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    font-family:
    "GothamRounded-Bold";
    margin: 1rem auto 0 auto;
    padding: 1rem 0;
}
@media only screen and (max-width: 767px) {
    .leaderboard-wrap .panel-wrap .content-wrap .your-score-wrap{
        width: 100%;
    }
}
.your-score-wrap .rank{
    width: 30%;
    margin: 0 0;
    padding: 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
@media only screen and (max-width: 767px) {
    .your-score-wrap .rank{
        width: 40%;
    }
}
.your-score-wrap .rank .title{
    color: black;
    width: 100%;
    font-size: 0.8rem;
    line-height: 1.5;
}
.your-score-wrap .rank .your-rank{
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    background: url(../sprites/your-rank-bg.png) center center no-repeat;
    background-size: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 4px 4px 2px rgba(0,0,0,0.2);
}
@media only screen and (max-width: 767px) {
    .your-score-wrap .rank .your-rank{
        font-size: 2rem;
    height: 70%;
    width: 80%;
    }
}
.your-score-wrap .score-cont{
    background: url(../sprites/score-sep.png) left center no-repeat;
    background-size: 1%;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.leaderboard-wrap .panel-wrap .content-wrap .your-score-wrap .label{
    color: black;
    width: 100%;
}
.leaderboard-wrap .panel-wrap .content-wrap .your-score-wrap .your-score{
    font-size: 2.6rem;
    line-height: 1;
    color: #0651fa;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .leaderboard-wrap .panel-wrap .content-wrap .your-score-wrap .your-score{
        font-size: 2rem;
    }
}
.leaderboard-wrap .panel-wrap .content-wrap .your-score-wrap .name-user{
    font-size: 1.5rem;
    color: #0651fa;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .leaderboard-wrap .panel-wrap .content-wrap .your-score-wrap .name-user{
        font-size: 1rem;
    }
}
.leaderboard-wrap .panel-wrap .play-again{
    width: 160px;
    margin: 0 auto;
}
.leaderboard-wrap .panel-wrap .play-again img{
    width: 100%;
}





.leaderboard-wrap .go-back{
    border: #000 solid 1px;
    padding: 10px;
    
}
.leaderboard-wrap .go-back a{
    text-decoration: none;
    color: #000;
}
.leaderboard-wrap .wrap .row{
    display: flex;
}
.leaderboard-wrap .wrap .row.your-rank{
    border: #000 solid 1px;
    padding: 10px;
}
.leaderboard-wrap .wrap .row .col{
    border: #000 solid 1px;
    padding: 10px;
}
.leaderboard-wrap .wrap .row .rank{
    width: 15%;
}
.leaderboard-wrap .wrap .row .name{
    width: 60%;
}
.leaderboard-wrap .wrap .row .score{
    width: 25%;
}

.game-over-screen{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    left: 0;
    top: 0;
    z-index: 100;
    display: none;
}
.game-over-screen .wrap{
    position: absolute;
    width: 550px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family:"GothamRounded-Book", sans-serif;
    flex-wrap: wrap;
    padding: 0rem;
    text-align: center;
    text-transform: uppercase;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap{
        width: 90%;
        padding: 0;
    }
}
.game-over-screen .wrap .bg-end-screen{
    width: 100%;
}
.game-over-screen .wrap .bg-end-screen img{
    width: 100%;
}
.game-over-screen .wrap .text-wrap{
    position: absolute;
    width: 90%;
    top: 5%;
    left: 5%;
    z-index: 1;
}
.game-over-screen .wrap .text-wrap .game-over-heading{
    width: 200px;
    margin: 5% auto;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap .text-wrap .game-over-heading{
        width: 50%;
        margin-top: 5%;
    }
}
.game-over-screen .wrap .text-wrap .game-over-heading img{
    width: 100%;
}
.game-over-screen .wrap .text-wrap .score-rect{
    max-width: 95%;
    margin: 0 auto;
    position: relative;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap .text-wrap .score-rect{
        max-width: 100%;
    }
}
.game-over-screen .wrap .text-wrap .score-rect .bg-wrap-score{
    width: 100%;
}
.game-over-screen .wrap .text-wrap .score-rect img{
    width: 100%;
}
.game-over-screen .wrap .text-wrap .score-rect .score-text{
    width: 100%;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}
.game-over-screen .wrap .text-wrap .score-rect .score-text ul{
    display: flex;
}
.game-over-screen .wrap .text-wrap .score-rect .score-text ul li{
    width: 50%;
    margin: 5% 0 0 0;
    text-align: center;
}
.game-over-screen .wrap .text-wrap .score-rect .score-text ul li .label{
    width: 100%;
}
.game-over-screen .wrap .text-wrap .score-rect .score-text ul li .label img{
    height: 16px;
    width: auto;
}
.game-over-screen .wrap .text-wrap .score-rect .score-text ul li .score-rect-bg{
    width: 85%;
    background: url(../sprites/score-rect-bg.png) left top no-repeat;
    background-size: 100%;
    height: 50px;
    text-align: right;
    display: inline-block;
    margin-top: 3%;
    padding: 9px 28px 0 0;
    font-family:"GothamRounded-Bold";
    font-size: 1.4rem;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap .text-wrap .score-rect .score-text ul li .score-rect-bg{
        font-size: 0.9rem;
        padding: 5px 18px 0 0;
    }
}
.game-over-screen .wrap .text-wrap .score-rect .score-text ul li .score-rect-bg.best-score{
    background-image: url(../sprites/best-score-rect-bg.png);
}

.game-over-screen .wrap h3{
    font-size: 4rem;
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap h3{
        font-size: 2rem;
    }
}
.game-over-screen .wrap .score, .game-over-screen .wrap .best-score{
    font-size: 3rem;
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap .score, .game-over-screen .wrap .best-score{
        font-size: 1.5rem;
    }
}
.game-over-screen .wrap .buttons-wrap{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap .buttons-wrap{
        font-size: 0.9rem;
    }
}
.game-over-screen .wrap .buttons-wrap .button{
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap .buttons-wrap .button{
        margin-top: 1rem;
    }
}
.game-over-screen .wrap .buttons-wrap .button a{
    color: #fff;
    text-decoration: none;
    display: block;
}
.game-over-screen .wrap .buttons-wrap .button img{
    height: 70px;
}
@media only screen and (max-width: 767px) {
    .game-over-screen .wrap .buttons-wrap .button img{
        height: 42px;
    } 
}
.game-over-screen .wrap .buttons-wrap .button .label{
    width: 100%;
}
.game-over-screen .wrap .buttons-wrap .button .share-buttons{
    position: absolute;
    width: 100%;
    left: 0;
    top: 70%;
    display: none;
    z-index: 999;
}
.game-over-screen .wrap .buttons-wrap .button:hover .share-buttons{
    display: block;
}
.game-over-screen .wrap .buttons-wrap .button .share-buttons ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 5px;
}
.game-over-screen .wrap .buttons-wrap .button .share-buttons ul li{
    font-size: 0.8rem;
    width: 20px;
    margin: 0 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.game-over-screen .wrap .buttons-wrap .button .share-buttons ul li a{
    color: #fff;
    text-decoration: none;
    padding: 2px 0;
    display: block;
}
.game-over-screen .wrap .buttons-wrap .button .share-buttons ul li a svg{
    width: 100%;
    transition: all 0.3s;
}
.game-over-screen .wrap .buttons-wrap .button .share-buttons ul li a:hover svg{
    transform: scale(1.2);
}
.user-details{
    position: absolute;
    width: 300px;
    z-index: 10;
    left: 50%;
    top: 15px;
    transform: translate(-240px, 0);
    display: none;
}
@media only screen and (max-width: 767px) {
    .user-details{
        transform: translate(-170px, 0);
    }
}
.user-details .wrap{
    display: flex;
    align-items: center;
}
.user-details .wrap .user-icon{
    width: 50px;
    margin-right: 10px;
}
@media only screen and (max-width: 767px) {
    .user-details .wrap .user-icon{
        width: 30px;
    }
}
.user-details .wrap .user-icon img{
    width: 100%;
}
.user-details .wrap .label{
    width: calc(100% - 60px);
    font-size: 25px;
    font-family: "GothamRounded-Bold";
    color: #fff;
    text-shadow: 2px 2px 1px rgba(8, 99, 163, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media only screen and (max-width: 767px) {
    .user-details .wrap .label{
        font-size: 18px;
        width: calc(100% - 40px);
    }
}