body, html, h1, select, option
{
    margin: 0;
}

body
{
    color: #FFFFFF;
    background-color: #000000;
}

nav
{
    color: #000000; /*color: #FF0505;*/
}

.game_object
{
    width: 16px;
    height: 16px;
    position: absolute;
    top: 100px;
    left: 100px;
    z-index: 9;
}

.game_object .resizers
{
    width: 100%;
    height: 100%;
}

.game_object .resizers .resizer
{
    display: none;
}

.game_object:hover .resizers .resizer
{
    display: block;
    width: 2px;
    height: 2px;
    border-radius: 50%; /*magic to turn square into circle*/
    background: white;
    border: 3px solid #4286f4;
    position: absolute;
    z-index: 9999;
}

/*Unused, likely will delete!*/
.game_object .resizers .resizer.top
{
    width: 4px;
    height: 4px;
    border: 3px solid #FF0000;
    left: 5px;
    top: -2px;
    cursor: help; /*not-allowed;*/
}

.game_object .resizers .resizer.top-left
{
    left: -2px;
    top: -2px;
    cursor: nwse-resize; /*resizer cursor*/
}

.game_object .resizers .resizer.top-right
{
    right: -2px;
    top: -2px;
    cursor: nesw-resize;
}

.game_object .resizers .resizer.bottom-left
{
    left: -2px;
    bottom: -2px;
    cursor: nesw-resize;
}

.game_object .resizers .resizer.bottom-right
{
    right: -2px;
    bottom: -2px;
    cursor: nwse-resize;
}

.heading
{
    height: calc(16 * 10px); /* 16 * 8px / 128px */ 
    margin: 0;
    overflow-y: scroll;
}

.dev
{
    font-family: sans-serif;
    background: black;
    color: green;
    font-size: 17px;
    font-weight: bold;
    padding: 5px;
    width: 1000px;
    border-style: solid;
    border-color: green;
}

.menu
{
    font-family: sans-serif;
    background: yellow;
    padding: 5px;;
    width: 500px;
    z-index: 100;
    position: fixed;
    right: 0px;
    top: 0px;
}

.scrollmenu
{
    background-color: #333333;
    overflow: auto;
    /* grid-template-rows: minmax(16px, 1fr); */
    grid-template-rows: minmax(48px, 1fr);
    align-items: center; /* end */
}

.scrollmenu_tiles
{
    display: grid;
    grid-template-columns: repeat(100, calc(16px));
    
}

.scrollmenu_objects
{
    display: none;
    grid-template-columns: repeat(100, calc(32px));
}

.scrollmenu_objects_bigger
{
    display: none;
    grid-template-columns: repeat(100, calc(64px));
}

.menu a, 
.menu h3
{
    font-size: 0.9em;
    display: block;
    margin: 0 0.5em;
    color: white;
}

.single_tile
{
    width: 16px;
    height: 16px;
    float: left;
    position: relative;
}

.resize
{
    overflow: auto;
    overflow: hidden;
    overflow-y: hidden;
}

.background
{
    background-position: bottom left;
    width: 4992px;
    height: 432px;
    
    background-repeat: repeat;
    background-image: url("./game_styles/smw/background/ground.png"); /* ./files/game_styles/smw/background/ground.png */
    z-index: -1000;
    border: 1px solid white;
}

.tile
{
    cursor: grab; /*grab cursor*/
}

.object_fireball
{
    width: 54px;
    height: 9px;
    position: relative;
    top: 4px;
    left: 4px;
    background-repeat: repeat-x;
}

div.objects.gamestyle_smb .object_fireball
{
    background-image: url("./game_styles/smb/objects/fireball.gif");
}

div.objects.gamestyle_smb2 .object_fireball
{
    background-image: url("./game_styles/smb2/objects/fireball.gif");
}

div.objects.gamestyle_smb3 .object_fireball
{
    background-image: url("./game_styles/smb3/objects/fireball.gif");
}

div.objects.gamestyle_smw .object_fireball
{
    background-image: url("./game_styles/smw/objects/fireball.gif");
}

div.objects.gamestyle_secret .object_fireball
{
    background-image: url("./game_styles/secret/objects/fireball.gif");
}




.dev_header
{
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.dev_version
{
    color: red;
    font-style: italic;
}



/* Spoiler Hide Code */
.spoiler .spoiler_body
{
    display: none;
}
.spoiler.spoiler.open .spoiler_body
{
    display: block;
}
.spoiler .spoiler_header:before
{
    content: "[Open +] ";
}
.spoiler.open .spoiler_header:before
{
    content: "[Close -] ";
}
.spoiler_header
{
    cursor: pointer;
    color: green;
}
.spoiler_header:hover
{
    text-decoration: underline;
}