/* styles.css */

  body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
  }
  header {
    background-color: #4a6376;
    color: white;
    text-align: center;
    padding: 5px;
  }

  .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px;
  }

  .content {
    text-align: center;
    margin-left: 50px; 
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .content img {
    max-width: 90%; /* 图片的最大宽度为父元素的100% */
    height: auto; /* 让图片的高度根据宽度自动调整，以保持原始比例 */
  }
  
  .content_left {
    text-align: left;
    margin-left: 50px; 
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .item {
  display: inline-block;
  text-align: center;
  width: calc(28% - 10px); /* 每行显示三个内容，减去间距 */
  margin-right: 10px; /* 项之间的间距 */
  margin-bottom: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 1px;
  }

  footer {
    text-align: center;
    padding: 20px;
    background-color: #4a6376;
    color: white;
  }

  .work-links {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  }

  .work-link {
  width: 10%;
  padding: 10px;
  background-color: #f3f3f3;
  margin-bottom: 10px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
  }

  .work-link:hover {
  background-color: #ddd;
  }

  #search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #f0f0f0;
    box-shadow: 0 25px 5px rgba(135, 206, 235, 0.18); /* Light Blue Box Shadow */
  }

  #search-box {
      flex: 1;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-right: 5px;
  }

  #search-button {
      padding: 10px;
      background-color: #4285f4;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }

    /* 基本样式 */
  input {
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
  }

  /* 聚焦时的样式 */
  input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(0, 128, 0, 0.2);
  }

  /* 提交按钮样式 */
  input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  input[type="submit"]:hover {
    background-color: #45a049;
  }

  /* 下拉框样式 */
  select {
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
  }

  /* 下拉框聚焦时的样式 */
  select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(0, 128, 0, 0.2);
  }

  input.link-button {
    border: none !important;
    background: none !important;
    color: #FF6347 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0; /* 移除外边距 */
    width: 50px; /* 设置宽度 */
    height: 20px; /* 设置高度 */
  }
  input.link-button-red {
      border: none !important;
      background: none !important;
      color: #FF6347 !important;
      text-decoration: underline !important;
      cursor: pointer !important;
      padding: 0 !important;
      margin: 0; /* 移除外边距 */
      width: 50px; /* 设置宽度 */
      height: 20px; /* 设置高度 */
  }

  
#suggestions {
  display: none; /* 默认不显示，直到有内容时 */
  position: absolute; /* 可以根据需要调整位置 */
  border: 1px solid #ccc; /* 边框颜色 */
  background-color: #ffffff; /* 背景颜色 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影效果 */
  padding: 10px; /* 内边距 */
  width: 200px; /* 宽度，可以根据 <textarea> 的宽度调整 */
  max-height: 200px; /* 最大高度，超过则显示滚动条 */
  overflow-y: auto; /* 内容超出时显示滚动条 */
  z-index: 1000; /* 确保建议框在其他元素之上 */
}

#suggestions div {
  padding: 5px 10px; /* 每个建议项的内边距 */
  cursor: pointer; /* 鼠标悬停时显示手指图标 */
  border-bottom: 1px solid #eee; /* 建议项之间的分隔线 */
}

#suggestions div:hover {
  background-color: #f0f0f0; /* 鼠标悬停时的背景色 */
}

/* 滚动条样式 */
#suggestions::-webkit-scrollbar {
  width: 6px; /* 滚动条宽度 */
}

#suggestions::-webkit-scrollbar-track {
  background: #f0f0f0; /* 滚动条轨道颜色 */
}

#suggestions::-webkit-scrollbar-thumb {
  background: #cccccc; /* 滚动条颜色 */
}

#suggestions::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3; /* 滚动条悬停颜色 */
}