 h1 {
     font-size: 2.5em;
     /* 设置字体大小为2倍的默认字体大小 */
     text-align: center;
     /* 水平居中文本 */
     color: #333333;
     /* 设置文本颜色为深灰色 */
     font-family: 'Arial', sans-serif;
     /* 设置字体族为Arial，如果Arial不可用则使用无衬线字体 */
     margin-left: 20px;
 }

 h2 {
     text-align: center;
     color: #333333;
     /* 设置文本颜色为深灰色 */
     font-family: 'Arial', sans-serif;
     /* 设置字体族为Arial，如果Arial不可用则使用无衬线字体 */
     margin-left: 0px;
     font-size: 30px;
 }

 body {
     margin: 0;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
 }

 a {
     color: inherit;
     /* 链接颜色与周围文本一致 */
     text-decoration: none;
     /* 去除下划线 */
 }

 /* 鼠标悬停时的样式 */
 a:hover {
     color: #555;
     /* 鼠标悬停时的颜色，可以根据需要调整 */
     text-decoration: underline;
     /* 鼠标悬停时添加下划线 */
 }

 /* 访问过的链接样式 */
 a:visited {
     color: inherit;
     /* 访问过的链接颜色与周文本一致 */
 }

 .navbar {
     display: flex;
     position: fixed; /* 固定在视口顶部 */
     top: 0; /* 顶部边缘对齐 */
     left: 0; /* 左侧边缘对齐 */
     width: 100%; /* 宽度占满整个视口 */
     height: 50px;
     z-index: 1000; /* 确保导航栏在页面其他内容的上方 */
     justify-content: space-between;
     align-items: center;
     /* 垂直居中 */
     background-color: #ffffff;
     padding: 10px 10px;
     /* 顶部和底部内边距 */
     margin-bottom: 50px;
 }

 .navbar .nav-content {
     flex: 0 0 60%;
     display: center;
     align-items: center;
     justify-content: space-between;
 }



 .navbar .logo img {
    max-width: 15%; /* 最大宽度不超过父元素宽度的15% */
    padding:20px;
    max-height: 100%; /* 最大高度不超过父元素的高度 */
    min-height:50px;
    min-width: 50px;
    position: relative; /* 相对定位 */
 }


 .navbar .language-select {
     margin-right: 20px;
     margin-left: auto;
     padding:10px 20px 10px 0px;
 }

 .navbar a {
     color: #0a0909;
     text-align: left;
     text-decoration: none;
     padding: 5px 0px;
     margin: 0 20px;
     transition: background-color 0.5s;
 }


 .navbar a:hover,
 .navbar .language-select:focus-within {
     border-bottom: 2px solid #DE6438;
 }

 .navbar a.logo:hover {
     border-bottom: none;
     /* 移除棕色横线 */
     /* 可以添加其他悬停样式，比如改变文字颜色或背景色 */
 }


 .navbar .language-select:hover .language-options {
     display: block;
 }

 .navbar .language-options {
     display: none;
     position: absolute;
     background-color: #f9f9f9;
     min-width: 160px;
     box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
     z-index: 1;
     right: 0;
 }

 .navbar .language-options a {
     color: black;
     padding: 12px 16px;
     text-decoration: none;
     display: block;
     text-align: left;
 }

 .navbar .language-options a:hover {
     background-color: #f1f1f1;
 }


 /* 可选：如果你希望内容居中显示，可以添加以下样式 */
 .container {
     width: 100%;
     background-color: #eaf3fc;
     display: flex;
     flex-direction: column;
 }

 .main-header {
    margin-bottom: 20px;
    margin-top: 60px;
 }

 .main-content {
     width: 90%;
     margin: auto;
     margin-bottom: 50px;
     padding: 20px 20px;
     box-sizing: border-box;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     background: linear-gradient(
         135deg,
         rgba(229, 203, 243, 0.8) 0%,
         rgba(234, 243, 252, 0.8) 100%
     );
     border-radius: 10px;
     box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  
 }


 /* 选择器容器样 */
 .select-container {
     margin-bottom: 10px;

     padding: 20px 10px;
     /* 上下和左右的内边距 */
     display: flex;
     justify-content: center; /* 水平居中 */
     flex-wrap:wrap;

 }
 .select-container select {
    margin: 5px; /* 选择框之间留有间隔 */
  }
 /* 选择器标签样式 */
 .select-container label {
     display: flex;
     margin-bottom: 5px;
     padding: 10px 10px;
     font-weight: bold;
 }

 /* 选择器样式 */
 select {
     width: 150px;
     /* 根据需要调整宽度 */
     padding: 5px;
     border: 1px solid #ccc;
     /* 边框颜色 */
     border-radius: 5px;
     /* 边框圆角 */
     background-color: white;
     /* 背景色 */
     outline: none;
     /* 点击时不显示轮廓 */
     appearance: none;
     /* 移除默认样式 */
     cursor: pointer;
     /* 鼠标悬停时显示手形图标 */
     text-align: center;
 }

 /* 选择器悬停效果 */
 select:hover {
     border-color: #888;
     /* 鼠标悬停时边框颜色变深 */
 }

 /* 选择器选中效果 */
 select:focus {
     border-color: #007bff;
     /* 选中时边框颜色 */
     box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
     /* 选中时添加阴影效果 */
 }

 /* 表单样式 */
 #generatorForm {
     display: flex;
     flex-direction: column;
     /* 垂直排列子元素 */
     align-items: center;
     /* 子元素在交叉轴上居中 */
     justify-content: center;
     /* 子元素在主轴上居中 */
     background: white;
     padding: 30px;
     border-radius: 8px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     margin-bottom: 20px;
     display: center;
 }

 /* 标签和输入框样式 */
 #generatorForm label {
     text-align: center;
     margin-bottom: 20px;

 }

 #generatorForm input[type="text"] {
     width: 100%;
     height: 80px;
     padding: 10px;
     margin-bottom: 15px;
     border: 1px solid #ccc;
     border-radius: 6px;
 }

 /* 按钮样式 */
 #generatorForm button {
     padding: 10px 20px;
     border: none;
     border-radius: 18px;
     background-color: #341a7b;
     color: white;
     cursor: pointer;
     display: block;
     /* 使按钮变为块级元素 */
     width: 100px;
     height: 40px;
     /* 按钮宽度占满其父元素宽度 */
     margin: 10px auto 0 auto;
     /* 上边距10px，左右自动（实现居中） */
     transition: background-color 0.3s;
 }

 #generatorForm button:hover {
     background-color: #0056b3;
 }

 /* 结果区域样式 */
 #result {
     margin-top: 20px;
     text-align: center;
     font-size: 18px;
     color: #333;
 }

 /* 响应式设计 */
 @media (min-width:800px) and (max-width:1200px) {
    .select-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
 }

 @media (min-width:500px) and (max-width:799px) {
    .select-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
 }

 @media (max-width: 499px) {
    .select-container {
      flex-direction: column;
      align-items: center; /* 垂直居中 */
    }
  }

 /*faq content*/
 #FAQ {
    width: 90%;
     /* 主体内容宽度为视口宽度的90% */
     margin: auto;
     /* 水平居中 */
     margin-bottom: 50px;
     padding: 20px 20px;
     /* 内边距 */
     box-sizing: border-box;
     /* 边框计算在宽度内 */
     background-color: #deccf3;
     border-radius: 10px;
 }

 .faq-section {
    width: 90%;
     /* 主体内容宽度为视口宽度的90% */
     margin: auto;
     /* 水平居中 */
     margin-bottom: 50px;
     padding: 20px 20px;
     /* 内边距 */
     box-sizing: border-box;
     /* 边框计算在宽度内 */
     background-color: #dacaee;
     border-radius: 10px;}

.faq-title {
    text-align: center;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 20px;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-answer {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
    font
}

/* Hover effect */
.faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .faq-section {
        padding: 15px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
}

 footer {
     /* footer的样式 */
     display: flex;
     background-color: #ffffff;
     padding: 40px 30px;
     color: rgb(72, 70, 70);
     text-align: center;
     justify-content: center;
     align-items: center;
     /* 垂直居中 */
 }

 .links {
     display: flex;
     font-size: 0.875em;
     justify-content: center;
     /* 使链接水平居中 */
     align-items: center;
     /* 垂直居中 */
     text-align: center;
     padding-right: 0px;
     color: #666;
 }

 .pipe {
     padding: 0 10px;
     /* 竖线周围的间距 */
     color: currentColor;
     /* 竖线颜色与文本颜色一致 */
 }

 .copyright {
     font-size: 0.875em;
     /* 版权信息的字体大小 */
     color: #666;
     /* 版权信息的颜色 */
 }
 .contact {
    font-size: 0.875em;
    /* 版权信的字体大小 */
    color: #666;
    /* 版权信息的颜色 */
}

#result-container {
    background-color: #f9f9f9;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  #result-container h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
  }

  #result-content {
    margin-top: 10px;
    line-height: 1.6;
    white-space: pre-line; /* 保留换行 */
  }

  .name-section {
    margin: 15px 0;
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  .name-section:first-child {
    border-top: none;
  }

  .name-section:last-child {
    border-bottom: none;
  }

  #top-names {
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
    padding: 0px 0px;
    box-sizing: border-box;
    background-color: #eaf3fc; 
    border-radius: 10px;
  }

  .top-names-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 0;
    padding: 0;
  }

  .top-names-column {
    flex: 0 0 43%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .top-names-column h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
  }

  .names-list {
    list-style-type: none;
    padding-left: 0;
    padding-right: 0;
  }

  .names-list li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
  }

  .show-more-btn {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .show-more-btn:hover {
    background-color: #0056b3;
  }

 html {
     scroll-behavior: smooth;
 }

 #top-names h2 {
    padding: 0;
 }

 /* 添加响应式设计 */
 @media (max-width: 768px) {
    .top-names-container {
        flex-direction: column; /* 改为垂直排列 */
        gap: 20px;
        margin-top: 0;
        padding: 0;
    }
    
    .top-names-column {
        flex: 1; /* 取消固定宽度 */
        width: 93%; 
        padding: 20px;
    }
}

.hidden {
    display: none;
}

.names-list {
    padding-left: 25px;
    margin: 10px 0;
}

.names-list li {
    margin-bottom: 8px;
}

.show-more-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.show-more-btn:hover {
    background-color: #0056b3;
}

h1, h2, h3, 
.faq-title, 
.faq-answer,
.navbar a,
.main-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}