/* 自定义动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

/* 自定义样式 */
.custom-shadow {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 隐藏弹窗内容容器 */
.hidden-popup-content {
    display: none;
}

/* 弹窗样式 */
.popup {
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    animation: scaleIn 0.3s ease-out;
}

.nav {
    background-color: #FFA500; /* 为导航栏添加背景色 */
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.close-btn {
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff5722;
}

.user-info {
    padding: 15px 20px;
    background-color: #fafafa;
}

.copy-btn {
    transition: color 0.3s ease;
}

.copy-btn:hover {
    color: #2196f3;
}

.image-title {
    position: relative;
    overflow: hidden;
}

.image-title img {
    transition: transform 0.3s ease;
}

.image-title img:hover {
    transform: scale(1.05);
}

.title {
    background-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.description {
    padding: 20px;
}

.button-area {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.change-btn {
    background-color: #e0e0e0;
    transition: background-color 0.3s ease;
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 50%;
    padding: 5px;

}

.change-btn:hover {
    background-color: #d0d0d0;
}

.publish-btn {
    background-color: #ff5722;
    transition: background-color 0.3s ease;
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 50%;
    padding: 5px;

}

.publish-btn:hover {
    background-color: #f44336;
}

.nav h3 {
    color: white; /* 设置标题文字颜色为白色，与背景色形成对比 */
    font-size: 16px;
}