	/* .flex-container {
		display: flex;
		flex-direction: row;
        flex-wrap: wrap;
        margin: 0 auto;
	}
	.flex-item {
        flex: 1 0 16%;
        height: 100px;
        background-color:#86a8e7;
        border-radius: 4px;
        transition: 0.3s all;
        margin-right: 15px;
	}
    .flex-item:hover {
    background-color: #91eae4;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}
.flex-placeholder {
    flex-basis: 100%;
    height: 0;
} */
.flex-item:hover {
    /* background-color:#a8c1f0 ; */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}
/* .flex-container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
} */

.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px 15px; /* 定义间距 */
    }
    
svg {
    width: 20px;
}



.flex-item h2{
    cursor: pointer; /* 鼠标悬停时显示手型 */
}
.flex-item {
background-color: #e6f3f0;
flex-basis: calc(16.666666% - 10px); /* 指定项目基础大小 */
height: 120px; 
/* aspect-ratio: 16/9; */
transition: 0.3s all;
/* margin-right: 10px; */
margin-bottom: 15px;
border-radius: 4px;
position: relative; /* 让 card-footer 元素相对于父元素定位 */

}

.flex-item.danger {
  background-color: #ffcccc; /* 浅红色背景 */
}

.flex-item.success {
  background-color: #ccffcc; /* 浅绿色背景 */
}

/* 清除每一行的最后一个元素的右边距
.flex-item:nth-child(6n) {
margin-right: 0px;
} */

h1 {
  /* font-size: 32px; */
  color: #333;
  font-family: Arial, sans-serif;
}

@media (max-width: 767px) {
    .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 定义6列 */
    grid-gap: 10px 15px; /* 定义间距 */
    }
    

}


@media (min-width: 768px) and (max-width: 1023px) {
    .grid-container {
      grid-template-columns: repeat(4, 1fr); /* 定义 4 列 */
    }
  }
  

.card-header {
    padding: 15px;
  }

  .card-header h2 {
    font-size: 20px;
    margin: 0;
    padding: 0;
  }

  .card-header p.comment {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
    margin-bottom: 10px;
    display: inline-block; /* 设置为行内块元素以适应容器宽度 */
    max-width: 120px; /* 最大宽度不超过容器宽度 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-header .tags {
    display: flex;
    flex-wrap: wrap;
  }

  .card-header .tags span {
    display: inline-block;
    background-color: #eee;
    color: #333;
    padding: 5px;
    margin-right: 5px;
    margin-bottom: 5zpx;
    border-radius: 4px;
    font-size: 12px;
  }

  .card-footer {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 1px;
    border-radius: 4px;
    font-size: 12px;
  }

  .card-footer p.stat {
    margin: 0;
    padding: 0;
  }

  

  .filter-bar {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    margin-bottom: 10px;
  }

  .sort-buttons button {
    border: none;
    outline: none;
    background-color: transparent;
    color: #999;
    margin-right: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s all;
  }

  .sort-buttons button.active,
  .sort-buttons button:hover {
    color: #333;
  }

  .tag-filters {
    display: flex;
    align-items: center;
  }

  .tag-filters span {
    font-size: 14px;
    color: #999;
    margin-right: 10px;
  }

  .tag-filters input[type="text"] {
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
    margin-left: 10px;
  }

  .tag-filters .tags {
    display: flex;
    align-items: center;
    margin-right: 10px;
  }

  .tag-filters .tags span {
    display: inline-block;
    background-color: #eee;
    color: #333;
    padding: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
  }

  .hero {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    height: 100vh; /* 设置高度为视口高度，使其竖直方向上也居中 */

  }
  
  .hero svg {
    width: 100px;
    height: 100px;
    cursor: pointer;
  }

  .hero {
    text-align: center;
  }

  .hero .stat {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 100px;
    margin-bottom: 0px;
  }
  

  .hero p {
    color: #999;
  }
  

  @media (max-width: 767px) {
    .hero h1 {
      font-size: 50px;
    
    }
    
    .hero svg {
      width: 50px;
      height: 50px;
      cursor: pointer;
    }
  
    .hero .stat {
      font-size: 25px;
    }
    
      }
  /* .flex-item:hover .comment {
    white-space: normal;
    text-overflow: initial;
  } */

