/* 基本样式 */
*{
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    line-height: 40px;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 20px;
}

.highlights {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.highlight img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.projects, .articles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project, .article {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.project img, .article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #555;
}



/* 英雄区域 */
.hero-section {
    position: relative;
    text-align: center;
    color: #fff;
}

.background-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

.cta-button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #555;
}

/* 个人简介区域 */
.intro-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
}

.intro-text {
    flex: 1;
}

/* 项目亮点区域 */
.highlights-section {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

.highlights {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.highlight {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.highlight img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.more-link {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.more-link:hover {
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .intro-section {
        flex-direction: column;
        align-items: center;
    }

    .profile-photo {
        margin-bottom: 20px;
    }

    .highlights {
        flex-direction: column;
    }

    .highlight {
        margin: 10px 0;
    }
}

.current-nav{
    color: rgb(227, 160, 5);
    font-weight: bold;
    border-bottom: solid 2px rgb(227, 160, 5);
    height: 25px;
    display: inline-block;
}

.footer-p{
    text-align: center;
    background-color: #333;
    line-height: 100px;
}
.footer-p a{
    color: #fff;
}
#about{
    line-height: 40px;
    padding: 30px;
}
#about ul,.content-box{
    padding:0 30px;
}
.beian-div{
    display: inline-block;
    margin-left: 30px;
}
.gongan-png{
    position: relative;
    top: 3px;
}