body {
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    margin: 0;
    padding: 60px; /* 增加留白，確保花邊不被遮住 */

    /* 1. background-color: 底色 */
    background-color: #f0f8ff; 

    /* 2. background-image: 
       第一層：中間裝飾小圖 (用雲朵圖標範例)
       第二~五層：四個角落的花邊 (改用 CSS 漸層色塊確保百分之百顯示) */
    background-image: 
        url('https://cdn-icons-png.flaticon.com/512/1163/1163624.png'), /* 中間裝飾小圖 */
        linear-gradient(45deg, #ffcc00 25%, transparent 25%), /* 左上花邊 */
        linear-gradient(-45deg, #ffcc00 25%, transparent 25%), /* 右上花邊 */
        linear-gradient(135deg, #ffcc00 25%, transparent 25%), /* 左下花邊 */
        linear-gradient(-135deg, #ffcc00 25%, transparent 25%); /* 右下花邊 */

    /* 3. background-repeat: 全部不重複 */
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;

    /* 4. background-position: 分別對應 5 張圖的位置 */
    background-position: 
        center 100px,  /* 小圖在上方置中 */
        top left,      /* 左上 */
        top right,     /* 右上 */
        bottom left,   /* 左下 */
        bottom right;  /* 右下 */

    /* 5. background-attachment: 固定背景，捲動時花邊不動 */
    background-attachment: fixed;

    /* 6. background-size: 調整大小，讓花邊更明顯 */
    background-size: 80px, 60px, 60px, 60px, 60px;
}

/* 為了不遮住背景，稍微調整 info-box */
.info-box {
    background-color: rgba(255, 255, 255, 0.9); /* 改成半透明，隱約可以看到底下的裝飾 */
    margin: 30px auto;
    width: 60%; /* 縮小一點點，露出更多背景 */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
}

#top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    padding: 40px;
    text-align: center;
    border-radius: 50px 10px 50px 10px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
    border: none;
    margin-bottom: 30px;
}

header h1 {
    font-size: 42px;
    color: white;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.5); 
    margin: 0;
}

.info-box {
    background-color: rgba(255, 255, 255, 0.85); /* 半透明背景 */
    padding: 30px;
    margin: 20px auto;
    width: 75%;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

h2::before {
    content: "◈ ";
    color: #764ba2;
}
.nav-bar ul li a:hover {
    background-color: #764ba2;
    color: white;
    border-radius: 5px;
    transition: 0.3s; /* 增加平滑感 */
}

.nav-bar ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.nav-bar ul li {
    display: inline-block;
    margin: 0 10px;
}

.nav-bar ul li a {
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    color: #444;
    font-weight: bold;
}

.profile-pic {
    width: 180px;
    border-radius: 50%; /* 圓形頭像 */
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon {
    width: 25px;
    vertical-align: middle;
}

#experience {
    background: linear-gradient(to right, #e0f2f1, #ffffff);
    padding: 30px;
    width: 75%;
    margin: 20px auto;
    border-left: 10px solid #009900;
    border-radius: 0 15px 15px 0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
    color: #666;
}