.lockLabel {
    margin-top: 6px;
    font-family: "NuniPixel";
    font-size: 12px;
    color: white;
    background: rgba(0, 0, 0, .45);
    padding: 3px 6px;
    border-radius: 4px;
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.popup-content {
    position: relative;
    width: 520px;
    min-height: 360px;
    padding: 70px 65px;
    background-image: url("../assets/items/map.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: #3b2415;
    font-family: Georgia, serif;
    text-align: center;
}

.popup-content h1 {
    margin: 0 0 12px;
    font-size: 34px;
}

.popup-content h3 {
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: normal;
}

.popup-content p {
    font-size: 23px;
    line-height: 1.6;
}

#closePopup {
    position: absolute;
    top: 28px;
    right: 35px;
    border: none;
    background: transparent;
    font-size: 34px;
    cursor: pointer;
    color: #3b2415;
}

.before,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
    opacity: .85;
}

.before:hover,
.next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.before {
    left: -120px;
}

.next {
    right: -120px;
}

.before img,
.next img {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    user-select: none;
    pointer-events: none;
}
.popup {
    opacity: 1;
    transition: opacity 0.25s ease;
}

.popup.hidden {
    display: none;
}

.popup.closing {
    opacity: 0;
}

.popup-content {
    animation: popupIn 0.45s cubic-bezier(.2, 1.4, .4, 1);
}

.popup.closing .popup-content {
    animation: popupOut 0.25s ease forwards;
}

@keyframes popupIn {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.85);
    }

    70% {
        opacity: 1;
        transform: translateY(-12px) scale(1.04);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes popupOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
}