.modal {
    position: fixed;
    display: none;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 5vw;
    z-index: 1000000;
}

.modal .flexbox {
    display: flex !important;
}

.modal .flexbox--vertical {
    align-items: center;
    justify-content: space-between;
}

.modal .modal__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 27, 38, 0.3);
}

.modal .modal__content {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    height: fit-content;
    width: 90vw;
    max-height: 90vh;
    max-width: 600px;
    overflow: auto;
    margin: auto;
    border-radius: 5px;
    background: #fff;
}

.modal .modal__content .heading {
    padding: 20px;
    background: #f5f5f5;
}

.modal .modal__content .heading h2 {
    margin: 0;
    font-weight: bold;
    text-transform: none;
}

.modal .modal__content .heading h2 i {
    margin-right: 5px;
    color: #cf3c3f;
}

.modal .modal__content .heading .close {
    width: auto;
    margin: 0;
    margin-left: 10px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #330072;
}

.modal .modal__content .heading .close i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    vertical-align: bottom;
    font-weight: normal;
    transform: translateY(4%);
    color: white;
}


.modal .modal__content .content {
    padding: 20px;
}

.modal .modal__content .button {
    float: right;
    margin: 20px;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: normal;
    color: #fff;
    background: #330072;
}