.city {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Osaka_city_view_02.jpg/1200px-Osaka_city_view_02.jpg");
}

.destroyed-city {
    background-image: url("https://www.suedkurier.de/storage/image/2/8/4/1/12441482_shift-1200x0_1sDvWw_FxTg3P.jpg");
}

#popup {
    background-color: white;
    /* width: fit-content; */
    border: 5px solid grey;
    border-radius: 5px;
    padding: 1em;
    
}

#svg {
    background-color: white;
}

.absolute {
    position: absolute;
}

#background {
    background-color: gray;
    
}
.settings-number {
    width: 4em;
}

.centered {
    /* text-align: center; */
    display: flex;
    justify-content: center;
    align-items: center;
}

#info {
    transform: scale(2);
}

#board {
    user-select: none;
}



.tile-text {
    font: bold 10px sans-serif;
    fill: var(--text-color);
}

#tile-1{
    --text-color: blue;
}

#tile-2{
    --text-color: green;
}

#tile-3{
    --text-color: red;
}

#tile-4{
    --text-color: darkblue;
}

#tile-5{
    --text-color: darkred;
}

#tile-6{
    --text-color: rgb(43, 151, 140);
}

#tile-7{
    --text-color: black;
}

#tile-8{
    --text-color: rgb(117, 117, 117);
}

#maybe-tile {
    --text-color: rgb(117, 117, 117);
}

image, img {
    /*https://stackoverflow.com/questions/14068103/disable-antialising-when-scaling-images*/
    image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;          /* Firefox                        */
    image-rendering: -o-crisp-edges;            /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated;                 /* Universal support since 2021   */
    image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
}

.hidden {
    display: none;
}