*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"微软雅黑";
    background:#f5f5f5;
}


header{
    background:#222;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 80px;
}

.logo{
    font-size:28px;
    font-weight:bold;
}

nav ul{
    list-style:none;
    display:flex;
}

nav ul li{
    margin-left:30px;
}

nav a{
    color:white;
    text-decoration:none;
}


.banner{
    height:500px;
    background:url("../img/ground.jpg") center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
}

.banner-text{
    text-align:center;
    color:white;
}

.banner h1{
    font-size:50px;
}

.banner p{
    margin-top:15px;
    font-size:20px;
}


.about{
    width:80%;
    margin:50px auto;
    display:flex;
    align-items:center;
    gap:40px;
}

.about img{
    width:180px;
    height:180px;
    border-radius:50%;
}

.posts{
    width:90%;
    margin:50px auto;
}

.posts h2{
    text-align:center;
    margin-bottom:30px;
}

.card{
    width:30%;
    display:inline-block;
    background:white;
    margin:1%;
    padding:15px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.1);
    text-decoration:none;
    color:inherit;
    vertical-align:top;
    transition:transform .2s ease, box-shadow .2s ease;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.gallery{
    width:90%;
    margin:50px auto;
}

.gallery h2{
    text-align:center;
    margin-bottom:30px;
}

.photos{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.photos img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
}

footer{
    background:#222;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:50px;
}