html {
    width: 100%;
    height: 100%;
}

body {
    margin: auto;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

div {
    margin: 0;
    padding: 0;
}

#phaser-div {
    height: 100%;
    width: 100%;
}

canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*width:100% !important;*/
    /*height:100% !important;*/
}

@font-face {
    font-family: 'OpenSans';
    font-style: normal;
    src: url(app-chef-game-container/Assets/Fonts/OpenSans-Bold.ttf);
}
@font-face {
    font-family: 'OpenSansSemi';
    font-style: normal;
    src: url(app-chef-game-container/Assets/Fonts/OpenSans-Semibold.ttf);
}
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    src: url(app-chef-game-container/Assets/Fonts/Oswald-Bold.ttf);
}

#font-loader {
    position: absolute;
    left: -100px;
}

#bugfixer {
    font-family: "OpenSans";
    visibility: hidden;
}
#font-hack {
    font-family: "Oswald";
    visibility: hidden;
}
#font-hack-two {
    font-family: "OpenSansSemi";
    visibility: hidden;
}



/* Rotate your device */
#play-in-portrait {
    display: none;
    height: 100%;
    width: 100%;
    background-color: #282828;
    /*background-image: url("Assets/rotate_device.gif");*/
    background-repeat: no-repeat;
    background-position: center center;
}

#play-in-portrait.slide-in {
    display: block;
}

#play-in-portrait.slide-out {
    display: none;
}

#rotate {
    font-size: 9.831px;
    font-family: "OpenSansSemi";
    color: rgb(255, 255, 255);
    line-height: 3.123;
    -moz-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
    -webkit-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
    -ms-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
    position: absolute;
    left: 20%;
    top: 3%;
    z-index: 12;
}

#your {
    font-size: 9.831px;
    font-family: "OpenSansSemi";
    color: rgb(255, 255, 255);
    line-height: 3.123;
    -moz-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
    -webkit-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
    -ms-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
    position: absolute;
    left: 51%;
    top: 17%;
    z-index: 13;
}

#device {
    font-size: 6.831px;
    font-family: "OpenSansSemi";
    color: rgb(255, 255, 255);
    line-height: 3.123;
    -moz-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
    -webkit-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
    -ms-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
    position: absolute;
    left: 42%;
    top: 35%;
    z-index: 14;
}

#play-in-portrait img {
    position: absolute;
    left: 42%;
    top: 70%;
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    50% {
        opacity: 1;
        -moz-transform: rotate(90deg);
    }

    100% {
        opacity: 0;
        -moz-transform: rotate(90deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    50% {
        opacity: 1;
        -webkit-transform: rotate(90deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        opacity: 1;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

/*@media (max-width: 1023px) and (orientation: landscape) {*/

    /*#play-in-portrait {*/
        /*display: block;*/
    /*}*/

    /*#phaser-div {*/
        /*display: none;*/
    /*}*/
/*}*/






@media (min-width: 320px) and (orientation: landscape) {

    #rotate {
        font-size: 6.831px;
        font-family: "OpenSansSemi";
        color: rgb(255, 255, 255);
        line-height: 3.123;
        -moz-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -webkit-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -ms-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        position: absolute;
        left: 37%;
        top: 8%;
        z-index: 12;
    }

    #your {
        font-size: 6.831px;
        font-family: "OpenSansSemi";
        color: rgb(255, 255, 255);
        line-height: 3.123;
        -moz-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -webkit-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -ms-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        position: absolute;
        left: 61%;
        top: 23%;
        z-index: 13;
    }

    #device {
        font-size: 33.831px;
        font-family: "OpenSansSemi";
        color: rgb(255, 255, 255);
        line-height: 3.123;
        -moz-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
        -webkit-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
        position: absolute;
        left: 33%;
        top: 18%;
        z-index: 14;
    }

}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    #rotate {
        font-size: 9.831px;
        font-family: "OpenSansSemi";
        color: rgb(255, 255, 255);
        line-height: 3.123;
        -moz-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -webkit-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -ms-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        position: absolute;
        left: 27%;
        top: 14%;
        z-index: 12;
    }

    #your {
        font-size: 9.831px;
        font-family: "OpenSansSemi";
        color: rgb(255, 255, 255);
        line-height: 3.123;
        -moz-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -webkit-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        -ms-transform: matrix(5.53566510963413, 0, 0, 5.53064699061927, 0, 0);
        position: absolute;
        left: 51%;
        top: 23%;
        z-index: 13;
    }

    #device {
        font-size: 6.831px;
        font-family: "OpenSansSemi";
        color: rgb(255, 255, 255);
        line-height: 3.123;
        -moz-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
        -webkit-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
        -ms-transform: matrix(9.39587447667625, 0, 0, 9.38735705095797, 0, 0);
        position: absolute;
        left: 42%;
        top: 38%;
        z-index: 14;
    }

}