body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4; /* 背景颜色 */
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}
/* 添加框架样式 */
.frame {
    background-color: white; /* 白色背景 */
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* 阴影效果 */
    border-radius: 10px; /* 圆角边框 */
    width: 80%;
    max-width: 600px; /* 最大宽度 */
}

.container {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 80%;
    max-width: 1000px;
    margin: 20px auto;
}

/* Logo样式 */
.logo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

button {
    width: 150px;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 20px;
    background-color: #007bff;
    color: white;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.home-button {
    background-color: #dc3545;
    color: white;
}

.home-button:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

p {
    font-size: 20px;
    color: #333;
    margin-top: 20px;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}
#studentInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}


#studentImage {
    border-radius: 50%; /* 圆形图片 */
    margin-bottom: 10px;
	width: 100px;
    height: 100px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* 图片阴影 */
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

#studentName {
    animation: blink 1s linear infinite;
}

.container {
		text-align: center;
		margin-top: 20px;
	}
/* 弹窗的基本样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed; /* 固定定位 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    z-index: 1; /* 确保在其他元素之上 */
    display: flex; /* 使用 Flexbox */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.modal-content {
    background-color: #fefefe; /* 白色背景 */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* 弹窗内容宽度 */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* 阴影效果 */
    border-radius: 10px; /* 圆角边框 */
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    padding: 0 10px;
    cursor: pointer;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}