.pure-modal {
    align-items: center;
    background: rgba(0, 0, 0, .75);
    bottom: 0;
    display: flex;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .25s ease;
    visibility: hidden;
    z-index: 9000;
    flex-direction: column;
    justify-content: space-around;
}

.pure-modal__inner {
    background: #fff;
    display: flex;
    height: 100%;
    margin: auto;
    min-height: 100%;
    min-width: 100vw;
    overflow: auto;
    padding: 1em 2em;
    width: 100vw;
    position: relative;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .pure-modal__inner {
        border-radius: 5px;
        height: auto;
        width: auto;
        max-height: 550px;
        max-width: 330px;
        min-width: auto;
        min-height: auto;
    }
}

@media (orientation: landscape) and (max-width: 900px) {
    .pure-modal__inner {
        height: 100%;
        min-height: 100%;
        min-width: 100%;
        width: 100%;
        align-items: center;
    }
}


.pure-modal__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
}

.pure-modal-state {
    display: none;
}

.pure-modal-state:checked + .pure-modal {
    opacity: 1;
    visibility: visible;
}

.pure-modal__close {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 9999;
}

.pure-modal__close:after {
    content: "\f057";
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font: var(--fa-font-solid);
    color: #333;
    font-size: 26px;
    cursor: pointer;
    width: 25px;
    height: 25px;
}
