.hidden {
    display: none!important;
    visibility: hidden!important;
    height: 0!important;
    width: 0!important;
    margin: 0!important;
    padding: 0!important;
}

body.upwc-modal-active {
    overflow: hidden;
}

.upwc-modal.hidden {
    display: none;
}

.upwc-modal {
    position: fixed;
    background-color: rgb(0 0 0 / 33%);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upwc-modal:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.upwc-modal > div {
    max-width: 600px;
    width: 80vw;
    position: absolute;
    padding: 2em 0.5em;
    background: white;
}

.upwc-modal > div > h2 {
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding-bottom: 0.25em;
    margin-bottom: 0.5em;
}

.upwc-modal > div > section {
    max-height: 60vh;
    overflow: auto;
    padding: 0 1.5em;
}

.upwc-modal header {
    font-weight: bold;
    padding: 0 1.5em;
    font-size: 0.80em;
}

.upwc-modal-close {
    color: #aaa;
    line-height: 50px;
    position: absolute;
    right: 1.5em;
    text-align: center;
    top: 0.25em;
    text-decoration: none;
    font-size:.875em
}

.upwc-modal-close:hover {
    color: black;
}

@media only screen and (max-width: 435px) {
    .upwc-modal {
        z-index: 99999;
    }

    .upwc-modal > div {
        width: 100%;
        height: 100%;
    }

    .upwc-modal > div > section {
        max-height: 80vh;
    }
}

@media only screen and (max-width: 375px) {

    .upwc-modal > div > section {
        padding: 0 1em;
        font-size: 0.95em;
    }
}

code.blur {
    color: transparent;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    user-select: none;
}