body {
    background: #0a0a0a;
    height: 100%;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    margin: 0;
    user-select: none;
}

html {
    height: 100%;
}

.mapContainer {
    height: calc(100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main, .map {
    height: 100%;
    position: relative;
    z-index: 1;
}

.main {
    width: 100%;
}

.map > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: auto;
    z-index: 1;
}

.clusterSelection {
    border-radius: 50%;
    background: #2a56e9;
    width: 500px;
    height: 500px;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%) scale(1);
    cursor: pointer;
    transition: 0.4s opacity;
    z-index: 6;
    opacity: 1;
}

.webkit .clusterSelection {
    width: 50px;
    height: 50px;
}

.main.active .clusterSelection {
    opacity: 0;
}

.logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: auto;
    padding: 10px;
    background: #1b1b1b;
    clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 50px 100%);
    border-bottom: 3px solid #2a56e9;
    z-index: 10;
}

.bellowLogo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #2a56e9;
    z-index: 9;
}

.logo img {
    width: 250px;
    transform: translateZ(0);
}

.map {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    --top: 0;
    --left: 0;
    --scale: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(-50%, -50%, 0) scale3d(var(--scale), var(--scale), 1) translate3d(var(--left), var(--top), 0);
    image-rendering: -webkit-optimize-contrast;
    will-change: transform, contents;
}

.active .map {
    cursor: pointer;
}

.loaded .map {
    transition: 1s transform, 1s top, 1s left;
}

.finished .map {
    transition: 0.3s transform ease-out;
}

.parcels {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: translate(-50%, -50%);
    will-change: contents;
}

.active .parcels {
    z-index: 7;
}

.parcel {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, 50%) scale(1);
    cursor: pointer;
    z-index: 2;
    border: 1px solid #c4c2c7;
    background: white;
    transition: 0.3s box-shadow;
}

.parcel:hover {
    box-shadow: 0 0 20px 10px #2a56e9;
    z-index: 4;
}

.parcel.active {
    box-shadow: 0 0 10px 10px #2a56e9;
    z-index: 3;
}

.arrowButtons {
    position: absolute;
    left: 0;
    bottom: 25px;
    width: 235px;
    height: 140px;
    z-index: 6;
    user-select: none;
}

.arrowButtons > div {
    background: white;
    width: 65px;
    height: 65px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    display: none;
    transition: 0.2s opacity;
}

.active .arrowButtons > div {
    display: block;
    opacity: 0.7;
    border: 1px solid black;
}


.active .arrowButtons > div:hover {
    opacity: 0.85;
}

.active .arrowButtons > div.tap {
    opacity: 1;
    transition: 0s opacity;
}

.arrowButtons span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.arrowButtons .u {
    top: 0;
    left: calc(50% + 5px);
    transform: translateX(-50%) rotate(90deg);
}

.arrowButtons .d {
    bottom: 0;
    left: calc(50% + 5px);
    transform: translateX(-50%) rotate(-90deg);
}

.arrowButtons .l {
    left: 10px;
    bottom: 0;
}

.arrowButtons .r {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.arrowButtons .e {
    top: -10px;
    left: 10px;
    transform: translateY(-100%);
}

.arrowButtons .p {
    top: -10px;
    left: calc(50% + 5px);
    transform: translateY(-100%) translateX(-50%);
}

.arrowButtons .m {
    top: -10px;
    right: 0;
    transform: translateY(-100%);
}

.nftInfo {
    position: absolute;
    top: 100px;
    right: 0;
    clip-path: polygon(0 20px, 20px 0, 100% 0, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    width: 300px;
    border: 3px solid #2a56e9;
    border-right: none;
    background: #1a1a1a;
    z-index: 99;
    padding: 15px;
    text-align: center;
    transform: translateX(100%);
    transition: 0.5s transform;
    will-change: transform;
}

.nftInfo.active {
    transform: translateX(0);
}

td {
    width: 50%;
}

table {
    text-align: left;
    width: 100%;
}

.nftInfo img {
    width: 50px;
    border-radius: 50%;
    margin-top: 10px;
    transition: 0.3s filter;
    will-change: filter;
}

.nftInfo img:hover {
    filter: drop-shadow(0 0 10px #2a56e9);
}

.chunk {
    display: none;
    position: absolute;
    transform: translate(-50%, 50%);
    z-index: 1;
}

.search {
    position: absolute;
    top: 100px;
    left: 0;
    background: #1a1a1a;
    border: 3px solid #2a56e9;
    padding: 20px;
    z-index: 98;
    width: 300px;
    border-left: none;
    transition: 0.5s transform;
    transform: translateX(-100%);
}

.search.active {
    transform: translateX(0)
}

.search.hide {
    transform: translateX(calc(-100% - 53px));
}

.search input, .search select {
    outline: 0;
    padding: 7px;
    background: #2a2a2a;
    border: 1px solid lightgrey;
    color: white;
    width: 100%;
    text-align: center;
    user-select: auto;
}

.search input {
    width: calc(100% / 2 - 20px);
    margin: 10px;
}

button {
    padding: 7px 15px;
    background: #2a56e9;
    color: white;
    font-weight: bold;
    border: none;
    outline: 0;
    transition: 0.3s background;
}

button:hover {
    background: #2346c3;
}

.searchButton {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border: 3px solid #2a56e9;
    position: absolute;
    right: 0;
    top: 20px;
    border-left: none;
    transform: translateX(100%);
    cursor: pointer;
}

.searchButton svg {
    position: absolute;
    fill: white;
    top: 50%;
    left: 50%;
    height: 25px;
    transform: translate(-50%, -50%);
    transition: 0.3s filter;
}

.searchButton:hover svg {
    filter: drop-shadow(0 0 10px white);
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.webkit .chunk {
    transform: translate(-50%, 50%) scale(0.1);
}

.webkit .finished {
    transform: translate3d(0, 0, 0);
    -webkit-filter: blur(0);
}

.chunk img {
    width: 100%;
}

.legendHolder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.legend {
    border: 3px solid #2a56e9;
    background: #1a1a1a;
    color: white;
    padding: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    max-width: calc(100% - 20px);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
}

.close {
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: 0.3s color;
    user-select: none;
}

.close:hover {
    color: red;
}

.legend > div {
    margin-top: 15px;
}

.legend > div > div {
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-right: 25px;
    transform: translateY(25%);
}

.cs {
    background: #2a56e9;
    border-radius: 50%;
}

.na {
    border: 1px solid grey;
    background: #a4a4a4;
}

.so {
    background: white;
    border: 1px solid grey;
}

.lis {
    background: #1a92e1;
    border: 1px solid grey;
}

.sel {
    background: #1a1a1a;
    box-shadow: 0 0 10px 5px #2a56e9;
}

.legend > div > div.buc {
    height: 3px;
    background: #782af3;
}

.legendButton {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 15px;
    font-weight: bold;
    font-size: 40px;
    color: white;
    z-index: 99;
    transition: 0.3s text-shadow;
}

.legendButton:hover {
    text-shadow: 0 0 10px #2a56e9, 0 0 10px #2a56e9;
}

.stats {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    background: #1a1a1a;
    border: 3px solid #2a56e9;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%, 0 20px);
    max-width: 100%;
    min-width: fit-content;
    padding: 15px;
    border-bottom: none;
    color: white;
    z-index: 99;
    line-break: anywhere;
    transition: 0.5s transform;
    text-align: center;
    user-select: auto;
}

.stats.active {
    transform: translate(-50%, 0);
}

.stats > div:not(:last-of-type) {
    margin-right: 20px;
}

.stats > div {
    white-space: nowrap;
    display: inline-block;
}

.bucketLine {
    position: absolute;
    background: #782af3;
    height: 5px;
    width: 42px;
    z-index: 4;
    transform-origin: left;
}

.bucketS {
    box-shadow: 0 0 10px 10px yellow;
    background: yellow !important;
    z-index: 3;
}

.bucS {
    box-shadow: 0 0 10px 5px yellow;
    background: yellow;
}