* {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
#infoMessage {
    display: none;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    color: white;
    font-family: monospace;
}

#devOptionBar {
    left: 50%;
    transform: translate(-50%, 0); /* Yep! */
    padding: 0;
    position: absolute;
    margin: 10px;
    z-index: 2;
}

#inventory {
    padding: 0;
    position: absolute;
    bottom: 0;
    margin: 10px;
    z-index: 2;
}

.inventoryRow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 10px;
    z-index: 2;
}

.inv {
    background-color: rgba(0, 0, 0, 0.3);
    width: 70px;
    height: 70px;
    min-height: 60px;
    min-width: 60px;
}

.inv img {
    width: 40px;
    height: 40px;
}

.bars {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 10px;
    z-index: 2;
}

#health-bar {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 300px;
    height: 20px;
    padding: 5px;
    margin: 2px;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
}

#health-bar-inner {
    background: #c54;
    width: 100%;
    height: 10px;
    position: relative;
    transition: width .5s linear;
}

#hunger-bar {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 300px;
    height: 20px;
    padding: 5px;
    margin: 2px;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
}

#hunger-bar-inner {
    background: #cc9025;
    width: 100%;
    height: 10px;
    position: relative;
    transition: width .5s linear;
}

#fps {
    font-family: monospace;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 10px;
    z-index: 2;
}

#label {
    font-family: monospace;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    margin: 10px;
    z-index: 2;
}


#dev {
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    z-index: 2;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.ghost-button {
    display: inline-block;
    width: 100px;
    font-weight: bold;
    padding: 8px;
    color: white;
    border: 3px solid white;
    text-align: center;
    outline: none;
    text-decoration: none;
    background-color: transparent;
    transition: background-color 0.2s ease-out,
    color 0.2s ease-out;
}

.ghost-button:hover,
.ghost-button:active {
    background-color: white;
    color: #000;
    transition: background-color 0.3s ease-in,
    color 0.3s ease-in;
}

.ghost-active {
    background-color: white;
    color: #000;
    transition: background-color 0.3s ease-in,
    color 0.3s ease-in;
}
