/* styles.css */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: #35424a;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
}

.hero {
    position: relative;
    height: 800px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px); /* 添加模糊效果 */
}

.hero-content {
    position: absolute;
    top: 30%; /* 调整top值 */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000000;
    padding: 3rem; /* 增加内边距 */
    background: rgba(255, 255, 255, 0.8); /* 添加半透明背景以提高可读性 */
    border-radius: 10px; /* 添加圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

.hero h1 {
    margin: 0;
    font-size: 3rem; /* 增加字体大小 */
    line-height: 1.2; /* 调整行高 */
    color: #333; /* 调整颜色 */
}

.hero p {
    margin: 1rem 0 0;
    font-size: 1.5rem; /* 增加字体大小 */
    line-height: 1.4; /* 调整行高 */
    color: #666; /* 调整颜色 */
}

.hero p a {
    color: #007BFF; /* 调整链接颜色 */
    text-decoration: none;
}

.hero p a:hover {
    text-decoration: underline; /* 添加悬停效果 */
}

.hero button {
    background: #fff;
    color: #000000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-content img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.skills-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.skill {
    text-align: center;
    margin-bottom: 1rem;
}

.skill span {
    display: block;
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #35424a;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

#portfolio img {
    width: 75%;
    height: auto;
}