* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: monospace;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s;
    user-select: none;
}

p {
    font-size: 1vw;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #e1dedc;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 1em 1em;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

nav a {
    /* position: absolute; */
    padding: .25em 1em;
    display: flex;
    will-change: transform;
    mix-blend-mode: difference;
    z-index: 2;
    flex-direction: row;
    color: #000;
    font-size: 1vw;
    text-decoration: none;
}

.site-info {
    position: absolute;
    top: 50%;
    left: 3em;
    display: flex;
    gap: 4px;
}

.site-info p span {
    color: #9a9994;
}

.img-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 75%;
    overflow: hidden;
}

.img-preview img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.minimap {
    position: absolute;
    top: 50%;
    right: 8em;
    width: 80px;
}

.indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border: 1px solid rgb(0, 0, 0);
    z-index: 2;
}

.items {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    will-change: transform;
}

.item {
    width: 100%;
    height: 60px;
    padding: 5px;
    cursor: pointer;
}

@media(max-width: 900px) {
    body {
        overflow: hidden;
        touch-action: none;
    }

    container {
        touch-action: none;
    }

    .site-info {
        top: 1.5em;
        left: 50%;
        transform: translateX((-50%));
    }
    .minimap {
        top: auto;
        right: auto;
        bottom: 5em;
        left: 50%;
        width: auto;
        height: 80px;
        touch-action: none;
    }

    .indicator {
        top: 0;
        left: 0;
        width: 60px;
        height: 100%;
    }

    .items {
        flex-direction: row;
        width: max-content;
        height: 100%;
        touch-action: none;
    }

    .item {
        width: 60px;
        height: 100%;
        padding: 5px;
    }

    .img-preview {
        top: 45%;
        width: 75%;
        height: 50%;
    }
}