body {
    text-align: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: black;
}
*{
    touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: url('ui/cursor2.png'), auto;
    image-rendering: optimizeSpeed;
    /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;
    /* Firefox                        */
    image-rendering: -o-crisp-edges;
    /* Opera                          */
    image-rendering: -webkit-optimize-contrast;
    /* Chrome (and eventually Safari) */
    image-rendering: pixelated;
    /* Chrome */
    image-rendering: optimize-contrast;
    /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;
}
a {
    color: inherit;
    text-decoration: none;
}

#menu {
    margin: 0;
    padding: 0;
    border: 0;
    background-image: url(title-screen.png);
    background-size: contain;
    z-index: 200;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
}

#ghost {
    opacity: 0.5;
}

#loading {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: black;
}

#loading div {
    position: absolute;
    font-family: 'VT323', monospace;
    font-size: 35px;
    color: white;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#version {
    display: inline-block;
    font-family: 'VT323', monospace;
    font-size: 20px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    color: white
}

#buttons {
    display: inline-block;
    font-family: 'VT323', monospace;
    font-size: 16px;
    position: absolute;
    text-align: left;
    margin-top: 25%;
    left: 2%;
    color: white;
}
#hardMode{
    opacity:0.5;
}
.button {
    border: 3px solid transparent;
    padding: 3px;
    text-shadow: 1px 1px 0 #222034,
        -1px 1px 0 #222034,
        1px -1px 0 #222034,
        -1px -1px 0 #222034,
        0px 1px 0 #222034,
        0px -1px 0 #222034,
        -1px 0px 0 #222034,
        1px 0px 0 #222034,
        2px 2px 0 #222034,
        -2px 2px 0 #222034,
        2px -2px 0 #222034,
        -2px -2px 0 #222034,
        0px 2px 0 #222034,
        0px -2px 0 #222034,
        -2px 0px 0 #222034,
        2px 0px 0 #222034,
        1px 2px 0 #222034,
        -1px 2px 0 #222034,
        1px -2px 0 #222034,
        -1px -2px 0 #222034,
        2px 1px 0 #222034,
        -2px 1px 0 #222034,
        2px -1px 0 #222034,
        -2px -1px 0 #222034;
}
}

#canvas {
    margin: 0;
    padding: 0;
    border: 0;
    z-index: 100;
    visibility: hidden;
    image-rendering: optimizeSpeed;
    /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;
    /* Firefox                        */
    image-rendering: -o-crisp-edges;
    /* Opera                          */
    image-rendering: -webkit-optimize-contrast;
    /* Chrome (and eventually Safari) */
    image-rendering: pixelated;
    /* Chrome */
    image-rendering: optimize-contrast;
    /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;
}

#pause-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.6;
    z-index: 3000;
    display: none;
}

#options {
    margin-top: 10%;
}

.icons {
    width: 15%;
    margin-right: 2%;
}

.icons:hover,
#ctrlButton:hover,
.button:hover,
.selected {
    border: 3px solid white;
}

#pause-icon {
    width: 20%;
    margin-top: 5%;
}

.tutorials {
    position: absolute;
    height: 100%;
    z-index: 200;
    visibility: hidden;
    opacity: 0.95;
    left: 50%;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -moz-transform: translate(-50%);
    transform: translate(-50%);

}

#twitter {
    display: inline-block;
    font-family: 'VT323', monospace;
    font-size: 20px;
    position: absolute;
    left: 10px;
    bottom: 5px;
    color: white;
    opacity: 0.5;
    z-index: 2000;
}

.stat {
    font-family: 'VT323', monospace;
    font-size: 20px;
    color: white;
    text-align: left;
    position: absolute;
    display: block;
    width: 100%;
}

#twitter:hover {
    opacity: 1;
}

#ctrlButton {
    margin-top: 5%;
    font-family: 'VT323', monospace;
    font-size: 50px;
    color: white;
}


/*
    MOBILE UI
*/
#arrowCont {
    display: none;
    position: absolute;
    width: 100%;
    height: 21vh;
    bottom: 10vh;
    z-index: 1200;
}

#spacebarCont {
    display: none;
    position: absolute;
    bottom: 0;
    height: 9vh;
    width: 100%;
    z-index: 4000;
    text-align: center;
}

#othersCont {
    display: none;
    position: absolute;
    margin-left: 5%;
    margin-top: 2.5%;
    width: 21vh;
    height: 100%;
    z-index: 1000;
}

.arrows {
    height: 100%;
    background-color: transparent;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    opacity: 0.4;
}

#spacebar {
    display: inline-block;
    height: 100%;
}

#left {
    float: left;
    margin-left: 5%;
}

#right {
    float: left;
    margin-left: 5%;
}

#up {
    float: right;
    margin-right: 5%;
}

#atk {
    float: right;
    margin-right: 1%;
}

#lookDownBtn {
    width: 100%;
    height: auto;
    margin-top: 5%;
}

#lookFurtherBtn {
    width: 100%;
    height: auto;
}
