.ui--modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 260ms 260ms ease-in-out;
}

@media screen and (max-width: 993px) {
    .ui--modal {
        padding: 24px;
        display: block;
    }
}

.ui--modal>div:first-child {
    position: relative;
    background: #fff;
    color: #575265;
    width: 100%;
    margin-top: 20px;
    min-width: 320px;
    max-width: 1000px;
    min-height: 320px;
    padding: 48px;
    box-shadow: 0px 15px 35px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.5);
    transition: all 260ms 0ms cubic-bezier(0.97, 0.33, 0, -.1)
}

@media (min-width:993px) {
    .ui--modal>div:first-child {
        margin-top: 48%
    }
}

.ui--modal .ui--close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2000;
}

.ui--modal p {
    margin-top: 0;
}

.ui--modal:target {
    opacity: 1;
    pointer-events: all;
    transition: all 260ms 0ms ease-in-out;
}

.ui--modal:target>div {
    opacity: 1;
    transform: scale(1);
    transition: all 200ms 300ms cubic-bezier(0.97, 0.33, 0, -.1);
}
