﻿    * {
        box-sizing: border-box;
    }
    
    html {
        position: fixed;
        overflow: hidden;
    }
    
    body {
        margin: 0px;
        position: fixed;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
    
    body * {
        -ms-user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }
    
    .button::selection,
    .panel *::-moz-selection {
        background: transparent;
        color: inherit;
    }
    
    #header {
        border-bottom: 1px solid #666;
        padding: 0 0 30px 0;
        margin: 0 0 10px 0;
        position: relative;
    }
    
    .panel {
        width: 30%;
        height: auto;
        position: absolute;
        background-color: rgba(180, 180, 180, 0.6);
        opacity: 0.9;
        padding: 20px;
        z-index: 5;
        top: 7%;
        left: 40px;
    }
    
    h2 {
        float: left;
        font-family: Arial, Helvetica, Verdana, sans-serif;
        font-size: 30px;
        color: #111;
        margin: 0 0 5px 0;
        text-transform: none;
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;
    }
    
    #logo {
        text-align: right;
    }
    
    #logo img {
        height: 80px;
        width: 80px;
    }
    
    .optiongroup {
        clear: both;
        margin-bottom: 20px;
    }
    
    .button {
        width: 71px;
        height: 47px;
        margin: 0px 10px 10px 0;
        border: 1px solid dimgray;
        border-style: solid;
        border-radius: 0px;
        float: left;
        cursor: pointer;
        font-size: 11px;
        text-align: center;
        line-height: 40px;
        vertical-align: middle;
        outline: 0;
    }
    
    .button:hover {
        border-color: white;
    }
    
    .buttonDisabled {
        opacity: 0.5;
    }
    
    .buttonPlay {
        opacity: 1;
        border: 3px solid white;
    }
    
    #canvas {
        width: 130%;
        height: 100vh;
        outline: 0;
        touch-action: none;
    }
    
    #loader {
        position: fixed;
        top: 50%;
        left: 50%;
    }
    
    #help {
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgba(180, 180, 180, 0.75);
        z-index: 10;
        display: none;
    }
    
    .help_icon {
        position: absolute;
        width: 200px;
        height: 200px;
    }
    
    #help_swipe {
        left: 50%;
        top: 50%;
        margin-left: 50px;
        margin-top: -100px;
    }
    
    #help_play {
        left: 7%;
        top: 20%;
    }
    
    @media only screen and (max-width: 767px) {
        #header {
            padding: 0 0 0 0;
            margin: 0 0 5px 0;
        }
        .panel {
            width: 100%;
            height: 125px;
            position: fixed;
            display: block;
            background-color: white;
            top: 0;
            left: 0;
        }
        h2 {
            font-size: 18px;
            margin: 0 0 2px 0;
        }
        #logo img {
            height: 25px;
            width: 52px
        }
        .button {
            width: 48px;
            height: 31px;
            margin: 0px 5px 5px 0;
        }
        .button:hover {
            border: 2px solid black;
        }
        .buttonPlay {
            border: 2px solid black;
        }
        #canvas {
            height: 100vh;
            width: 100%;
            margin-top: 50px;
        }
        #help_swipe {
            left: 50%;
            top: 50%;
            margin-top: 0;
            margin-left: -100px;
        }
        #help_play {
            left: 50%;
            top: 2%;
            margin-left: -100px;
        }
    }