
.header-container {
    display: flex;
    flex-direction:row;
    justify-content: space-between;
    align-items: baseline;
    background: rgba(34,34,34,0.95);
    font-style: italic;
    font-size: clamp(12px, 2vw, 16px);
    color: rgba(255, 173, 0, 1);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5vw;
    padding-right: 3vw;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.login, .username {
    font-style: normal;
}


.picture-container {
    width: 100vw; 
    padding-bottom: 15px;
    padding-top: 73px;
}

/* 图片容器 */
.pic-item {
    width: 100%;
    height: 850px; /* 你要的【限制最大高度】，自己改数值 */
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    padding-top: 1vw;
    align-items:center;
    background: rgba(255, 173, 0, 1);
    overflow: hidden; /* 防止图片超出容器 */
}


.img-title {
    display: flex;
    justify-content: center;
    align-items:center;
    gap: 30px;
    height: 100px;
    font-size: 2rem;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.like-btn {
    border: none ;   
    background: none;        
    outline: none;
    padding: 10px 30px;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1rem ;
}


.parallax-img {
  max-width: 100%;         /* 不超出屏幕 */
  height: auto;
  max-height: 600px;       /* 你要的限制最大高度 */
  object-fit: cover;     /* 完整显示图片，不裁切 */
  object-position: center; /* 图片居中（可选但推荐）*/
  border-radius: 18px;    /* 圆角保留 */
  border: 10px solid white;
  display: block;
}

.update-btn {
    position: absolute; 
    right: 10rem;
    align-items: center;
    background: #222222;
    color:  rgba(255, 173, 0, 1);
    padding: 9px 30px;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1rem ;
}

.update-btn:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.7) ;
}

.pic-item form {
    position: absolute; 
    right: 3rem;
    display: flex;
    align-items: center;
}

.delete-btn {
    background: #222222;
    color:  rgba(255, 173, 0, 1);
    padding: 10px 30px;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1rem ;
}

.pic-item button:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.7) ;
}

.pagination {
    display: block;
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    background-color: rgba(255, 173, 0, 1);
    color: #222222 ;
    border-radius: 8px;
    padding: 10px 20px;
}

.pagination a:hover {
    font-weight: 800;
}

.pagination .current {
    border: 2px solid  rgba(255, 173, 0, 1) ;
    color:  rgba(255, 173, 0, 1) ;
    border-radius: 8px;
    padding: 10px 20px;
}


.workbench {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-top: 100px;
    padding: 20px;
    border: 2px dotted #222222;
}

.workbench .info {
    color: rgba(255, 173, 0, 1);
}

.workbench p {
    margin-bottom: 15px;
}
.workbench input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.workbench button {
    background: rgba(255, 173, 0, 1);
    color:  #222222;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

h2 {
    font-style: normal;
}

.site-visit {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 2rem;
    color: rgba(255, 173, 0, 1) ;
}
