﻿.modal-container {
    display: flex;
    width: 80vw;
    height: 55.6vw;
    background: url(../images3/tishi.png) no-repeat;
    background-size: 100% 100%;
    animation: modalFadeIn 0.3s;
    flex-direction: column;
    justify-content: space-evenly;
    padding-top: 8.846vw;
    box-sizing: border-box;
}

#modal {
    position: fixed;
    z-index: 9999999999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.close-modal {
    width: 4vw;
    cursor: pointer;
    position: absolute;
    right: 3.5vw;
    top: 10.5vw;
}

.modal-header h3 {
    font-family: iFontszhounianti;
    font-size: 6.3vw;
    text-shadow:
        -.4vw -.4vw 0 #fff,
        .4vw -.4vw 0 #fff,
        -.4vw .4vw 0 #fff,
        .4vw .4vw 0 #fff;
    font-style: italic;
    line-height: 5.3vw;
    letter-spacing: 0vw;
    color: #123487;
    text-align: center;
}

.modal-body {
    padding: 0 2.564vw;
    text-align: center;
    font-family: SourceHanSansCN-Bold;
    font-size: 3.2vw;
    line-height: 5.3vw;
    letter-spacing: 0.2vw;
    color: #ffffff;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.modal-footer div {
    cursor: pointer;
    text-align: center;
    width: 30.6vw;
    height: 8vw;
    background-image: linear-gradient(90deg,
            #000993 0%,
            #4650f0 100%);
    border-radius: 4vw;
    font-family: SourceHanSansCN-Bold;
    font-size: 4vw;
    line-height: 8vw;
    letter-spacing: 1vw;
    color: #ffffff;
    border: none;
}

/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* 弹窗容器 */

/* 动画效果 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5.128vw);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配
@media (max-width: 153.846vw) {
    .modal-container {
        width: 95%;
    }
} */