/* 最外层容器，用于居中内容并留白 */
.outer-container {
    max-width: 1200px; /* 设置最大宽度，根据需要调整 */
    margin: 0 auto; /* 左右自动边距，用于居中 */
    padding: 20px; /* 左右内边距，用于创建内容和边缘的留白 */
}

/* 重置默认样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 120;
}

/* 头部样式 */
header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed; /* 使头部固定在顶部 */
    width: 100%; /* 使头部占满整个页面宽度 */
    top: 0; /* 确保头部在页面顶部 */
    z-index: 1000; /* 将头部置于其他元素之上 */
    display: flex; /* 使用 Flex 布局 */
    justify-content: space-between; /* 左右对齐 */
    align-items: center; /* 垂直居中对齐 */
}

/* 导航栏样式 */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* 左侧头部样式 */
.header-left {
    float: left;
}

/* 右侧头部样式 */
.header-right {
    float: right;
}

/* 内容区样式 */
.content {
    margin-top: 60px; /* 为头部留出足够的空间 */
    padding: 20px;
}

/* 页脚样式 */
footer {
    background-color: #f5f5f5;
    color: #333;
    padding: 10px 0;
    text-align: center;
    clear: both; /* 清除浮动，确保页脚不覆盖内容 */
}

/* 页脚链接样式 */
footer p {
    margin: 5px 10px;
    display: inline-block;
}
