/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* 导航栏样式 */
.navbar {
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logoimg {
	width: 15%;
	margin-right: 10px;

}


.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
	margin: 0 15px;
	margin-right: 20px;
}

.nav-links a {
	color: white;
	text-decoration: none;
	font-size: 18px;
	transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ccc;
}

/* 主内容区域样式 */
main {
    padding: 20px;
}

.title1 {

    border: 2px solid #D3D3D3; /* 2 像素宽的黑色实线边框 */
    border-radius: 4px; /* 圆角半径为 10 像素 */
    text-align: center;
    padding: 5px;
    background-color:#;
    color: black;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.photo {
    margin: 10px;
    border: 2px solid #f5f5f5;
    background-color: #f5f5f5;
    position: relative;
    cursor: pointer;
}

.photo img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img500 {
    width: 500px;
    height: 200px;
}

.img300 {
    width: 300px;
    height: 200px;
}

.photo:hover img {
    transform: scale(1.1);
}

.photo:hover.photo-caption {
    opacity: 1;
}

  a {
      text - decoration: none!important;
  }

.photo - caption {
      color: black
      font - size: 20px;
  }

.photo - text - below {
      color: gray
      font - size: 14px;
  }
  
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

#preview-image {
    max-width: 90%;
    max-height: 70%;
    object-fit: contain;
}

#preview - title {
    font - size: 36px;
    color: white;
    text - align: center;
    margin - top: 20px;
}
#preview - description {
    font - size: 20px;
    color: white;
    text - align: center;
    margin - top: 10px;
}

/* 版权信息样式 */
 .copyright {
 color: #888;
 font-size: 10px;
 margin-left: 20px;
 }

        /* 底部栏样式 */
      .footer {
            background-color: #f5f5f5;
            padding: 30px 0px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
        }

