body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.header {
background-image: url(header_image.jpg);
background-size: cover;
background-position: center;
height: 500px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
}
.header h1 {
font-size: 48px;
margin-bottom: 20px;
}
.header p {
font-size: 24px;
}
.navbar {
background-color: #333;
color: #fff;
display: flex;
justify-content: space-between;
padding: 20px;
}
.navbar a {
text-decoration: none;
color: #fff;
margin-left: 10px;
margin-right: 10px;
}
.main-content {
padding: 50px;
}
.main-content h2 {
font-size: 36px;
margin-bottom: 20px;
}
.main-content p {
font-size: 18px;
line-height: 1.5;
margin-bottom: 15px;
}
.main-content img {
max-width: 100%;
margin-bottom: 30px;
}
.footer {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
.footer p {
margin: 0;
}
网友评论