/* 基本样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}


nav {
    background-color: #333;
    text-align: center;
}

/* 导航链接样式 */
.nav-list {
    list-style-type: none;
    padding: 0;
    display: flex; /* 使用 Flex 布局使链接水平排列 */
    justify-content: center; /* 在水平方向上居中对齐 */
}

.nav-list li {
    margin-right: 20px;
}

.nav-list li:last-child {
    margin-right: 0; /* 去除最后一个链接的右边距 */
}

.nav-list li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #333;
    transition: background-color 0.3s ease-in-out;
}

.nav-list li a:hover {
    background-color: #0fb4da;
}


footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px 0;
}
/* 简介容器样式 */
.intro-container {
    background-color: #f0f0f0;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 简介文本样式 */
.intro-text {
   
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0;
}


/* 项目卡片样式 */
.project-card {
    border: 2px solid #ddd;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.project-card h2 {
    font-size: 24px;
    color: #333;
}

.project-card p {
    font-size: 16px;
    color: #666;
}

.btn {
    display: inline-block;
    background-color: #333;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: #0fb4da;
}
