/* @charset "UTF-8"; */
.tool-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tool-card img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 15px;
    border: 2px solid #007bff;
}

.tool-content {
    flex: 1;
}

.tool-content h2 {
    margin: 0 0 5px;
    font-size: 1.2em;
    color: #007bff;
}

.tool-content p {
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 5px;
    color: #333;
}

/* 工具网格布局 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*==============================*/
/* 详情页样式 */
.details-container {
    background-color: #f9f9f9; /* 浅灰色背景 */
    border: 1px solid #e0e0e0; /* 浅灰色边框 */
    border-radius: 10px; /* 圆角 */
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row; /* 左右结构 */
    align-items: center;
    justify-content: space-between;
}

.detail-image {
    width: 150px;
    height: 150px;
    border-radius: 10px; /* 图标改为圆角方形 */
    margin-right: 20px; /* 与文字部分的间距 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon {
    width: 100%;
    height: 100%;
}

.tool-info {
    flex: 1; /* 占据剩余空间 */
}

.tool-info h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #007bff; /* 使用科技蓝色主题色 */
}

.tool-info p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #333;
}

.click-count {
    font-size: 0.9em;
    color: #888;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .details-container {
        flex-direction: column; /* 小屏幕上改为上下结构 */
        align-items: center;
    }

    .detail-image {
        margin-bottom: 20px;
    }

    .tool-info {
        text-align: center;
    }
}


/*===nav===*/

/* 导航栏样式 */
/* 导航栏样式 */
nav {
    padding: 10px 0;
    text-align: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white; /* 导航文字颜色 */
    text-decoration: none; /* 去掉下划线 */
    font-size: 1.2em;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline; /* 鼠标悬停时下划线 */
}

/*=======key========
