/**
 * Mudora Tracker
 *
 * Main CSS: mudora.css
 *
 * Author: Alex Lilly
 *
 * (c) 2025 W&W Studios
 */

@font-face {
    font-family: 'ReturnOfGanon';
    src: url('/fonts/ReturnOfGanon.ttf') format('truetype');
}

@font-face {
    font-family: 'NesFont';
    src: url('/fonts/nintendo-nes-font.ttf') format('truetype');
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'ReturnOfGanon', sans-serif;
    background-color: #333;
    color: #fff;
    height: 100vh;
    width: 100vw;
    margin: 0;
}

a, a:visited, a:active {
    color: #fff;
}

footer {
    font-family: Arial, sans-serif;
    position: absolute;
    width: 100vw;
    bottom: 5px;
    font-size: 10px;
    text-align: center;
}

textarea, button {
    color: #ccc;
    background-color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#header {
    font-family: 'ReturnOfGanon';
    font-size: 24px;
    padding: 10px;
}

#menu {
    width: 100%;
    border: 1px solid transparent;
}

#menu li {
    list-style-type: none;
    border-radius: 5px;
    background-color: #666;
    float: left;
    margin: 10px;
    padding: 2px 10px;
    box-shadow: 2px;
    cursor: pointer;
}

#menu li.active {
    border: 2px solid #ccc;
    background-color: #333;
}

#mapwrapper {
    /* width: 864px;
    max-width: 864px;
    height: 864px; */
    width: 500px;
    max-width: 500px;
    height: 500px;
    margin-top: 50px;
    border: 1px solid red;
    position: relative;
}

#checks-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

#compass-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#checks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid purple;
}

#compass {
    position: absolute;
    top: 0;
    left: 0;
}

#map-tiles {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

#inventory ul {
    list-style-type: none;
}

#inventory ul.row li {
    display: inline;
}

#inventory img {
    filter: grayscale(1);
}

#inventory img.has-item {
    filter: grayscale(0);
}

#boomerang-wrapper {
    display: inline-block;
    position: relative;
    width: 32px;
    height: 32px;
}

#boomerang-blue {
    z-index: 0;
}

#boomerang-red {
    z-index: 1;
}

#bow-wrapper {
    display: inline-block;
    position: relative;
    width: 32px;
    height: 32px;
}

#arrows-silver {
    z-index: 2;
}

#arrows-wooden {
    z-index: 1;
}

#item-bow {
    z-index: 0;
}

#autotracker {
    float: left;
}

#autotracker-log {
    width: 300px;
    height: 100px;
}

.arrow {
    position: absolute;
    top: 0;
    left: 0;
}

.autotracker-off {
    cursor: pointer;
    filter: grayscale(1);
}

.autotracker-on {
    cursor: pointer;
    filter: grayscale(0);
}

.badge {
    text-align: center;
    padding: 1px 4px;
    position: absolute;
    bottom: -2px;
    right: -3px;
}

.badge-content {
    font-family: 'NesFont';
    font-weight: bold;
    font-size: 10px;
    vertical-align: baseline;
    color: #fff;
    opacity: 1;
    /* -webkit-text-stroke: 2px black;
    text-stroke: 1px black;
    paint-order: stroke fill; */
}

.boomerang {
    position: absolute;
    top: 0;
    left: 0;
}

.bottle:not(.has-item) {
    opacity: 0.5;
}

.center {
    text-align: center;
}

.map-tiles img {
    /* float: left; */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.small-maptiles {
    float: left;
    margin: 0;
    padding: 0;
    width: 96px;
    max-width: 96px;
}

.map-tiles img.small {
    width: 96px !important;
    height: 96px !important;
}

.map-container {
    max-width: 100%;
    position: absolute;
    z-index: -1;
}

.hidden {
    display: none;
}

.inv-wrapper {
    position: relative;
    display: inline-block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}