.modal {
    background-color: rgba(0, 0, 0, .75);
    bottom: 0;
    display: flex;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 10000000000;
}

.modal-content {
    background-color: #fff;
    border-radius: 5px;
    flex: 1;
    margin: auto;
    max-width: 600px;
    position: relative;
    width: auto;
}

.modal.modal__show {
    opacity: 1;
    transition: .2s;
    visibility: visible;
}

.modal-close {
    cursor: pointer;
    font-weight: 700;
    position: absolute;
    right: 15px;
    top: 15px;
}

.modal-header {
    border-bottom: 1px solid #ddd;
    font-size: 1.5em;
    font-weight: 700;
    padding: 10px;
}

