/* 保持页面样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

header {
    background-color: #f44336;
    color: white;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

.content {
    margin: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content h2 {
    font-size: 20px;
    color: #333;
}

.content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

footer {
    background-color: #f8f8f8;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}

/* 使按钮水平排列 */
footer .button-container {
    display: flex;
    justify-content: center;  /* 居中对齐按钮 */
    gap: 10px; /* 按钮之间的间距 */
    margin-bottom: 20px;
}

/* 按钮样式 */
footer .button {
    background-color: #f44336; /* 红色背景 */
    color: white;               /* 白色字体 */
    padding: 10px 20px;
    border: none;               /* 无边框 */
    border-radius: 25px;        /* 圆角 */
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    text-align: center;
    margin: 0 5px;
    max-width: 150px;           /* 最大宽度，防止按钮过宽 */
}

footer .button:hover {
    background-color: #d32f2f; /* 鼠标悬停时变为更深的红色 */
}

footer .button:active {
    background-color: #c62828; /* 按钮点击时的颜色 */
}

/* 页脚小字样式 */
footer .footer-text {
    font-size: 12px;
    color: #888;
}

footer .footer-text a {
    color: #f44336;
    text-decoration: none;
}

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

/* Modal 样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.modal-content img {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
}

.close {
    background-color: red;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.close:hover {
    background-color: darkred;
}
