body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f7f1e3; /* 与设计图匹配的背景颜色 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    align-items: center;
    padding: 20px;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-left: 20px; /* 增加左边距 */
}

h1 {
    font-size: 20px; /* 缩小 Title 的字体 */
    color: #333;
    margin: 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 确保内容整体垂直对齐 */
    height: calc(100vh - 180px); /* 减去 header 和 footer 的高度 */
    padding: 0 80px 0 80px; /* 减少左右的 padding 值，缩短左右之间的距离 */
    flex-grow: 1;
}

.left-section {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-section h2 {
    font-size: 56px;
    color: #333;
    margin: 0 0 30px 0; /* 增大标题与下方文本的距离 */
    line-height: 1.2;
}

.left-section p {
    font-size: 16px;
    color: #333;
    margin: 18px 0; /* 增大文本与下方按钮的距离 */
}

.chrome-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    margin-top: 8px; /* 调整按钮与上方文本的间距 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 80px; /* 添加下边距 */

}

.chrome-button span {
    font-size: 12px;
    color: #ccc;

}

.right-section {
    max-width: 400px; /* 保持整体尺寸 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 使右侧内容底部对齐 */
    padding-bottom: 150px; /* 调整图片与底部内容之间的距离为150px */
    margin-left: 20px; /* 添加左边距 */
    margin-right: 160px; /* 添加右边距 */

}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    width: 100%; /* 确保宽度一致 */
    animation: slide 12s infinite;
    text-align: center;
    padding-top: 20px;
}

.slides img {
    width: 100%;
    object-fit: cover; /* 保持图片的比例并覆盖整个容器 */
    transition: transform 0.5s ease;
}

/* 为两张图片设置单独的样式 */
.slides img.first-image {
    width: 400px; /* 调整图片尺寸 */
    height: auto; /* 高度自动调整以保持比例 */
    margin: 0 auto; /* 如果需要居中显示 */
    display: block;
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加阴影 */
    margin-right: 120px; /* 添加右边距 */

}

.slides img.second-image {
    width: 540px; /* 调整图片尺寸 */
    height: auto; /* 高度自动调整以保持比例 */
    margin: 0 auto; /* 如果需要居中显示 */
    display: block;
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0); /* 添加阴影 */
    margin-right: 160px !important; /* 添加右边距 */

}

footer {
    margin-top: 80px;
    font-size: 12px;
}

.footercontainer {
    text-align: center;
    margin-top: 10px;
}

footer p {
    color: #777;
    margin: 5px 0;
    text-align: center;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}