* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#game-container {
    position: absolute;
}

.ui-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2vh 2vw;
    pointer-events: none;
    z-index: 10;
}

.ui-left,
.ui-right,
.ui-center {
    display: flex;
    align-items: center;
    gap: 1vw;
    pointer-events: auto;
}

.ui-center {
    gap: 2em;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ui-button {
    background-color: transparent;
    margin: 0;
}

.ui-item {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1em;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

.icon {
    background-size: cover;
    height: clamp(32px, 8vw, 64px);
    cursor: pointer;
}

.icon.small {
    height: clamp(24px, 6vw, 48px);
}

@media (max-width: 600px) {
    .ui-container {
        padding: 1vh 2vw;
    }

    .ui-left,
    .ui-right {
        gap: 2vw;
    }
}