.popup_three{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    display: none;
}
.popup_three_bg{
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0,0.8);
}
.popup_three_cont {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 5px;
    background: #fff;
    transform: translate(-50%, -50%) scale(0); /* 初始状态：完全缩小 */
    box-shadow: 0px 0px 4px #666;
    animation: popupScale 0.3s forwards; /* 使用forwards保持动画结束状态 */
    transform-origin: center; /* 确保从中心缩放 */
}
@keyframes popupScale {
    from {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0; /* 可选：添加淡入效果 */
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
.popup_three_cont h3{
    text-align: center;
    font-size: 20px;
    line-height: 25px;
}
.popup_three_cont p{
    font-size: 15px;
    line-height: 20px;
    padding: 20px 0px;
}
.popup_three_buts{
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.popup_three_buts button{
    width: 120px;
    height: 50px;
    border: 0px;
    cursor: pointer;
    border-radius: 5px;
    color: #ddd;
    background: var(--two-color);   
}
.popup_three_buts button:hover{
    color: #fff;
    background: var(--one-color);   
}
.popup_three_buts button:active{
    transform: scale(0.98);
}
/*0~768px*/
@media (max-width: 768px){
    .popup_three_cont {
        width: 60%;
        padding: 30px;
    }
}
/*768<X<1200*/
@media(min-width:769px) and (max-width:1199px){
    .popup_three_cont {
        padding: 40px;
        width: 300px;
    }
}
/*>1200*/
@media (min-width: 1200px){
    .popup_three_cont {
        padding: 40px;
        width: 350px;
    }
}