* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}      
/* 头部样式 */
header {
            background-color: #f8f9fa;
            
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
            
        }
a {
    text-decoration: none;
    
}
.logo {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    padding: 15px;
    text-decoration: none;
} 
.header-container {
    width:100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;

}     
/* 导航栏样式 */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    background-color: #2c3e50;
    width:100%;
   

}   
.nav-container {
    width:100%;
	height: 35px;
}
.index {
    display: flex;
    list-style: none;
}
li {
	position: relative;
    padding: 10px 20px;
    display: block;  
}   
.index>a {
	color: white;
	font-size: 15px;
	margin-right: 40px;
	
}
	
.index > a:hover {
    background-color: #34495e;
}
        /* 主要内容区域 */
body{
	width:100%;
    margin: 0;
    padding: 5px;
    font-family: "Arial", 微软雅黑;
    background-color: #f8f8f8;
    text-align: center;
}
.photo-container {
	margin-left: 10%;
	
   /*  min-width: 580px;
     max-width: 1200px;
     margin: 0 auto; */
}
h1 {
	display: inline-block;
    color: blueviolet;
    margin: 5px;
	font-size:16px;
	border-left-style: double;
	border-right-style: dotted;
	
 }
.photo-list {
    display: grid;
	place-items: center;
	grid-template-columns: repeat(auto-fit,300px) ;
	
	gap: 180px;
	margin-top: 10px;
	
    
 }
.photo-item img {
    border: 1px solid #000;
    width: 300px;
    height: 500px;
    margin-left: 5%;
    margin-bottom: 1%;
    border-radius: 8px;
    box-shadow: 0 2px 5px #ddd;
 }
.photo-name {
     margin-top: 10%;
     margin-bottom: 20%;
     margin-left: 5%;
     color: deeppink;
     font-size: 30px;
 }
 /* 返回首页按钮样式 */




/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 15px 20px;
    bottom: 0;	
    width:100%;
    position:fixed;
}   

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
    color: #bdc3c7;
}