* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
    scroll-behavior: smooth;
}

:root {
    --main-green: #00C851;
    --light-green: #E8F5E9;
    --dark-green: #007E33;
}

body {
    background: var(--light-green);
}

.main-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("张云雷的照片");
    background-size: cover;
    background-position: center;
    color: white;
}

.main-page h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.main-page p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.nav-icons {
    display: flex;
    gap: 30px;
}

.nav-icon {
    width: 60px;
    height: 60px;
    background: var(--main-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.nav-icon:hover {
    transform: scale(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: var(--dark-green);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 100px;
    height: 3px;
    background: var(--main-green);
    display: block;
    margin: 10px auto 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.photo-card {
    /* verflow: hidden;hidden为o */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
object-fit: cover;
}

.photo-card{
overflow:hidden;
border-radius:15px;
box-shadow:0 5px 15px rgba(0,0,0,0.1); 
}
/* .photo-card{
  width: 300px;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo-card img{
    width: 100%;
  height: 100%;
  object-fit: cover;
} */


.photo-card img:hover {
    transform: scale(1.05);
}

.timeline {
    list-style: none;
    padding-left: 20px;
}

.timeline li {
    margin-bottom: 20px;
    position: relative;
}

.timeline li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--main-green);
    border-radius: 50%;
    position: absolute;
    left: -20px;
    top: 8px;
}

.song-list {
    list-style: none;
    padding: 0;
}

.song-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.song-list li i {
    color: var(--main-green);
    margin-right: 10px;
}

/* 新增链接样式 */
.work-link,
.song-link {
    display: inline-block;
    padding: 8px 15px;
    background: var(--main-green);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.work-link:hover,
.song-link:hover {
    background: var(--dark-green);
}

footer {
    background: var(--dark-green);
    color: white;
    padding: 20px;
   
    /* margin-top: auto; */

    
    
}
.footer-un{
    display: flex;
    justify-content: center;
    align-self: center;
    /* position: absolute; */
    bottom: 0;
    padding: 100px;
}


.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--main-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

