.overlay {
    position: fixed;
    z-index: 5;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
    display: none;
}
.overlay.active {
    display: block;
}
.overlay .flex-popup {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay .flex-popup .pop-up {
    position: relative;
    background-color: #fff;
    padding: 35px 25px;
    margin: 0 10px;
    max-width: 450px;
    overflow: auto;
}
.pop-up a {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}