/* 样式表: contact.css */

body {
    font-family: Arial, sans-serif; /* 设置字体 */
    background-color: #f4f4f9; /* 背景颜色 */
    color: #333; /* 默认文本颜色 */
    margin: 0;
    padding: 0;
}
p {
    font-size: 18px; /* 设置段落字体大小 */
}
.red-text {
    color: red;
    font-size: 22px; /* 设置字体大小 */
}
.navbar {
    display: flex; /* 使用flex布局 */
    flex-wrap: wrap; /* 允许项目换行 */
    background-color: #1e90ff; /* 蓝色背景 */
    padding: 10px 0; /* 内边距 */
}
.navbar a {
    color: white; /* 链接颜色 */
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s; /* 背景颜色过渡效果 */
    font-size: 18px; /* 设置字体大小 */
}
.navbar a:hover {
    background-color: #575757; /* 悬停时的背景颜色 */
}
.centered-text {
    font-size: 12px; /* 设置字体大小 */
    text-align: center; /* 文本水平居中 */
    color: #666; /* 设置字体颜色 */
    margin: 30px 20px;
}
.top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    text-decoration: none; /* 去掉下划线 */
    color: #1e90ff; /* 设置链接颜色 */
    font-weight: bold; /* 设置字体加粗 */
    background-color: #f0f0f0; /* 设置背景颜色 */
    padding: 10px; /* 设置内边距 */
    border-radius: 5px; /* 设置圆角 */
    transition: background-color 0.3s; /* 背景颜色过渡效果 */
}
.top-right:hover {
    background-color: #e0e0e0; /* 设置悬停时的背景颜色 */
}
h1 {
    color: #1e90ff; /* 标题颜色 */
    font-size: 56px; /* 标题字体大小 */
    margin: 20px 0; /* 标题外边距 */
}
p {
    line-height: 1.6; /* 行高 */
    margin: 20px; /* 段落外边距 */
}
.container {
    max-width: 1200px; /* 最大宽度 */
    margin: 0 auto; /* 居中对齐 */
    padding: 0 20px; /* 内边距 */
}
.centered-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
