.screen{
/*    -webkit-transition: opacity 0.25s;*/
    position: relative
}
.object {
    width:80px;
    height:109px;
    
    position: absolute;
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;

}
#cards{
    
    top: 10px;
    left:50px;
}
#titlebg{
    position: absolute;
    width:694px;
    height: 326px;
    left:134px;
    top:121px;
    z-index: 2;
}
#titletxt{
    width:484px;
    height: 209px;
    left:214px;
    top:193px;
    z-index: 3;
}

.selected{
    -webkit-transform: scale(1.3);
    

}
.selection{
    -webkit-transform:scale(1.1) rotateY(360deg);
/*    -webkit-box-shadow: 0 0 20px #e5a004;*/
  
}
#blank{
    top: 51px;
    left: 139px;
}
#blankCard{
    width: 99px;
    height: 129px;
    
}
#blankCard1{
    width: 99px;
    height: 129px;
    left:33px;
    top:52px;
    
    
}
#stock{
    top: 63px;
    left:45px;
}
#drawn{
    top: 40px;
    left:55px;
}
.abc{
    
}
#pause{
    top:471px;
    left :836px;
    width:111px;
    height: 57px;
    z-index:2;
}
#undo{
    top:51px;
    left:284px;
        width:94px;
        height:94px;
    z-index:2;
        opacity:0.3;
}
.pauseScreen {
     position: absolute;
    width: 960px;
    height: 640px;
    z-index: 3000;
    top: 0px;
    left: 0px;
    -webkit-transform: translateX(-1378px);
    -webkit-transition: -webkit-transform 0.5s;
}
.popupRules{
    position: absolute;
    width: 960px;
    height: 640px;
    z-index: 200;
    top: 0px;
    left: 0px;
    -webkit-transform: translateX(-1378px);
    -webkit-transition: -webkit-transform 0.5s;
}
#rulesbtn{
    width:192px;
    height:56px;
    top:304px;
    left:487px;
}
.popupScreen{
    position: absolute;
    width: 960px;
    height: 640px;
    z-index: 3001;
    top: 0px;
    left: 0px;
    -webkit-transform: translateX(-1378px);
    -webkit-transition: -webkit-transform 0.5s;
}

.slideIn{
    -webkit-transform: translateX(0);
}
.slide{
    -webkit-transform: translateX(0);
    z-index: 500;
}
#continueButton {
    position: absolute;
    left: 747px;
    top:160px;
    width:177px;
    height: 176px;
    z-index: 52;
}
#restartButton {
    position: absolute;
    left: 100px;
    top:199px;
    width:192px;
    height: 56px;
    z-index: 52;
}
#mainmenuButton {
    position: absolute;
    left: 27px;
    top:160px;
    width:177px;
    height: 176px;
    z-index: 52;
}
#mainmenubtn1{
    position: absolute;
    left: 27px;
    top:160px;
    width:177px;
    height: 176px;
    z-index: 52;
}
#mainmenubtn2{
    position: absolute;
    left: 27px;
    top:160px;
    width:177px;
    height: 176px;
    z-index: 52;
}

#playbutton{
        position:absolute;
    left:23px;
    top:204px;
        width:177px;
        height:176px;
    z-index:3;
}
#wrapper{
    text-align: center;
/*    display: table-cell;
    vertical-align: middle;*/
}

#playbutton1{
        position:absolute;
    left:23px;
    top:190px;
        width:177px;
        height:176px;
    z-index:3;
}

#rulesbutton{
    left:729px;
    top:204px;
        width:177px;
        height:176px;
    z-index:3;
}
#rules{
    width:588px;
    height:508px;
    
    z-index:3;
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
  }
  to { 
    -webkit-transform: rotate(360deg);
  }
}

#star1{
    width:138px;
    height:111px;
    left:387px;
    top:151px;
    z-index: 4;
    -webkit-animation-name:             rotate; 
    -webkit-animation-duration:         5s; 
    -webkit-animation-iteration-count:  infinite;
    -webkit-transition-timing-function: linear;
}
#star2{
    width:75px;
    height:50px;
    left:186px;
    top:364px;
    z-index: 4;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}
#star3{
    width:75px;
    height:50px;
    left:677px;
    top:374px;
    z-index: 4;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}

#star4{
    width:75px;
    height:50px;
    left:144px;
    top:63px;
    z-index: 4;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}
#star5{
    width:75px;
    height:50px;
    left:714px;
    top:66px;
    z-index: 4;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}
#star6{
    
    width:75px;
    height:50px;
    left:144px;
    top:63px;
    z-index: 52;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}
#star7{
    width:75px;
    height:50px;
    left:714px;
    top:66px;
    z-index: 52;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}
#star8{
    
    width:75px;
    height:50px;
    left:144px;
    top:63px;
    z-index: 52;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}
#star9{
    width:75px;
    height:50px;
    left:714px;
    top:66px;
    z-index: 52;
    -webkit-animation: pumping 0.75s infinite;
}
@-webkit-keyframes pumping{
    0% {-webkit-transform: scale(1);}
    45% {-webkit-transform: scale(1.5);}
    50% {-webkit-transform: scale(1.2);}
    90% {-webkit-transform: scale(1.7);}
    100% {-webkit-transform: scale(1);}
}
#gamec{
    width:576px;
    height:501px;
    z-index: 5;
}
#gamec1{
    width:576px;
    height:501px;
    z-index: 5;
}
#pausebg{
    position:absolute;
    width:747px;
    height:328px;
    z-index: 51;
}
#continue{
        position: absolute;
    left: 735px;
    top:190px;
    width:177px;
    height: 176px;
    z-index: 52;
}
#new1{
     position: absolute;
    left: 735px;
    top:160px;
    width:177px;
    height: 176px;
    z-index: 52;
}
#new2{
    position: absolute;
    left: 735px;
    top:190px;
    width:177px;
    height: 176px;
    z-index: 52;
}
#back{
    position: absolute;
    left: 345px;
    top:400px;
    width:242px;
    height: 55px;
    z-index: 52;
}
#yes{
      position:absolute;
    left:42px;
    top:172px;
        width:177px;
        height:176px;
    z-index:5;
}
#no{
    position: absolute;
    left: 737px;
    top:172px;
    width:177px;
    height: 176px;
    z-index: 52;
}
#pop{
    width:700px;
    height: 404px;
    left:130px;
    top:64px;
    z-index: 4;
}
#position{
    position: absolute;
    left:45px;
    top:41px;
}

#score{
    left: 735px;
    top:52px;
    width:83px;
        height:159px;
        z-index:2;
        
      

}
#scoreText{
    left:825px;
    top: 37px;
    z-index:50;
    color:white;
    font-weight: bold;
    font-size: 1em;
    
}

#timer{
    left:869px;
    top:48px;
        width:83px;
        height:159px;
    z-index:2;

}

#timerText{
    left: 869px;
    top: 74px;
    z-index:50;
    color:white;
    font-weight: bold;
    font-size: 1em;
    
    
}

.flash{
    -webkit-animation:flashingRedAnimation 1s linear infinite;

}
@-webkit-keyframes flashingRedAnimation{
    0% { color:transparent;}
    49.99% {color:transparent;}
    50% { color:white;}
    100% { color:white;}
}

#countdown{
    left: 891px;
    top:148px;
    z-index:50;
    color: #e5a004;
/*    font-weight: bold;*/
    font-size: 1.2em;
    
}

#new{
    width:96px;
    height:94px;
    left:579px;
    top:68px;
    z-index: 4;
}


#totalScore{
    left:751px;
    top:155px;
    z-index: 50;
    color:#e5a004;
    font-weight: bold;
    font-size: 1em;
    width:50px;
}
#numbtn{
    left:805px;
    top:169px;
    z-index: 50;
    height:100px;
    width:100px;
}
#cardValue{
    left:822px;
    top:197px;
    width:50px;
    
    z-index: 60;
    color:white;
    font-weight: bold;
    font-size: 1.5em;
}
#hint{
    width:111px;
    height:57px;
    left:16px;
    top:471px;
    z-index: 10;
}
#hintText{
    left:763px;
    top:211px;
    width:150px;
    
    z-index: 60;
    color:white;
    font-weight: bold;
    font-size: 1.5em;
}
#totalScore1{
    left:531px;
    top:289px;
    width:100px;
    z-index:100;
    color: white;
    font-size: 2em;
    font-weight: bold;
}
.gameComplete{
    position: absolute;
    width:940px;
    height:540px;
    
    
}
#newGame{
    top: 216px;
    left:377px;
    z-index: 10;
    width:238px;
    height: 55px;
}
#submitScore{
    top:293px;
    left:377px;
    z-index: 10;
    width:237px;
    height:54px;
}
#invite{
    top:369px;
    left:377px;
    z-index: 10;
    width:237px;
    height:54px;
}