* {
    margin: 0;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex; 
    align-items: center;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
}
header h1 {
    color: azure;
    font-size: 40px;
    padding-left: 20px;
}

header::before {
    content: ""; /* 生成一个空元素用于显示背景图像 */
    background-image: url('images/11112.png');
    background-repeat: no-repeat;
    background-size: contain; /* 适应容器大小 */
    width: 50px; /* 图片宽度 */
    height: 50px; /* 图片高度 */
    margin-left: 4vw;
}
header a {
    color: azure;
    font-size:16px;
    text-decoration: none;
}
header a:hover {
    text-decoration: underline;
}
header li {
    display: inline;
    margin-right: 3vw;
}
header ul {
    position: absolute;
    right: 5vw;
}
.aa {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.aa {
    background-color: rgb(88, 115, 232);
    color: azure;
    height: 60vh;
    padding-top: 80px;
    background-image: url('images/11113.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.aa h2 {
    font-size: 50px;
    font-weight: bolder;
}
.aa p {
    font-size: 20px;
    font-weight: 0;
    font-family: 'Courier New', Courier, monospace;
}
.aa a {
    color: azure;
    font-size: 15px;
    font-weight: 10s0;
    text-decoration: none;
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}


.bb {
    display: flex;
}
.bb img {
    width: 50%;
}
.bbb {
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: center;
    justify-content: center;
    background-color: rgb(223, 223, 223);
}
.bbb p {
    font-size: 30px;
    font-weight: bold;
}


.cc {
    display: flex;
    max-width: 100%; /* 修改 */
    background-color: antiquewhite;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3vw;
}
.cc div {
    flex: 1;
    max-width: 100%; /* 修改为您需要的大小 */
    text-align: center;
    padding: 3vw;
}
.cc img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    aspect-ratio: 20/19; /* 将图像比例调整为20/19 */
    width: auto; /* 添加这一行以确保宽度根据比例调整 */
    height: auto; /* 添加这一行以确保高度根据比例调整 */
}
.words {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1em; /* 新增 */
    margin-left: auto; /* 新增 */
    margin-right: auto; /* 新增 */
    white-space: nowrap; /* 禁止标题换行 */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5vw;
}


footer {
    background-color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
.d1 p {
    color: aliceblue;
    font-size: 10px;
    padding-right: 20px;
}
.d2 p {
    color: aliceblue;
    font-size: 10px;
    padding-right: 20px;
}


.menu {
    display: none;
}
/* 響應式設計語法 */
@media screen and (max-width: 768px) {
    header ul {
        display: none;
    }
    header h1 {
        position: absolute;
        left: 50%;
        transform: translate(-54%);
    }
    
    .menu {
        display: block;
        background-color: transparent;
        width: 15px; /* 调整按钮宽度 */
        height: 20px; /* 调整按钮高度 */
        position: absolute;
        top: 30px;
        right: 30px;
        border: none;
        cursor: pointer;
    }
    
    .menu::before,
    .menu::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px; /* 调整线条厚度 */
        background-color: #ffffff; /* 调整线条颜色 */
        transition: all 0.3s ease; /* 添加过渡效果 */
    }
    
    .menu::before {
        top: 0;
    }
    
    .menu::after {
        bottom: 0;
    }
    
    /* 当按钮被激活时，调整线条样式 */
    .menu.active::before {
        transform: rotate(45deg);
        top: 50%;
    }
    
    .menu.active::after {
        transform: rotate(-45deg);
        bottom: 50%;
    }
    
    /* 中间的线条在激活时消失 */
    .menu.active::before,
    .menu.active::after {
        width: 0;
        transition: all 0.3s ease;
    }
}