@font-face {
    font-family: 'mc';
    src: url('/assets/village/mc.otf');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url("/assets/village/bedrock.webp");
}

.container {
    background-color: #03002e;
    user-select: none;
    position: relative;
    height: 1333px;
    width: 3840px;
}

.entity, .object {
    position: absolute;
    line-height: 0px;
}

.object {
    pointer-events: none;
}

.nametag {
    position: absolute;
    height: 32px;
    line-height: 32px;
    font-family: mc;
    font-size: 28px;
    background-color: rgba(0, 0, 0, .84);
    color: white;
    padding: 0 3px;
    display: none;
    text-align: center;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%);
    top: -35px;
    white-space: nowrap;
}

.shadow {
    position: absolute;
    height: 58px;
    bottom: -10px;
    transform: translateX(-50%);
    left: 50%;
    z-index: -1;
    pointer-events: none;
}

.entity .character:hover + .nametag {
    display: inline-block;
}

.radio img:hover {
    cursor: pointer;
}

.playing {
    animation: playing 1s infinite;
}

@keyframes playing {
    0% { height: 150px; width: 192.8px; }
    50% { height: 100px; width: 192.8px; }
    100% { height: 150px; width: 192.8px; }
}

audio {
    display: none;
}
