body
{
background:#fff;
font-family:Verdana;
font-size:15px;margin:0px;padding:0px;text-align:left;direction:ltr;unicode-bidi:embed;}
h1, h2, h3, h4, h5{font-size:13px;color:#333;margin:0px;padding:0px;}
h1{font-size:14px;margin-bottom:20px;}
h4, h5{font-size:11px;}
a{cursor:pointer;color:#3b5998;-moz-outline-style:none;text-decoration:none;}
a:hover{text-decoration:none;color:#000000;}
select{border:1px solid #BDC7D8;border-radius:3px;font-family:curse;font-size:30px;padding:2px;}
td{color:#000;text-align:center;}
a.tool:hover {background:#ffffff;}
a.tool span {display:none;}
a.tool:hover span{display:inline; position:absolute;background:#ffffff;}

a
{
text-decoration:none;
}

img
{
border:0px;
}

h2
{
font-size: 20px;
font-weight: bold;
margin: 0 0 0px 0;
}

#game_div
{
position:absolute;
top:0px;
left:0px;
width:500px;
height:550px;
display:none;
}

.button, .button:visited
{
background: #222;
display: inline-block;
padding: 5px 10px 6px;
color: #fff;
text-decoration: none;
border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);
position: relative;
cursor: pointer;
}

.button:hover { background-color: #111; color: #fff; }
.button:active { top: 1px; }
.small.button, .small.button:visited { font-size: 11px; padding: ; }
.button, .button:visited,
.medium.button, .medium.button:visited { font-size: 13px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
.large.button, .large.button:visited { font-size: 20px; padding: 8px 14px 9px; }

.grey.button, .grey.button:visited { background-color: #e2e2e2; }
.grey.button:hover { background-color: #e2e2e2; }
.green.button, .green.button:visited { background-color: #91bd09; }
.green.button:hover { background-color: #749a02; }
.blue.button, .blue.button:visited { background-color: #2daebf; }
.blue.button:hover { background-color: #007d9a; }
.red.button, .red.button:visited { background-color: #e33100; }
.red.button:hover { background-color: #872300; }
.magenta.button, .magenta.button:visited { background-color: #a9014b; }
.magenta.button:hover { background-color: #630030; }
.orange.button, .orange.button:visited { background-color: #ff5c00; }
.orange.button:hover { background-color: #d45500; }
.yellow.button, .yellow.button:visited { background-color: #ffb515; }
.yellow.button:hover { background-color: #fc9200; }

#score_div
{
position:absolute;
top:4px;
left:680px;
width:270px;
height:30px;
font-size:25px;
color:#000;
}

#buttons_div
{
position:absolute;
top:8px;
left:8px;
}

#timer_div
{
position:absolute;
top:4px;
left:10px;
font-size:25px;
color:#000;
}

#tiles_div
{
position:absolute;
top:32px;
left:50%;
margin-left:-165px;
font-size:22px;
color:#000;
text-align:center;
}

#word_div
{
position:absolute;
top:200px;
left:80px;
width:630px;
height:43px;
padding:14px;
font-size:22px;
color:#000;
text-align:center;
border:1px solid #000;
border-radius:2px;
}

.tile
{
width:55px;
height:55px;
margin-right:5px;
border-radius:0px;
border:2px solid #d3d6da;
cursor:pointer;
text-align:center;
font-size:26px;
font-weight:bold;
color:#000;
}

.flip1
{
animation-name: flip1;
animation-duration: 0.5s;
animation-fill-mode: forwards;
}

.flip2
{
animation-name: flip2;
animation-duration: 0.5s;
animation-fill-mode: forwards;
}

.flip3
{
animation-name: flip3;
animation-duration: 0.5s;
animation-fill-mode: forwards;
}

@keyframes flip1 {
  0% {transform: perspective(400px) rotateX(0);}
  50% {transform: perspective(400px) rotateX(90deg);}
  100% {transform: perspective(400px) rotateX(0); background: #6aaa64;color: #fff; border-color: transparent;}
}

@keyframes flip2 {
  0% {transform: perspective(400px) rotateX(0);}
  50% {transform: perspective(400px) rotateX(90deg);}
  100% {transform: perspective(400px) rotateX(0); background: #c9b458;color: #fff; border-color: transparent;}
}

@keyframes flip3 {
  0% {transform: perspective(400px) rotateX(0);}
  50% {transform: perspective(400px) rotateX(90deg);}
  100% {transform: perspective(400px) rotateX(0); background: #787c7e;color: #fff; border-color: transparent;}
}

.tile:nth-child(1) {
  animation-delay: 0s;
}

.tile:nth-child(2) {
  animation-delay: 0.15s;
}

.tile:nth-child(3) {
  animation-delay: 0.30s;
}

.tile:nth-child(4) {
  animation-delay: 0.45s;
}

.tile:nth-child(5) {
  animation-delay: 0.60s;
}

.tile.incorrect {
  animation-name: shake;
  animation-duration: 0.3s;
  animation-delay: 0s;
}

.tile.bounce
{
animation-name: bounce;
animation-duration: 0.5s;
background: #6aaa64;
color: #fff;
border-color: transparent!important;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-20px);
  }
  75% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0px);
  }
}

#alphabet_div
{
position:absolute;
top:429px;
width:520px;
margin-left:50%;
left:-258px;
text-align:center;
}

.alphabet_tile
{
display:inline-block;
width:44px;
text-align:center;
font-size:20px;
cursor:pointer;
background:#d3d6da;
margin-bottom:6px;
margin-right:6px;
border-radius:4px;
font-weight:bold;
height:54px;
line-height:54px;
vertical-align:middle;
}

#alphabet_enter
{
font-size:15px;
}

.double
{
width:65px;
}

#result_div
{
position:absolute;
top:108px;
left:50%;
margin-left:-77px;
width:140px;
background:#000;
font-size:14px;
font-weight:bold;
color:#fff;
border:1px solid #000;
border-radius:4px;
text-align:center;
padding:8px;
z-index:100;
display:none;
}

#instructions_div
{
position:absolute;
top:5px;
width:100%;
text-align:center;
font-size:20px;
}

#menu_icon
{
position:absolute;
top:5px;
left:5px;
cursor:pointer;
}

#info_icon
{
position:absolute;
top:5px;
right:5px;
cursor:pointer;
}

#stats_icon
{
position:absolute;
top:5px;
right:41px;
cursor:pointer;
}

#title_div
{
text-align:center;
font-size:26px;
font-weight:bold;
}

#stats_table
{
width:100%;
}

#stats_table td
{
width:20%;
vertical-align:top;
}