@font-face {
    font-family: 'Minecraft';
    src: url('res/minecraft.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: 'Minecraft', Arial, sans-serif;
    user-select: none;
    overflow: hidden;
    background-color: black;
}

#mapContainer {
    /*position: absolute;*/
    cursor: grab;
    z-index: -100;
}

.tile {
    position: absolute;
    width: 256px;
    height: 256px;
    background-size: cover;
    pointer-events: none;
    z-index: -100;
}

#coords {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: aliceblue;
}

.button {
    display: block;
    font-family: 'Minecraft';
    font-size: 14px;
    background-color: #00000020;
    border: transparent;
    cursor: pointer;
    padding: 0;
    border-radius: 5px;
    aspect-ratio: 1 / 1;
    width: 20px;
}

.button:hover {
    background-color: #00000030;
}

.button:active {
    background-color: #00000040;
}

.button > span {
    position: relative;
    left: 1px;
    top: 1px;
}

#infoCloseButtonContainer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

#infoCloseButton {
    position: relative;
}

#infoWindow {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
}

.info-span-row {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    line-height: 1;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* .info-span-row.color > .info-span.right {
    display: flex;
    flex-direction: row;
} */

.info-span.right {
    /* display: flex;
    width: 100%; 
    justify-content: flex-end; */
    user-select: all;
    word-break: break-all;
}

.info-span.left {
    width: 90px;
    margin-right: 10px;
    flex-shrink: 0;
    font-weight: bold;
}

.color-square {
    width: 12px;
    height: 12px;
    display: inline-block;
    overflow-clip-margin: content-box;
    overflow: clip;
    margin-right: 2px;
    border: 2px solid black
}

.owner-face {
    image-rendering: pixelated;
    margin-right: 2px;
}

.info-span > span {
    font-size: 12px;
    /* text-align: right; */
}

.info-span.right > span {
    background-color: #00002020;
}

.info-container {
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #00002020;
    border-radius: 5px;
}

.info-container > .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 5px;
}

.info-container > .title > span {
    text-align: center;
}

.white-background {
    /* max-width: 150px; */
    /* width: 120px; */
    /* height: 100px; */
    border-radius: 10px;
    background-color: #efefff;
    padding: 10px 10px;
}

#layerContainer {
    position: absolute;
    top: 10px;
    right: 10px;
}

#infoBackground {
    /*display: none;*/
    position: absolute;
    top: 10px;
    left: 10px;


    width: 250px;
    /* height: 300px; */
}

.grid-params {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: aliceblue;
}

button.zoom {
    font-size: 16px;
    font-weight: bold;
}

#zoomContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    bottom: 0px;
}

#zoomControls {
    position: fixed;
    bottom: 20px;
    /* right: 20px;  */
}

#zoomSlider {
    width: 100px;
}

#zoomLevel {
    color: black;
}

.banner {
    image-rendering: pixelated;
    cursor: pointer;
}

.banner:hover {
    background: rgb(150, 150, 150, 0.5);
    box-shadow: 0 0 10px rgba(150, 150, 150, 0.5), 0 0 20px rgba(255, 255, 255, 0.5);
}

.banner:active {
    transform: scale(0.9)
}

.banner-text {
    position: absolute;
    color: white;
    background-color: black;
    display: none;
    z-index: 1;
}

.region-text {
    position: absolute;
    color: white;
    background-color: black;
    display: none;
    z-index: 1;
    text-align: center;
}