*{
    padding:0;
    margin:0;

}
body{
    background-color: rgba(188, 190, 159, 0.922);
    justify-content: center;  /* 水平居中 */
    align-items: center;      /* 垂直居中 */
    
}
h1, h4, p, blockquote {
    color: aliceblue;
}

/*border: 5px darkgray dashed;*/
header {
    background-color: rgba(167, 205, 152, 0.764);
    padding: 20px;
    text-align: center;
    background-image: url(微信图片_20251120211255_242_39-modified.png);
    background-position: 65% 50%;
    background-size:contain;
    background-repeat: no-repeat;
    position: relative;
}
/* 添加半透明遮罩调整整体透明度 */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(172, 219, 161, 0.38); /* 调整遮罩透明度 */
    z-index: 1;
}

/* 确保文字在遮罩上方 */
header h1,
header blockquote {
    position: relative;
    z-index: 2;
}

header h1 {
    color: #77745d;
    font-size: 2rem;
    margin-bottom: 10px;
}
header blockquote {
    color: #a53a3ac8;
    font-style: italic;
    font-size: 1rem;
    margin: 0;
}


main {
    padding: 20px;
    margin-bottom: 10px;
    background-image: url(400760.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.welcome {
    margin-top: 100px;
    margin-bottom: 50px;
    text-align: center;
    justify-content: center;

}
 
.welcome h4 {
    margin-bottom: 15px;
    text-shadow: 0 0 9px rgba(255, 255, 255, 0.8),
                 0 0 18px rgba(255, 255, 255, 0.6),
                 0 0 27px rgba(255, 255, 255, 0.4);
}

.welcome p {
    line-height: 1.6;
    background-color: #b0b0b079;
    border-radius: 8px;
}
.welcome h3{
    margin-top: 20px;
    color: #5c5743a2;
    text-shadow: 0 0 9px rgba(213, 213, 205, 0.8),
                 0 0 18px rgba(213, 213, 205, 0.6),
                 0 0 27px rgba(213, 213, 205, 0.4);
}
.lian {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    background-color: rgba(110, 143, 205, 0.344);
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 30px;
    padding-left: 50px;
    table-layout: auto;
    justify-content: center;
    border-radius: 8px;
}
.lian table{
    color: aliceblue;
    margin: 0 auto;
}
.lian tr{
    background-image: url(images/8202ba1024c4c1bcd21d60cc3664837e-modified.png);
    background-position: 0% 60%;
    background-size:contain;
    background-repeat: no-repeat;
    position: relative;
}


footer{
    text-align: center;
    margin: 10px 0;
}
        .link {
            text-decoration: none;
            color: rgba(158, 158, 158, 0.798);
            border: 2px solid rgba(103, 84, 56, 0.404);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 1.2rem;
            transition: all 0.1s;
            text-align: center;
            justify-content: center;    
            margin-bottom: 200px;
            color:#3f3a33;
            width: 30%;
            display: block;        /* 关键！必须是块级元素 */
            margin-left: auto;
            margin-right: auto;
        }
        .link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-color: #fff;
        }

footer p{
    color: #9eb6e9;
}
/* 响应式设计 适用于手机
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav a {
        display: block;
        width: 200px;
        text-align: center;
        margin-bottom: 10px;
    }*/