#game {
    background: #664BB2;
    background: linear-gradient(0deg, #664BB2 0%, #36A8FE 100%);
}

.dialog {
    background: #36A8FE;
    background: linear-gradient(0deg, #027deb 0%, #06a7eb 50%, #08c1eb 100%);
    border-radius: 15px;
    box-shadow: 0px -3px #00589F inset, 0px 2px #00EBEC inset;
}

.dialog_display
{
    background-color: #0279ce;
    border-radius: 15px;
    box-shadow: 0px 2px #1ba9ef, -1px -1px #026fc5 inset;
}

body
{
    -user-select: none;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
}

.phaser_transform
{
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    padding: 0;
}

#pause_dialog
{
    width: 565px;
    height: 400px;
}

#pause_container
{
    background-color: #0279ce;
    width: 535px;
    height: 130px;
    transform: translate(-50%, -55%);
    border-radius: 15px;
    box-shadow: 0px 2px #1ba9ef, -1px -1px #026fc5 inset;
    color: #ffffff;
}

#pause_container p
{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Noto Sans';
    font-size: 24px;
    font-weight: 500;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    text-shadow: 0px 2px #005d84;
}

#pause_banner
{
    background-image: url("../assets/textures/banner.png");
    width: 615px;
    height: 101px;
    transform: matrix(1, 0, 0, 1, -309, -150);
}

.centering_div
{
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.centering_div p
{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#pause_banner p
{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin: 0;
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 900;
    font-size: 40px;
    margin-top: 20px;
    background: -webkit-linear-gradient(to bottom, #f2fffd 0%, #B5FFF6 100%);
    background: -moz-linear-gradient(to bottom, #f2fffd 0%, #B5FFF6 100%);
    background: linear-gradient(to bottom, #f2fffd 0%, #B5FFF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px #00ABB2);
}

#resume_button
{
    transform: matrix(1, 0, 0, 1, -149, 76);
}

.large_button
 {
    display: table;
    background-color: #003861;
    border-radius: 50px;
    border: 4px solid #ffffff;
    box-shadow: 0px 4px #005DA4;
    width: 298px;
    height: 93px;
 }

.large_button_narrow
{
    display: table;
    background-color: #003861;
    border-radius: 50px;
    border: 4px solid #ffffff;
    box-shadow: 0px 4px #005DA4;
    width: 410px;
    height: 75px;
}

.small_button
{
    display: table;
    background-color: #003861;
    border-radius: 50px;
    border: 4px solid #ffffff;
    box-shadow: 0px 4px #005DA4;
    width: 200px;
    height: 60px;
}

.dom_button *
{
    pointer-events: none;
}

.button_text
{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin: 0;
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 900;
    font-size: 34px;
    background: -webkit-linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    background: -moz-linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    background: linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlighted_text
{
    color: #ffd800;
    white-space: pre;
    text-shadow: 0px 2px #005d84;
}

.centered {
    position: relative;
    width: 100%;
    text-align: center;
}

#no_moves_dialog
{
    width: 480px;
    height: 450px;
    padding-top: 30px;
}


/* No Moves Dialog */

#nmd_title
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 900;
    font-size: 40px;
    background: -webkit-linear-gradient(to bottom, #FFFFFF 0%, #C5EAFD 100%);
    background: -moz-linear-gradient(to bottom, #FFFFFF 0%, #C5EAFD 100%);
    background: linear-gradient(to bottom, #FFFFFF 0%, #C5EAFD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(-1px 2px #0081AA);
    margin: 0;
    padding: 0;
}

#replay_icon
{
    width: 54px;
    height: 55px;
    background: url("../assets/textures/ui_atlas.png") no-repeat -185px -178px;
    transform: matrix(1, 0, 0, 1, -120, -27);
}

#nmd_replay_text
{
    transform: matrix(1, 0, 0, 1, 50, 0);
}

#nmd_replay_button
{
    width: 350px;
    transform: matrix(1, 0, 0, 1, -175, -140);
}

#nmd_new_game_button
{
    width: 350px;
    transform: matrix(1, 0, 0, 1, -175, -20);
}

#nmd_shuffle_button
{
    width: 350px;
    transform: matrix(1, 0, 0, 1, -175, 100);
}

#nmd_shuffle_icon
{
    width: 55px;
    height: 47px;
    background: url("../assets/textures/ui_atlas.png") no-repeat -185px -129px;
    transform: matrix(1, 0, 0, 1, -120, -24);
}


#nmd_shuffle_text
{
    transform: matrix(1, 0, 0, 1, 50, 0);
}


/*  --------- Level Complete Dialog --------------- */
.wd_time
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 700;
    font-size: 140px;
    background: -webkit-linear-gradient(to bottom, #FFFFFF 20%, #78AAE1 100%);
    background: -moz-linear-gradient(to bottom, #FFFFFF 20%, #78AAE1 100%);
    background: linear-gradient(to bottom, #FFFFFF 20%, #78AAE1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1px 1px #0464AA);
    margin: 0;
}

.new_record
{
    background: -webkit-linear-gradient(to bottom, #00F7CD 20%, #00AFBB 100%);
    background: -moz-linear-gradient(to bottom, #00F7CD 20%, #00AFBB 100%);
    background: linear-gradient(to bottom, #00F7CD 20%, #00AFBB 100%);
    border-radius: 45px;
    box-shadow: 0px 2px #0084C2, 0px -1px #00A6B8 inset, 0px 1px #37EAFB inset ;
    padding-left: 40px;
    padding-right: 40px;
    display: table;
    height: 80px;
}

#wd_top_label
{
    display: table-cell;
    vertical-align: middle;
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 600;
    font-size: 40px;
    background: -webkit-linear-gradient(to bottom, #FFFFFF 40%, #78AAE1 80%);
    background: -moz-linear-gradient(to bottom, #FFFFFF 40%, #78AAE1 80%);
    background: linear-gradient(to bottom, #FFFFFF 40%, #78AAE1 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(-1px 2px #00AEB0);
    margin: 0;
}

#wd_next_text
{
    margin-left: 140px;
    pointer-events: none;
    transform: matrix(1, 0, 0, 1, 40, 0);
}

#wd_next_icon
{
    width: 50px;
    height: 38px;
    background: url("../assets/textures/ui_atlas.png") no-repeat -185px -289px;
    transform: matrix(1, 0, 0, 1, -100, -20);
    pointer-events: none;
}

.app_search_text
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 0px 2px #111728;
}

.highlighted_text_teal
{
    color: #00DBC4;
}

#record_text
{
    font-size: 24px;
    font-weight: 600;
}

#record_time
{
    font-size: 32px;
    font-weight: 600;
}

/* ------------ Loading Screen ----------- */
#mahjong_title
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 900;
    font-size: 100px;

    /*position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    padding: 0;*/
    background: -webkit-linear-gradient(to top, #EEE2D3 30%, #ffffff 50%, #78AAE1 100%);
    background: -moz-linear-gradient(to top, #EEE2D3 30%, #ffffff 50%, #78AAE1 100%);
    background: linear-gradient(to top, #EEE2D3 30%, #ffffff 50%, #78AAE1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#mahjong_title:after
{
    text-shadow: 1px 1px 1px #919191,
    1px 2px 1px #1b81fa,
    1px 3px 1px #1b81fa,
    1px 4px 1px #1b81fa,
    1px 5px 1px #1b81fa,
    1px 6px 1px #1b81fa,
    1px 7px 1px #00387d,
    1px 8px 1px #00387d,
    1px 9px 1px #00387d,
    1px 10px 1px #00387d,
    1px 11px 1px #00387D,
    1px 12px 5px #205dd9,
    1px 13px 5px #397FD9,
    1px 14px 5px #397FD9;

    background: none;
    content: attr(data-text);
    z-index: -1;
    left: 0;
    position: absolute;
}

#mahjong_subtitle
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 700;
    font-size: 50px;
    letter-spacing: 25px;

    /*position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    padding: 0;*/
    background: -webkit-linear-gradient(to bottom, #EEE2D3 30%, #ffffff 50%, #78AAE1 100%);
    background: -moz-linear-gradient(to bottom, #EEE2D3 30%, #ffffff 50%, #78AAE1 100%);
    background: linear-gradient(to bottom, #EEE2D3 30%, #ffffff 50%, #78AAE1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


#mahjong_subtitle:after
{
    text-shadow: 1px 1px 1px #919191,
    1px 2px 1px #1b81fa,
    1px 3px 1px #1b81fa,
    1px 4px 1px #1b81fa,
    1px 5px 1px #1b81fa,
    1px 6px 1px #1b81fa,
    1px 7px 1px #00387d,
    1px 8px 1px #00387d,
    1px 9px 1px #00387d,
    1px 10px 1px #00387d,
    1px 11px 1px #00387D,
    1px 12px 10px #205dd9,
    1px 13px 15px #205dd9,
    1px 14px 20px #205dd9;

    background: none;
    content: attr(data-text);
    z-index: -1;
    left: 0;
    position: absolute;
}

#loading_title
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 400;
    font-size: 30px;

    background: -webkit-linear-gradient(to bottom, #ffffff 50%, #78AAE1 100%);
    background: -moz-linear-gradient(to bottom, #ffffff 50%, #78AAE1 100%);
    background: linear-gradient(to bottom, #ffffff 50%, #78AAE1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#loading_title:after
{
    text-shadow: 1px 1px 1px #919191,
    1px 2px 1px rgba(3, 0, 250, 0.79);

    background: none;
    content: attr(data-text);
    z-index: -1;
    left: 0;
    position: absolute;
}

/*  -------- TUTORIAL ------ */

#how_to_play_title
{
    filter: drop-shadow(2px 2px #0084AC);
    font-size: 38px;
}

.next_button
{
    width: 90px;
    height: 88px;
    background: url("../assets/textures/ui_atlas.png") no-repeat -1px -274px;
    transform: matrix(1, 0, 0, 1, 0, 0);
}

#tut_text
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 600;
    font-size: 22px;
    text-align: center;
    line-height: 1.7;
    color: #0b46a7;
    text-shadow: #00DCE8 0px 1px;
}

.dot_off
{
    width: 29px;
    height: 30px;
    background: url("../assets/textures/tut_dot_off.png");
}

.dot_on
{
    width: 29px;
    height: 30px;
    background: url("../assets/textures/tut_dot_on.png");
}

#tut_img_1
{
    width: 262px;
    height: 199px;
    background: url("../assets/textures/tutorial_1.png");
}

.star
{
    background: url("../assets/textures/star.png");
    background-size: cover;
    width: 65px;
    height: 60px;
}

.star_bg
{
    background: url("../assets/textures/star_bg.png");
    background-size: cover;
    width: 65px;
    height: 60px;
}

#tut_step_text
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 600;
    font-size: 30px;

    background: -webkit-linear-gradient(to bottom, #ffffff 50%, #78AAE1 100%);
    background: -moz-linear-gradient(to bottom, #ffffff 50%, #78AAE1 100%);
    background: linear-gradient(to bottom, #ffffff 50%, #78AAE1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0px 1px #00387d);
}

#close_tut_btn
{
    transform: matrix(1, 0, 0, 1, 0, 0);
}

/* ----------------  HOME SCREEN ------------------ */

.preview_title
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 900;
    font-size: 48px;
    background: -webkit-linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    background: -moz-linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    background: linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview_record
{
    font-family: 'Roboto', 'Noto Sans';
    font-weight: 700;
    font-size: 50px;
    background: -webkit-linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    background: -moz-linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    background: linear-gradient(to top, #90c0ff 0%, #ffffff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0px 2px #00387d);
}