body {
    font-family: Verdana;
    font-size: 0.8em;
    padding: 1em;
    background-color: rgb(65, 65, 65);
    color: rgb(255, 255, 255);
}

a {
    text-decoration: none;
    color: orange;
    font-weight: bold;
}

a.navi {
    border: 1px solid rgb(0, 0, 0);
    padding: 0em 1em;
    width: 250px;
    display: block;
    margin: 0 0.5em;
    background-color: antiquewhite;
    font-weight: bold;
}

a.navi:hover {
    background-color: wheat;
}

a:hover {
    color: darkorange;
}

#main {
    width: 100%;
    /*position: fixed;*/
    z-index: 99; /* Higher than anything else in the document */
}

#navigation {
    width: 380px;
    float: left;
    /*margin-bottom: 6em;*/
    /*margin-right: 2em;*/
}

#content {
    width: 550px;
    float: left;
    line-height: 1.8em;
}

#stats {
    width: 200px;
    float: left;
    /*margin: 1em;*/
    margin-left: 2em;
}

#footer {
    /*float: right;*/
    text-align: left;
    margin: 2px;
    width: 18em;
    font-size: 0.7em;
}

#footer a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

#footer span {
    display: inline;
    border: 1px solid rgb(0, 0, 0);
}

#footerSpanScene {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    padding: 1px;
    margin-right: -3px;
}

#footerSpanWalk {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border: 1px solid rgb(0, 0, 0);
    padding: 1px;
}

span.navi {
    /*border: 1px solid rgb(0, 0, 0);*/
    padding: 0em 1em;
    width: 250px;
    display: block;
    margin: 0 0.5em;
    background-color: dimgrey;
    color: white;
    font-weight: bold;
}

hr {
    height: 1px;
    border-width:0;
    color: rgb(0, 0, 0);
    background-color: rgb(0, 0, 0);
}

table {
    /*border: 1px solid rgb(0, 0, 0);*/
    border: 0;
}

table.stats {
    width: 170px;
    border: 1px solid rgb(0, 0, 0);
    line-height: 1em;
    background-color: antiquewhite;
    color: black;
}

table.statsFight {
    margin: 2em 0;
    border: 0;
    /*width: 170px;*/
    border: 1px solid rgb(0, 0, 0);
    line-height: 1em;
    background-color: antiquewhite;
    color: black;
    text-align: center;
}

table.navigation {
    line-height: 2.0em;
}

td.map {
    height: 100px;
    width: 100px;
    text-align: center;
    font-size: 0.7em;
    /*border: 1px solid rgb(0, 0, 0);*/
}

td.inactive {
    height: 15px;
    width: 15px;
    text-align: center;
    font-size: 0.7em;
    border: 0;
}

td.stats_desc {
    text-align: left;
    font-size: 0.8em;
    border: 1px solid rgb(0, 0, 0);
    padding: 0.5em;
}

td.stats_value {
    text-align: right;
    font-size: 0.8em;
    border: 1px solid rgb(0, 0, 0);
    padding: 0.5em;
    font-weight: bold;
}

td.stats_desc_no_border {
    text-align: left;
    font-size: 0.8em;
    border: 0;
    padding: 0 0.5em;
}

td.stats_value_no_border {
    text-align: right;
    font-size: 0.8em;
    border: 0;
    padding: 0 0.5em;
    font-weight: bold;
}

td.stats_no_border {
    text-align: left;
    font-size: 0.8em;
    border: 0;
    padding: 0.5em;
    padding-top: 2em;
}

td.inventory {
    height: 50px;
    width: 50px;
    /*text-align: center;
    font-size: 0.8em;*/
    border: 1px solid rgb(0, 0, 0);
    background-color: antiquewhite;
    padding: 0;
}

td.hidden {
    background-color: rgb(0, 0, 0);
    height: 100px;
    width: 100px;
    text-align: center;
    font-size: 0.8em;
    border: 1px solid rgb(0, 0, 0);
}

#title {
    font-size: 1.6em;
    margin: 1em 0;
}

#image {
    margin: 1em;
}

.image_inventory {
    width: 50px;
}

#image_attacker {
    width: 50em;
    /*margin: 1em;*/
    width: 550px;
    /*border: 1px solid rgb(0, 0, 0)*/;
}

.imagePlayer {
    height: 130px;
    top: 100px;
    /*left: 15px;*/
    position: relative;
}

.imageAttacker1 {
    /*width: 100px;
    height: 100px;*/
    top: 100px;
    /*left: 159px;*/
    position: relative;
}

.imageAttacker2 {
    /*width: 100px;
    height: 100px;*/
    top: 100px;
    /*left: -50px;*/
    position: relative;
}

.imageAttacker3 {
    /*width: 100px;
    height: 100px;*/
    top: 100px;
    /*left: 40px;*/
    position: relative;
}

#image_scene {
    /*margin: 1em;
    height: 150px;*/
    width: 540px;
    border: 1px solid rgb(0, 0, 0);
}

#text {
    margin: 1em 0;
}

#tracks {
    margin: 1em;
}

#log {
    margin-right: 5em;
    /*margin-left: 2em;*/
    padding: 1em;
    overflow: auto;
    height: 15em;
    border: 1px solid rgb(0, 0, 0);
    font-size: 0.8em;
    line-height: 1.2em;
    color: black;
    background-color: wheat;
}

.fightingLayerAttacker {
    border-radius: 80px;
    margin-top: 70px;
    margin-left: 10px;
    background: tomato;
    -webkit-animation: fadeinout 2s linear forwards;
    /*animation: fadeinout 2s linear forwards;*/
    position: absolute;
    width: 110px;
    height: 110px;
    font-size: 5em;
    text-align: center;
    display: table;
}

.fightingLayerPlayer {
    border-radius: 80px;
    margin-top: 70px;
    margin-left: 250px;
    background: green;
    -webkit-animation: fadeinout 3s linear forwards;
    /*animation: fadeinout 2s linear forwards;*/
    position: absolute;
    width: 110px;
    height: 110px;
    font-size: 5em;
    text-align: center;
    display: table;
}

.shop_inventory{
    /*width: 90px;
    height: 230px;*/
    line-height: 1em;
    float: left;
    margin: 5px;
    padding: 0 8px;
    border: 1px solid rgb(0, 0, 0);
    background-color: antiquewhite;
    color: black;
    width: 82px;
    height: 220px;
    position: relative;
}

.shop_inventory_image{
    width: 80px;
    /*margin: 0 8px;*/
    border: 1px solid rgb(0, 0, 0);
    background-color: wheat;
    /*padding: 2px;*/
}

#dungeon_map {
    line-height: 1.3em;
    background-color: wheat;
    font-size: 0.8em;
}

#dungeon_map td {
    border: 0;
    padding: 0;
}

@-webkit-keyframes fadeinout {
    50% { opacity: 1; }
    10%,100% { opacity: 0; }
}

/*@keyframes fadeinout {
    20%,100% { opacity: 0; }
    50% { opacity: 1; }
}*/

/*@media (prefers-color-scheme: dark) {
    img {
        filter: invert(100%);
    }
    body {
        filter: invert(100%);
    }
    #content {
        filter: invert(100%);
    }
    #main {
        filter: invert(100%);
    }
    table {
        filter: invert(100%);
    }
}*/
