body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%; /* Full height */
    display: flex;
    flex-direction: column; /* Stack vertically */
    background-color: #f0f0f0;
}

.container {
    flex: 1 0 auto; /* Flexibility in occupying space */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    flex: 1; /* Takes half of the space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header img.logo {
    width: 400px; /* Larger logo */
}

.header h1 {
    margin: 10px 0;
    font-size: 40px; /* Larger text */
}

.header p {
    font-size: 35px; /* Larger text */
    margin-top: 5px;
}

.buttons {
    flex: 1; /* Takes half of the space */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Aligns children at the bottom */
    gap: 90px;
    margin-bottom: 20px; /* Space from bottom */

}

.button {
    width: 180px; /* Larger boxes */
    height: 210px; /* Larger boxes */
    border: 4px solid black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-decoration: none; /* 移除链接的下划线 */
}

.button:hover {
    background-color: #e6e2e2; /* 鼠标悬停时改变背景颜色，可根据设计调整 */
}

.button img {
    width: 170px; /* Consistent image size */
    height: auto;
    margin-top: 10px;
    margin-bottom: auto;
}

.button p {
    /* margin: 10px 0 0; */
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.button:visited {
    text-decoration: none; /* 移除链接的下划线 */
    color: black; /* 被访问后的链接颜色仍然是黑色 */
}