/* ****** */
/* 弹窗 (background) */
.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}
.modal-header h2{
    font-size: 1.3rem;
}

/* 弹窗内容 */
.modal-content {
    max-width: 1200px;
    position: relative;
    background-color: #fefefe;
    cursor: pointer;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 1px solid #888;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* 添加动画 */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 50%;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 50%;
        opacity: 1
    }
}

/* 关闭按钮 */
.close {
    color: white;
    font-size: 1.75rem;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {

    padding: 0.625rem 0.9735rem;
    background-color: #0084ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    height: 100%;
    width: 100%;
}