/* 全域樣式 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f6f2;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

.card-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 20px;
}

/* 標題 */
.header h1 {
    font-size: 2.5rem;
    color: #ff6fa1;
    margin-bottom: 20px;
}

/* 幻燈片區域 */
.photo-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px;
}

/* 單張照片樣式 */
.photo-item {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
}

.photo-item.active {
    display: flex;
}

/* 照片樣式 */
.photo-item img {
    max-width: 90%;
    height: auto;
    border: 5px solid #ff6fa1;
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* 文字說明 */
.caption {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #555;
    text-align: center;
}

/* 動畫效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 底部標語 */
footer h3 {
    margin-top: 20px;
    color: #ff6fa1;
    font-size: 1.5rem;
}
