.xmas-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 88888;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

main.has-modal > .xmas-modal {
        opacity: 1;
        pointer-events: auto;
}

main.has-modal > .xmas-modal > .xmas-content {
    pointer-events: auto;
}

main.has-modal > .xmas-modal > .xmas-wrapper {
    display: flex;
}

.xmas-close {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    font-size: 25px;
    transition: 0.3s ease-in-out;
    margin-left: auto;
    background-color: var(--primary);
    border-radius: 10px;
    padding: 20px;
    align-items: center;
    color: white;
    position: relative;
    z-index: 2;
    transform: translateX(50%) translateY(50%);
    transition: all .4s ease-in-out;
}

.xmas-close:hover {
    transform: scale(1.2) translateX(18px) translateY(18px);
    cursor: pointer;
}

.xmas-back-none {
    pointer-events: none !important;
}

.xmas-none {
    opacity: 0;
    pointer-events: none;
}

.xmas-content {
    position: relative;
    z-index: 99999;
    max-width: 750px;
    padding-left: 20px;
    padding-right: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.modal-content-inside > img {
    max-height: 80vh;
    object-fit: contain;
    object-position: top;
}

.xmas-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    display: none;
}