@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'NewF';
    src: url('YeZiGongChangZhaoPaiTi-2.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

a {
    text-decoration: none !important;
}

.logo { 
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-height: 500vh;
    margin-bottom: 50px;
    background-image: url("CroBg.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%; /* 改为百分比宽度 */
    max-width: 900px; /* 添加最大宽度限制 */
    height: auto; /* 高度自适应 */
    min-height: 450px; /* 最小高度 */
    margin: 20px auto; /* 增加上下边距 */
    padding: 20px; /* 添加内边距 */
    
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

footer {
    position: fixed; /* 改为fixed定位 */
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    padding: 10px 0;
    background-color: rgba(0,0,0,0.5); /* 添加半透明背景 */
}

/* 添加媒体查询适配手机 */
@media (max-width: 768px) {
    .logo {
        height: 150px;
    }
    
    .logo img {
        width: 180px;
        height: auto;
    }
    
    .image-button {
        width: 180px !important;
        height: 55px !important;
        font-size: 30px !important;
        margin: 0 10px !important;
    }
}