@font-face {
    font-family: 'hmossans';
    src: url('/resource/ttf/HarmonyOS_Sans_Light.ttf') format('truetype');
}

/* 基本样式 */
body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

* {
    font-family: hmosssans, sans-serif;
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.logo {
    height: 50px;
}

#banner {
    background-image: url(/resource/photo/background.png);
    background-size: cover;
    background-position: left center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.animated-text {
    /* 初始状态 */
    width: 200px;
    /* 设置元素的固定宽度 */
    height: auto;
    position: relative;
    /* 添加定位以便动画生效 */
    display: inline-block;
}

/* 主要内容区域样式 */
main {
    margin: 20px;
    text-align: center;
}


/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.button:hover {
    background-color: #0056b3;
}

/* 介绍部分样式 */
#introduction {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: 'hmossans', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

/* 头部样式 */

/* 标题样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    margin-bottom: 10px;
}

h1 {
    font-size: 48px;
    line-height: 1.3;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    line-height: 1.5;
}

h4 {
    font-size: 18px;
    line-height: 1.5;
}

h5 {
    font-size: 16px;
    line-height: 1.5;
}

h6 {
    font-size: 14px;
    line-height: 1.5;
}

/* 段落样式 */
p {
    font-size: 16px;
    line-height: 1.5;
}

.left-align {
    text-align: left;
}


/* 链接样式 */
.links a {
    color: #333;
    text-decoration: underline;
}

/* 按钮样式 */
.button {
    display: inline-block;
    background-color: #0078d4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #005a9e;
}

/* 输入框样式 */
.input-field {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.input-field input {
    flex-grow: 1;
    padding: 5px;
    font-size: 16px;
}

.input-field button {
    background-color: #0078d4;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-field button:hover {
    background-color: #005a9e;
}

/* 新闻样式 */
#news {
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.news-article {
    width: 45%;
    margin: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 新闻自适应 */
@media screen and (max-width: 480px) {
    #news {
        padding: 0px;
    }

    .news-article {
        width: 100%;
    }
}

.news-article img {
    width: 100%;
    height: auto;
}

.news-content {
    padding: 20px;
}

#news h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

#news ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#news li {
    width: calc(33.33% - 10px);
    margin-bottom: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

#news img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#news h3 {
    font-size: 34px;
    padding: 10px;
    margin: 0;
}

#news p {
    font-size: 18px;
    padding: 10px;
    margin: 0;
    color: #333;
}

/* 底部样式... */
footer {
    background-color: #333;
    padding: 20px;
    color: #fff;
    font-size: 14px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 150px;
}

.links h3 {
    margin-bottom: 10px;
    font-family: 'hmossans', sans-serif;
}

.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links li {
    margin-bottom: 5px;
}

.links a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
}

.license a {
    color: #fff;
    text-decoration: none;
}

            iframe {
                border: none;
                width: 100%;
                height: 100vh;
                display: flex;
                justify-content: center;
                align-items: center;
            }