.popup-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: fit-content;
    max-width: calc(100% - 32px);
    height: fit-content;
    max-height: 50vh;
    background: white;
    z-index: 999;
    border-color: #009EE2;
    border-style: dashed;
    border-radius: 10px 0px 10px 10px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.popup-animation-show {
    animation: popup 1s forwards;
}

.popup-animation-hide {
    animation: popdown 1s forwards;
}

.popup-image {
    max-height: calc(50vh - 32px);
    object-fit: contain;
}

.popup-button {
    position: absolute;
    top: -16px;
    right: -16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #E5007D;
    padding: 8px;
    width: 50px;
    height: 45px;
    max-height: 45px;
    cursor: pointer;
    border-radius: 40px 0px 40px 40px;
    z-index: 1000;
}

.popup-button:hover {
    transition: all 225ms ease-in-out;
    background: #a71059;
}

.popup-button::before,
.popup-button::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: white;
}

.popup-button::before {
    transform: rotate(45deg);
}

.popup-button::after {
    transform: rotate(-45deg);
}

button {
    position: absolute;
    bottom: 8px;
    right: 8px;
}

@keyframes popup {
    0% {
        bottom: -50vh;
    }

    100% {
        bottom: 16px;
    }
}

@keyframes popdown {
    0% {
        bottom: 16px;
    }

    100% {
        bottom: -50vh;
    }
}