body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 导航栏样式 */
nav {
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2em;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    padding: 1em;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4CAF50;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 1em;
    text-align: center;
}

/* 主内容区 */
.main-content {
  flex: 1;
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-section {
  text-align: center;
  margin-bottom: 3em;
  padding: 2em;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.features-section {
  text-align: center;
}

.features-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2em;
}

.feature-item {
  background: white;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 30%;
  min-width: 250px;
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .feature-item {
    width: 100%;
  }
}

/*登录注册*/
.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

.login-form {
    background: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    max-width: 100%;
    margin: auto;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 1em;
}

.login-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1em;
}

/* 选项卡按钮样式 */
.login-tabs button {
    padding: 0.5em 1em;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.login-tabs button.active {
    background-color: #e0e0e0;
    border-color: #ccc;
}

/* 登录表单输入框样式 */
.login-form input {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 登录按钮样式 */
.login-content button {
    width: 100%;
    padding: 0.8em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5em;
}

.login-content button:hover {
    background-color: #45a049;
}

.register-link {
    text-align: center;
    margin-top: 1em;
    font-size: 0.9em;
}

.register-link a {
    color: #4CAF50;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em;
}
footer p a{
    color: white;
    text-decoration: none;
    list-style: none;
}