.heading:after {
    content: "";
    display: block;
    clear: both;
}

@-webkit-keyframes move-up {
    0% {
        top: 25px;
        opacity: 1;
    }
    100% {
        top: -50px;
        opacity: 0;
    }
}

@-moz-keyframes move-up {
    0% {
        top: 25px;
        opacity: 1;
    }
    100% {
        top: -50px;
        opacity: 0;
    }
}

@keyframes move-up {
    0% {
        top: 25px;
        opacity: 1;
    }
    100% {
        top: -50px;
        opacity: 0;
    }
}

.scores-container {
    text-align: center;
}

#game-full-container {
    background: white;
}

div#game-container.marble-match {
    height: 100% !important;
    padding-bottom: 4em;
}

#game-coins-display {
    display: inline-block;
    font-size: 25px;
}

.score-container, .best-container, #game-coins-display {
    position: relative;
    display: inline-block;
    background: #b7b27b;
    background: url(../../images/games/WoodBoard_2.png);
    border: 2px solid #b7b27b;
    background-size: 200%;
    background-position: center;
    padding: 15px 25px;
    font-size: 25px;
    height: 60px;
    line-height: 47px;
    font-weight: bold;
    border-radius: 3px;
    color: white;
    margin-top: 8px;
    text-align: center;
}

.score-container:after, .best-container:after, #game-coins-display:after {
    position: absolute;
    width: 100%;
    top: 10px;
    left: 0;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 13px;
    text-align: center;
    color: #d7e6bc;
}

.score-container .score-addition, .best-container .score-addition {
    position: absolute;
    right: 30px;
    color: red;
    font-size: 25px;
    line-height: 25px;
    font-weight: bold;
    color: rgba(119, 110, 101, 0.9);
    z-index: 100;
    -webkit-animation: move-up 600ms ease-in;
    -moz-animation: move-up 600ms ease-in;
    animation: move-up 600ms ease-in;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
}

.score-container:after {
    content: "Score";
}

.best-container:after {
    content: "Best";
}
#game-coins-display:after {
    content: "Current Coins";
}

strong.important {
    text-transform: uppercase;
}

hr {
    border: none;
    border-bottom: 1px solid #d8d4d0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.container {
    width: 716px;
    margin: 0 auto;
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#game-container p {
    margin-bottom: 0;
}

.game-container {
    margin-top: 5px;
    position: relative;
    padding: 15px;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    border-radius: 6px;
    width: 716px;
    height: 642px;
    -ms-touch-action: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.game-container .game-message {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(238, 228, 218, 0.5);
    z-index: 100;
    text-align: center;
    -webkit-animation: fade-in 800ms ease 1200ms;
    -moz-animation: fade-in 800ms ease 1200ms;
    animation: fade-in 800ms ease 1200ms;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
}

.game-container .game-message p {
    font-size: 60px;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    margin-top: 222px;
}

.game-container .game-message .lower {
    display: block;
    margin-top: 59px;
}

.game-container .game-message a {
    display: inline-block;
    background: #8f7a66;
    border-radius: 3px;
    padding: 0 20px;
    text-decoration: none;
    color: #f9f6f2;
    height: 40px;
    line-height: 42px;
    margin-left: 9px;
}

.game-container .game-message a.keep-playing-button {
    display: none;
}

.game-container .game-message.game-won {
    background: rgba(237, 194, 46, 0.5);
    color: #f9f6f2;
}

.game-container .game-message.game-won a.keep-playing-button {
    display: inline-block;
}

.game-container .game-message.game-won, .game-container .game-message.game-over {
    display: block;
}

.grid-container {
    position: absolute;
    z-index: 1;
}

.grid-row {
    margin-bottom: 0px;
}

.grid-row:last-child {
    margin-bottom: 0;
}

.grid-row:after {
    content: "";
    display: block;
    clear: both;
}

.grid-cell {
    width: 121px;
    height: 121px;
    margin-right: 19px;
    float: left;
    border-radius: 50%;
    background: rgba(238, 228, 218, 0.35);
}

.grid-cell:last-child {
    margin-right: 19px;
}

.empty-cell {
    width: 51px;
    height: 121px;
    float: left;
    margin-right: 19px;
}

.empty-cell:last-child {
    margin-right: 19px;
}

.tile-container {
    position: absolute;
    z-index: 3;
}

.tile, .tile .tile-inner {
    border-radius: 50%;
    width: 115px;
    height: 115px;
    line-height: 115px;
}

.tile.tile-position-1-1 {
    -webkit-transform: translate(140px, 0px);
    -moz-transform: translate(140px, 0px);
    transform: translate(140px, 0px);
}

.tile.tile-position-1-2 {
    -webkit-transform: translate(70px, 121px);
    -moz-transform: translate(70px, 121px);
    transform: translate(70px, 121px);
}

.tile.tile-position-1-3 {
    -webkit-transform: translate(0px, 242px);
    -moz-transform: translate(0px, 242px);
    transform: translate(0px, 242px);
}

.tile.tile-position-2-1 {
    -webkit-transform: translate(280px, 0px);
    -moz-transform: translate(280px, 0px);
    transform: translate(280px, 0px);
}

.tile.tile-position-2-2 {
    -webkit-transform: translate(210px, 121px);
    -moz-transform: translate(210px, 121px);
    transform: translate(210px, 121px);
}

.tile.tile-position-2-3 {
    -webkit-transform: translate(140px, 242px);
    -moz-transform: translate(140px, 242px);
    transform: translate(140px, 242px);
}

.tile.tile-position-2-4 {
    -webkit-transform: translate(70px, 363px);
    -moz-transform: translate(70px, 363px);
    transform: translate(70px, 363px);
}

.tile.tile-position-3-1 {
    -webkit-transform: translate(420px, 0px);
    -moz-transform: translate(420px, 0px);
    transform: translate(420px, 0px);
}

.tile.tile-position-3-2 {
    -webkit-transform: translate(350px, 121px);
    -moz-transform: translate(350px, 121px);
    transform: translate(350px, 121px);
}

.tile.tile-position-3-3 {
    -webkit-transform: translate(280px, 242px);
    -moz-transform: translate(280px, 242px);
    transform: translate(280px, 242px);
}

.tile.tile-position-3-4 {
    -webkit-transform: translate(210px, 363px);
    -moz-transform: translate(210px, 363px);
    transform: translate(210px, 363px);
}

.tile.tile-position-3-5 {
    -webkit-transform: translate(140px, 484px);
    -moz-transform: translate(140px, 484px);
    transform: translate(140px, 484px);
}

.tile.tile-position-4-2 {
    -webkit-transform: translate(490px, 121px);
    -moz-transform: translate(490px, 121px);
    transform: translate(490px, 121px);
}

.tile.tile-position-4-3 {
    -webkit-transform: translate(420px, 242px);
    -moz-transform: translate(420px, 242px);
    transform: translate(420px, 242px);
}

.tile.tile-position-4-4 {
    -webkit-transform: translate(350px, 363px);
    -moz-transform: translate(350px, 363px);
    transform: translate(350px, 363px);
}

.tile.tile-position-4-5 {
    -webkit-transform: translate(280px, 484px);
    -moz-transform: translate(280px, 484px);
    transform: translate(280px, 484px);
}

.tile.tile-position-5-3 {
    -webkit-transform: translate(560px, 242px);
    -moz-transform: translate(560px, 242px);
    transform: translate(560px, 242px);
}

.tile.tile-position-5-4 {
    -webkit-transform: translate(490px, 363px);
    -moz-transform: translate(490px, 363px);
    transform: translate(490px, 363px);
}

.tile.tile-position-5-5 {
    -webkit-transform: translate(420px, 484px);
    -moz-transform: translate(420px, 484px);
    transform: translate(420px, 484px);
}

.tile {
    position: absolute;
    -webkit-transition: 100ms ease-in-out;
    -moz-transition: 100ms ease-in-out;
    transition: 100ms ease-in-out;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
}

.tile .tile-inner {
    border-radius: 50%;
    background: #eee4da;
    text-align: center;
    font-weight: bold;
    z-index: 10;
    font-size: 55px;
}

.tile.tile-0 .tile-inner {
    background: #eee4da;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);
}

.tile.tile-1 .tile-inner {
    background: #eaeaea;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);
}

.tile.tile-2 .tile-inner {
    background: #eee4da;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);
}

.tile.tile-4 .tile-inner {
    background: #ede0c8;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);
}

.tile.tile-8 .tile-inner {
    color: #f9f6f2;
    background: #f2b179;
}

.tile.tile-16 .tile-inner {
    color: #f9f6f2;
    background: #f59563;
}

.tile.tile-32 .tile-inner {
    color: #f9f6f2;
    background: #f67c5f;
}

.tile.tile-64 .tile-inner {
    color: #f9f6f2;
    background: #f65e3b;
}

.tile.tile-128 .tile-inner {
    color: #f9f6f2;
    background: #edcf72;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.2381), inset 0 0 0 1px rgba(255, 255, 255, 0.14286);
    font-size: 45px;
}

@media screen and (max-width: 520px) {
    .tile.tile-128 .tile-inner {
        font-size: 25px;
    }
}

.tile.tile-256 .tile-inner {
    color: #f9f6f2;
    background: #edcc61;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.31746), inset 0 0 0 1px rgba(255, 255, 255, 0.19048);
    font-size: 45px;
}

@media screen and (max-width: 520px) {
    .tile.tile-256 .tile-inner {
        font-size: 25px;
    }
}

.tile.tile-512 .tile-inner {
    color: #f9f6f2;
    background: #edc850;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.39683), inset 0 0 0 1px rgba(255, 255, 255, 0.2381);
    font-size: 45px;
}

@media screen and (max-width: 520px) {
    .tile.tile-512 .tile-inner {
        font-size: 25px;
    }
}

.tile.tile-1024 .tile-inner {
    color: #f9f6f2;
    background: #edc53f;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28571);
    font-size: 35px;
}

@media screen and (max-width: 520px) {
    .tile.tile-1024 .tile-inner {
        font-size: 15px;
    }
}

.tile.tile-2048 .tile-inner {
    color: #f9f6f2;
    background: #edc22e;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.55556), inset 0 0 0 1px rgba(255, 255, 255, 0.33333);
    font-size: 35px;
}

@media screen and (max-width: 520px) {
    .tile.tile-2048 .tile-inner {
        font-size: 15px;
    }
}

.tile.tile-4096 .tile-inner {
    color: #f9f6f2;
    background: #efa020;
    box-shadow: 0 0 30px 10px rgba(243, 195, 100, 0.62013), inset 0 0 0 1px rgba(255, 255, 255, 0.38001);
    font-size: 35px;
}

@media screen and (max-width: 520px) {
    .tile.tile-4096 .tile-inner {
        font-size: 15px;
    }
}

.tile.tile-8192 .tile-inner {
    color: #f9f6f2;
    background: #f27511;
    box-shadow: 0 0 30px 10px rgba(250, 128, 50, 0.68314), inset 0 0 0 1px rgba(255, 255, 255, 0.42299);
    font-size: 35px;
}

@media screen and (max-width: 520px) {
    .tile.tile-8192 .tile-inner {
        font-size: 15px;
    }
}

.tile.tile-16384 .tile-inner {
    color: #f9f6f2;
    background: #ff3000;
    box-shadow: 0 0 30px 10px rgba(255, 64, 0, 0.75310), inset 0 0 0 1px rgba(255, 255, 255, 0.50919);
    font-size: 35px;
}

@media screen and (max-width: 520px) {
    .tile.tile-16384 .tile-inner {
        font-size: 15px;
    }
}

.tile.tile-super .tile-inner {
    color: #f9f6f2;
    background: #3c3a32;
    font-size: 30px;
}

@media screen and (max-width: 520px) {
    .tile.tile-super .tile-inner {
        font-size: 10px;
    }
}

@-webkit-keyframes appear {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes appear {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes appear {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

.tile-new .tile-inner {
    -webkit-animation: appear 200ms ease 100ms;
    -moz-animation: appear 200ms ease 100ms;
    animation: appear 200ms ease 100ms;
    -webkit-animation-fill-mode: backwards;
    -moz-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
}

@-webkit-keyframes pop {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pop {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pop {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

.tile-merged .tile-inner {
    z-index: 20;
    -webkit-animation: pop 200ms ease 100ms;
    -moz-animation: pop 200ms ease 100ms;
    animation: pop 200ms ease 100ms;
    -webkit-animation-fill-mode: backwards;
    -moz-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
}

.game-intro {
    margin-bottom: 0;
}

.game-explanation {
    margin-top: 50px;
}

@media screen and (max-width: 720px) {
    html, body {
        font-size: 15px;
    }

    body {
        margin: 20px 0;
        padding: 0 20px;
    }

    h1.title {
        font-size: 27px;
        margin-top: 15px;
    }

    .container {
        width: 460px;
        margin: 0 auto;
    }

    .score-container, .best-container {
        margin-top: 0;
        padding: 15px 10px;
        min-width: 40px;
    }

    .heading {
        margin-bottom: 10px;
    }

    .game-container {
        margin-top: 20px;
        padding: 10px;
        width: 460px;
        height: 460px;
    }

    .game-message p {
        font-size: 30px;
        height: 30px;
        line-height: 30px;
        margin-top: 90px;
    }

    .game-message .lower {
        margin-top: 30px;
    }

    .grid-cell {
        width: 78px;
        height: 78px;
        margin-right: 15px;
    }

    .grid-cell:last-child {
        margin-right: 0;
    }

    .empty-cell {
        width: 42px;
        height: 78px;
        margin-right: 0;
    }

    .tile, .tile .tile-inner {
        width: 75px;
        height: 75px;
        line-height: 75px;
    }

    .tile .tile-inner {
        font-size: 35px;
    }

    .tile.tile-position-1-1 {
        -webkit-transform: translate(85px, 1px);
        -moz-transform: translate(85px, 1px);
        transform: translate(85px, 1px);
    }

    .tile.tile-position-1-2 {
        -webkit-transform: translate(43px, 78px);
        -moz-transform: translate(43px, 78px);
        transform: translate(43px, 78px);
    }

    .tile.tile-position-1-3 {
        -webkit-transform: translate(0px, 156px);
        -moz-transform: translate(0px, 156px);
        transform: translate(0px, 156px);
    }

    .tile.tile-position-1-4 {
        -webkit-transform: translate(0px, 202px);
        -moz-transform: translate(0px, 202px);
        transform: translate(0px, 202px);
    }

    .tile.tile-position-2-1 {
        -webkit-transform: translate(178px, 1px);
        -moz-transform: translate(178px, 1px);
        transform: translate(178px, 1px);
    }

    .tile.tile-position-2-2 {
        -webkit-transform: translate(136px, 78px);
        -moz-transform: translate(136px, 78px);
        transform: translate(136px, 78px);
    }

    .tile.tile-position-2-3 {
        -webkit-transform: translate(94px, 156px);
        -moz-transform: translate(94px, 156px);
        transform: translate(94px, 156px);
    }

    .tile.tile-position-2-4 {
        -webkit-transform: translate(42px, 234px);
        -moz-transform: translate(42px, 234px);
        transform: translate(42px, 234px);
    }

    .tile.tile-position-3-1 {
        -webkit-transform: translate(271px, 1px);
        -moz-transform: translate(271px, 1px);
        transform: translate(271px, 1px);
    }

    .tile.tile-position-3-2 {
        -webkit-transform: translate(228px, 78px);
        -moz-transform: translate(228px, 78px);
        transform: translate(228px, 78px);
    }

    .tile.tile-position-3-3 {
        -webkit-transform: translate(186px, 156px);
        -moz-transform: translate(186px, 156px);
        transform: translate(186px, 156px);
    }

    .tile.tile-position-3-4 {
        -webkit-transform: translate(136px, 235px);
        -moz-transform: translate(136px, 235px);
        transform: translate(136px, 235px);
    }

    .tile.tile-position-3-5 {
        -webkit-transform: translate(85px, 313px);
        -moz-transform: translate(85px, 313px);
        transform: translate(85px, 313px);
    }

    .tile.tile-position-4-1 {
        -webkit-transform: translate(202px, 0px);
        -moz-transform: translate(202px, 0px);
        transform: translate(202px, 0px);
    }

    .tile.tile-position-4-2 {
        -webkit-transform: translate(323px, 78px);
        -moz-transform: translate(323px, 78px);
        transform: translate(323px, 78px);
    }

    .tile.tile-position-4-3 {
        -webkit-transform: translate(280px, 156px);
        -moz-transform: translate(280px, 156px);
        transform: translate(280px, 156px);
    }

    .tile.tile-position-4-4 {
        -webkit-transform: translate(228px, 235px);
        -moz-transform: translate(228px, 235px);
        transform: translate(228px, 235px);
    }

    .tile.tile-position-4-5 {
        -webkit-transform: translate(178px, 313px);
        -moz-transform: translate(178px, 313px);
        transform: translate(178px, 313px);
    }

    .tile.tile-position-5-3 {
        -webkit-transform: translate(373px, 156px);
        -moz-transform: translate(373px, 156px);
        transform: translate(373px, 156px);
    }

    .tile.tile-position-5-4 {
        -webkit-transform: translate(321px, 235px);
        -moz-transform: translate(321px, 235px);
        transform: translate(321px, 235px);
    }

    .tile.tile-position-5-5 {
        -webkit-transform: translate(271px, 313px);
        -moz-transform: translate(271px, 313px);
        transform: translate(271px, 313px);
    }
}

@media screen and (max-width: 520px) {
    html, body {
        font-size: 15px;
    }

    body {
        margin: 20px 0;
        padding: 0 20px;
    }

    h1.title {
        font-size: 27px;
        margin-top: 15px;
    }

    .container {
        width: 280px;
        margin: 0 auto;
    }

    .score-container, .best-container {
        margin-top: 0;
        padding: 15px 10px;
        min-width: 40px;
    }

    .heading {
        margin-bottom: 10px;
    }

    .game-container {
        padding: 10px;
        width: 280px;
        height: 280px;
    }

    .game-message p {
        font-size: 30px;
        height: 30px;
        line-height: 30px;
        margin-top: 90px;
    }

    .game-message .lower {
        margin-top: 30px;
    }

    .grid-cell {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }

    .grid-cell:last-child {
        margin-right: 0;
    }

    .empty-cell {
        width: 27px;
        height: 45px;
        margin-right: 0;
    }

    .tile, .tile .tile-inner {
        width: 42px;
        height: 42px;
        line-height: 42px;
    }

    .tile .tile-inner {
        font-size: 35px;
    }

    .tile.tile-position-1-1 {
        -webkit-transform: translate(55px, 2px);
        -moz-transform: translate(55px, 2px);
        transform: translate(55px, 2px);
    }

    .tile.tile-position-1-2 {
        -webkit-transform: translate(28px, 45px);
        -moz-transform: translate(28px, 45px);
        transform: translate(28px, 45px);
    }

    .tile.tile-position-1-3 {
        -webkit-transform: translate(2px, 90px);
        -moz-transform: translate(2px, 90px);
        transform: translate(2px, 90px);
    }

    .tile.tile-position-1-4 {
        -webkit-transform: translate(0px, 202px);
        -moz-transform: translate(0px, 202px);
        transform: translate(0px, 202px);
    }

    .tile.tile-position-2-1 {
        -webkit-transform: translate(110px, 2px);
        -moz-transform: translate(110px, 2px);
        transform: translate(110px, 2px);
    }

    .tile.tile-position-2-2 {
        -webkit-transform: translate(84px, 45px);
        -moz-transform: translate(84px, 45px);
        transform: translate(84px, 45px);
    }

    .tile.tile-position-2-3 {
        -webkit-transform: translate(57px, 90px);
        -moz-transform: translate(57px, 90px);
        transform: translate(57px, 90px);
    }

    .tile.tile-position-2-4 {
        -webkit-transform: translate(28px, 135px);
        -moz-transform: translate(28px, 135px);
        transform: translate(28px, 135px);
    }

    .tile.tile-position-3-1 {
        -webkit-transform: translate(165px, 2px);
        -moz-transform: translate(165px, 2px);
        transform: translate(165px, 2px);
    }

    .tile.tile-position-3-2 {
        -webkit-transform: translate(138px, 45px);
        -moz-transform: translate(138px, 45px);
        transform: translate(138px, 45px);
    }

    .tile.tile-position-3-3 {
        -webkit-transform: translate(135px, 90px);
        -moz-transform: translate(135px, 90px);
        transform: translate(112px, 90px);
    }

    .tile.tile-position-3-4 {
        -webkit-transform: translate(83px, 135px);
        -moz-transform: translate(83px, 135px);
        transform: translate(83px, 135px);
    }

    .tile.tile-position-3-5 {
        -webkit-transform: translate(55px, 181px);
        -moz-transform: translate(55px, 181px);
        transform: translate(55px, 181px);
    }

    .tile.tile-position-4-1 {
        -webkit-transform: translate(202px, 0px);
        -moz-transform: translate(202px, 0px);
        transform: translate(202px, 0px);
    }

    .tile.tile-position-4-2 {
        -webkit-transform: translate(193px, 45px);
        -moz-transform: translate(193px, 45px);
        transform: translate(193px, 45px);
    }

    .tile.tile-position-4-3 {
        -webkit-transform: translate(167px, 90px);
        -moz-transform: translate(167px, 90px);
        transform: translate(167px, 90px);
    }

    .tile.tile-position-4-4 {
        -webkit-transform: translate(139px, 135px);
        -moz-transform: translate(139px, 135px);
        transform: translate(139px, 135px);
    }

    .tile.tile-position-4-5 {
        -webkit-transform: translate(110px, 181px);
        -moz-transform: translate(110px, 181px);
        transform: translate(110px, 181px);
    }

    .tile.tile-position-5-3 {
        -webkit-transform: translate(222px, 90px);
        -moz-transform: translate(222px, 90px);
        transform: translate(222px, 90px);
    }

    .tile.tile-position-5-4 {
        -webkit-transform: translate(192px, 135px);
        -moz-transform: translate(192px, 135px);
        transform: translate(192px, 135px);
    }

    .tile.tile-position-5-5 {
        -webkit-transform: translate(166px, 181px);
        -moz-transform: translate(166px, 181px);
        transform: translate(166px, 181px);
    }
}

@media screen and (max-width: 300px) {
    .tile, .tile .tile-inner {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .empty-cell {
        width: 32px;
        height: 32px;
        margin-right: 0px;
    }

    .grid-cell {
        width: 32px;
        height: 32px;
        margin-right: 0;
    }
}

/**
  Marble Elements
**/
.game-container {
    background: url("../../images/games/WoodBoard.png");
    background: url("../../images/games/WoodBoard_2.png");
    /* background: url("../../images/games/WoodBoard_3.png"); */
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/** Board is a little too small for content area on these smaller sizes but you can extend a bit by moving it over into the
 * blue or side area.
 */
@media (max-width: 805px) and (min-width: 790px) {
    .game-container {
        margin-left: -15px;
    }
}
@media (max-width: 789px) and (min-width: 777px) {
    .game-container {
        margin-left: -25px;
    }
}
@media (max-width: 776px) and (min-width: 750px) {
    .game-container {
        margin-left: -38px;
    }
}
@media (max-width: 749px) and (min-width: 732px) {
    .game-container {
        margin-left: -42px;
    }
}
@media (max-width: 731px) and (min-width: 720px) {
    .game-container {
        margin-left: -50px;
    }
}
@media (max-width: 590px) and (min-width: 580px) {
    .game-container {
        margin-left: -10px;
    }
}
@media (max-width: 579px) and (min-width: 565px) {
    .game-container {
        margin-left: -15px;
    }
}
@media (max-width: 564px) and (min-width: 550px) {
    .game-container {
        margin-left: -25px;
    }
}
@media (max-width: 564px) and (min-width: 550px) {
    .game-container {
        margin-left: -25px;
    }
}
@media (max-width: 549px) and (min-width: 535px) {
    .game-container {
        margin-left: -30px;
    }
}
@media (max-width: 534px) and (min-width: 520px) {
    .game-container {
        margin-left: -35px;
    }
}
@media (max-width: 392px) and (min-width: 385px) {
    .game-container {
        margin-left: -5px;
    }
}

@media (max-width: 384px) and (min-width: 375px) {
    .game-container {
        margin-left: -10px;
    }
}

@media (max-width: 374px) and (min-width: 365px) {
    .game-container {
        margin-left: -15px;
    }
}

@media (max-width: 364px) and (min-width: 350px) {
    .game-container {
        margin-left: -20px;
    }
}

@media (max-width: 349px) and (min-width: 200px) {
    .game-container {
        margin-left: -24px;
    }
}

.tiletemp {
    background-image: -webkit-linear-gradient(bottom, rgb(61, 204, 145) 0%, rgb(105, 152, 128) 100%);
    background: radial-gradient(circle at 50% 120%, #3dcc91, #3dcc91 10%, #699880 80%, #699880 100%);

    /* 1 */
    background: radial-gradient(circle at 50% 120%, #71e27a, #3dcc55 10%, #56af64 80%, #4b7d51 100%);
    box-shadow: 2px 2px 4px #2b8f42, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 2 */
    background: radial-gradient(circle at 50% 120%, #71e2b4, #47d49a 10%, #4c9871 80%, #335d47 100%);
    background: radial-gradient(circle at 50% 120%, #9effd8, #5bd4a2 10%, #39ad71 80%, #28734c 100%);
    box-shadow: 2px 2px 4px #53eaae, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #7ff3ed, #81efe0 10%, #43968a 80%, #1c4848 100%);
    background: radial-gradient(circle at 50% 120%, #7ff3ed, #81efcb 10%, #24a592 80%, #176d6d 100%);
    box-shadow: 2px 2px 4px #9cd4cd, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 4 */
    background: radial-gradient(circle at 50% 120%, #a4fffb, #86ffee 10%, #12acb9 80%, #267b7b 100%);
    box-shadow: 2px 2px 4px #31a596, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #a4eeff, #86e9ff 10%, #1294b9 80%, #26587b 100%);
    box-shadow: 2px 2px 4px #3193a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 8 */
    background: radial-gradient(circle at 50% 120%, #a4d9ff, #86c2ff 10%, #1257b9 80%, #26487b 100%);
    background: radial-gradient(circle at 50% 120%, #a4eeff, #25d8ff 10%, #3790d8 80%, #0d57c5 100%);
    box-shadow: 2px 2px 4px #3168a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 16 */
    background: radial-gradient(circle at 50% 120%, #a4c4ff, #86a0ff 10%, #1230b9 80%, #263c7b 100%);
    box-shadow: 2px 2px 4px #3148a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #a4abff, #8695ff 10%, #2212b9 80%, #2b267b 100%);
    box-shadow: 2px 2px 4px #3133a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 32 */
    background: radial-gradient(circle at 50% 120%, #818af7, #5061d8 10%, #4e44b1 80%, #4039ad 100%);
    box-shadow: 2px 2px 4px #4345ab, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 64 */
    background: radial-gradient(circle at 50% 120%, #c9a8ff, #9d75de 10%, #7b29ca 80%, #3c236d 100%);
    box-shadow: 2px 2px 4px #a071d0, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 128 */
    background: radial-gradient(circle at 50% 120%, #e6a8ff, #ce75de 10%, #be29ca 80%, #7a2c88 100%);
    box-shadow: 2px 2px 4px #b25fbf, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 256 */
    background: radial-gradient(circle at 50% 120%, #ffa8e4, #de75a1 10%, #ca299a 80%, #882c56 100%);
    background: radial-gradient(circle at 50% 120%, #ffa8e4, #de75a1 10%, #ca2975 80%, #882c56 100%);
    box-shadow: 2px 2px 4px #bf5fb6, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 512 */
    background: radial-gradient(circle at 50% 120%, #ffa8c8, #de7588 10%, #ca2932 80%, #882c45 100%);
    box-shadow: 2px 2px 4px #bf5f5f, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 1024*/
    background: radial-gradient(circle at 50% 120%, #ff3f3f, #fb2d2d 10%, #ce1b1b 80%, #882c2c 100%);
    box-shadow: 2px 2px 4px #e03838, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 2048 */
    background: radial-gradient(circle at 50% 120%, #ff983f, #fb962d 10%, #ce7c1b 80%, #88452c 100%);
    box-shadow: 2px 2px 4px #e07138, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 4096 */
    background: radial-gradient(circle at 50% 120%, #ffdf3f, #e6a632 10%, #d49b21 80%, #925d1c 100%);
    box-shadow: 2px 2px 4px #e09f38, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    /* 8192 */
    background: radial-gradient(circle at 50% 120%, #ffdf3f, #ffd84b 10%, #dcbd2f 80%, #9c7d0c 100%);
    box-shadow: 2px 2px 4px #e0b738, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-16384 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(138, 14, 14) 0%, rgb(241, 32, 32) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    /* -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5); */
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #9e9e9e, 2px 2px 12px rgba(0, 0, 0, 0.4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px rgb(183, 75, 75), 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(216, 175, 175, 0.3), inset -7px -1px 25px rgba(148, 74, 74, 0.5), 0 0 30px 10px rgba(243, 159, 159, 0.47619), inset 0 0 0 1px rgba(255, 134, 134, 0.28571);
    color: #0000008a;
}

.tile.tile-8192 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(154, 154, 154) 0%, rgb(255, 255, 255) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px rgb(220, 220, 220), 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5), 0 0 30px 10px rgba(234, 234, 234, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28571);
    background: radial-gradient(circle at 50% 120%, #ffdf3f, #ffd84b 10%, #dcbd2f 80%, #9c7d0c 100%);
    box-shadow: 2px 2px 4px #e0b738, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-4096 .tile-inner {
    background: radial-gradient(circle at 50% 120%, #ffdf3f, #e6a632 10%, #d49b21 80%, #925d1c 100%);
    box-shadow: 2px 2px 4px #e09f38, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-2048 .tile-inner {
    background: radial-gradient(circle at 50% 120%, #ff983f, #fb962d 10%, #ce7c1b 80%, #88452c 100%);
    box-shadow: 2px 2px 4px #e07138, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-1024 .tile-inner {
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28571);
    background-image: -webkit-linear-gradient(bottom, rgba(237, 197, 63, 1) 0%, rgb(232, 213, 147) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px rgb(228, 180, 19), 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5), 0 0 30px 10px rgba(243, 215, 116, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28571);
    background: radial-gradient(circle at 50% 120%, #ff3f3f, #fb2d2d 10%, #ce1b1b 80%, #882c2c 100%);
    box-shadow: 2px 2px 4px #e03838, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}
.tile.tile-512 .tile-inner {
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #ffa8c8, #de7588 10%, #ca2932 80%, #882c45 100%);
    box-shadow: 2px 2px 4px #bf5f5f, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}
.tile.tile-256 .tile-inner {
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #ffa8e4, #de75a1 10%, #ca299a 80%, #882c56 100%);
    background: radial-gradient(circle at 50% 120%, #ffa8e4, #de75a1 10%, #ca2975 80%, #882c56 100%);
    box-shadow: 2px 2px 4px #bf5fb6, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-128 .tile-inner {
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.2381), inset 0 0 0 1px rgba(255, 255, 255, 0.14286);
    background-image: -webkit-linear-gradient(bottom, rgb(24, 113, 43) 0%, rgb(112, 206, 139) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    /* -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5); */
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #6c8f2b, 2px 2px 12px rgba(0, 0, 0, 0.4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #e6a8ff, #ce75de 10%, #be29ca 80%, #7a2c88 100%);
    box-shadow: 2px 2px 4px #b25fbf, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-64 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(180, 73, 122) 0%, rgb(236, 159, 202) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #8f2b4e, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #1d4e73;
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #c9a8ff, #9d75de 10%, #7b29ca 80%, #3c236d 100%);
    box-shadow: 2px 2px 4px #a071d0, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-32 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(180, 73, 162) 0%, rgb(216, 133, 226) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #782b8f, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #1d4e73;
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #818af7, #5061d8 10%, #4e44b1 80%, #4039ad 100%);
    background: radial-gradient(circle at 50% 120%, #818af7, #7a8af5 10%, #2d1fb3 80%, #4039ad 100%);
    box-shadow: 2px 2px 4px #4345ab, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-16 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(103, 34, 193) 0%, rgb(175, 121, 216) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #3c2b8f, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #1d4e73;
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #a4c4ff, #86a0ff 10%, #1230b9 80%, #263c7b 100%);
    box-shadow: 2px 2px 4px #3148a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #a4abff, #8695ff 10%, #2212b9 80%, #2b267b 100%);
    background: radial-gradient(circle at 50% 120%, #a4c4ff, #5b8dd8 10%, #0068e4 80%, #06245a 100%);
    box-shadow: 2px 2px 4px #3133a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-8 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(73, 81, 180) 0%, rgb(108, 97, 203) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #332b8f, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #1d4e73;
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #a4d9ff, #86c2ff 10%, #1257b9 80%, #26487b 100%);
    background: radial-gradient(circle at 50% 120%, #a4eeff, #25d8ff 10%, #3790d8 80%, #0d57c5 100%);
    background: radial-gradient(circle at 50% 120%, #a4eeff, #28b9ff 10%, #2474b5 80%, #13233c 100%);
    background: radial-gradient(circle at 50% 120%, #26bfe2, #28d7ff 10%, #09839c 80%, #083c54 100%);
    box-shadow: 2px 2px 4px #3168a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-4 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #2b638f, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #1d4e73;
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #a4fffb, #86ffee 10%, #12acb9 80%, #267b7b 100%);
    box-shadow: 2px 2px 4px #31a596, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #a4eeff, #86e9ff 10%, #1294b9 80%, #26587b 100%);
    background: radial-gradient(circle at 50% 120%, #a4fffb, #8ee5ff 10%, #0c90b5 80%, #196677 100%);
    box-shadow: 2px 2px 4px #3193a5, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);

    background: radial-gradient(circle at 50% 120%, #7ff3ed, #81efb7 10%, #24a58c 80%, #176d6d 100%);
    box-shadow: 2px 2px 4px #9cd4cd, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-2 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(115, 211, 216) 0%, rgb(69, 159, 202) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #2b808f, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #1d4e73;
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #71e2b4, #47d49a 10%, #4c9871 80%, #335d47 100%);
    background: radial-gradient(circle at 50% 120%, #9effd8, #5bd4a2 10%, #39ad71 80%, #28734c 100%);
    box-shadow: 2px 2px 4px #53eaae, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #7ff3ed, #81efe0 10%, #43968a 80%, #1c4848 100%);
    background: radial-gradient(circle at 50% 120%, #7ff3ed, #81efcb 10%, #24a592 80%, #176d6d 100%);
    background: radial-gradient(circle at 50% 120%, #7ff3ed, #81efb7 10%, #24a58c 80%, #176d6d 100%);
    box-shadow: 2px 2px 4px #9cd4cd, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #71e27a, #3dcc55 10%, #56af64 80%, #4b7d51 100%);
    box-shadow: 2px 2px 4px #2b8f42, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.tile.tile-1 .tile-inner {
    background-image: -webkit-linear-gradient(bottom, rgb(79, 150, 121) 0%, rgb(138, 191, 164) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #2b8f67, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
    color: #1d4e73;
    color: #0000008a;
    background: radial-gradient(circle at 50% 120%, #71e27a, #3dcc55 10%, #56af64 80%, #4b7d51 100%);
    box-shadow: 2px 2px 4px #2b8f42, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 50% 120%, #adcc4f, #8ecc3d 10%, #9aaf56 80%, #6c7d4b 100%);
    box-shadow: 2px 2px 4px #5e8f2b, 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, 0.5), inset -7px -1px 25px rgba(255, 255, 255, 0.6);
}

.grid-cell {
    background: rgba(238, 228, 218, 0.35);
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #bbada0, inset 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgba(255, 255, 255, .5);
}

.grid-cell {
    background: rgba(130, 130, 73, 0.35);
    /* background: rgba(130, 97, 73, 0.35); */
    background-image: -ms-linear-gradient(bottom, rgb(73, 132, 180) 0%, rgb(97, 155, 203) 100%);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0, 0, 0, .4), inset 0px 1px 0px rgba(255, 255, 255, .3), inset 0px 0px 3px rgba(255, 255, 255, .5);
    box-shadow: 2px 2px 4px #acac7a, inset 2px 2px 12px rgba(0, 0, 0, .4), inset 0px 2px 2px rgba(255, 255, 255, .3), inset -7px -1px 25px rgb(185, 185, 141);
    /* box-shadow: 2px 2px 4px #ac867a, inset 2px 2px 12px rgba(0,0,0,.4), inset 0px 2px 2px rgba(255,255,255,.3), inset -7px -1px 25px rgb(185, 164, 141); */
}

.empty-cell {
    background: none;
}

.tile {
    font-family: "Merienda One", serif;
}