/* 全局重置样式 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: 'Noto Serif TC', sans-serif;
    overflow-x: hidden; /* 避免橫向卷軸 */
    height: 100%; /* 使html和body的高度為100% */
    margin: 0;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* 全局重置样式 */

header {
    position: relative; /* 使得子元素可以用絕對定位 */
    overflow: hidden; /* 隱藏超出範圍的部分 */
    max-width: 1920px; /* 設置header容器的最大寬度 */
    margin: 0 auto; /* 居中圖片 */
}

header img {
    width: 100%; /* 使圖片寬度自適應屏幕 */
    max-width: 1920px; /* 設置最大寬度為1920px */
    height: auto; /* 保持圖片比例 */
    display: block; /* 消除圖片底部的空隙 */
}

.header_png01 {
    position: absolute; /* 使圖片能夠在header中絕對定位 */
    top: 55%; /* 設置圖片距離header上邊緣的距離，可以根據需要調整 */
    left: 3%; /* 設置圖片距離header左邊緣的距離，可以根據需要調整 */
    width: 24%; /* 設置圖片的寬度為主圖片寬度的10%，可以根據需要調整 */
    height: auto; /* 保持圖片比例 */
}

.header_png02 {
    position: absolute; /* 使圖片能夠在header中絕對定位 */
    top: 50%; /* 設置第二張圖片距離header上邊緣的距離，可以根據需要調整 */
    left: 42%; /* 設置第二張圖片距離header左邊緣的距離，可以根據需要調整 */
    width: 34%; /* 設置第二張圖片的寬度為主圖片寬度的15%，可以根據需要調整 */
    height: auto; /* 保持圖片比例 */
}
.header_png03 {
    position: absolute; /* 使圖片能夠在header中絕對定位 */
    top: -3%; /* 設置第二張圖片距離header上邊緣的距離，可以根據需要調整 */
    left: 73%; /* 設置第二張圖片距離header左邊緣的距離，可以根據需要調整 */
    width: 22%; /* 設置第二張圖片的寬度為主圖片寬度的15%，可以根據需要調整 */
    height: auto; /* 保持圖片比例 */
}

@media screen and (max-width: 800px) {
    .header_png01 {
        top: 53%; /* 調整圖片的位置 */
        left: 1%; /* 調整圖片的距離 */
        width: 24%; /* 調整圖片寬度 */
    }

    .header_png02 {
        top: 47%; /* 調整第二張圖片的位置 */
        left: 41%; /* 調整第二張圖片的距離 */
        width: 36%; /* 調整第二張圖片的寬度 */
    }

    .header_png03 {
        top: -3%; /* 調整第三張圖片的位置 */
        left: 71%; /* 調整第三張圖片的距離 */
        width: 22%; /* 調整第三張圖片的寬度 */
    }
}

@media screen and (max-width: 600px) {
    .header_png01 {
        top: 53%; /* 調整圖片的位置 */
        left: 1%; /* 調整圖片的距離 */
        width: 24%; /* 調整圖片寬度 */
    }

    .header_png02 {
        top: 49%; /* 調整第二張圖片的位置 */
        left: 44%; /* 調整第二張圖片的距離 */
        width: 30%; /* 調整第二張圖片的寬度 */
    }

    .header_png03 {
        top: -3%; /* 調整第三張圖片的位置 */
        left: 71%; /* 調整第三張圖片的距離 */
        width: 22%; /* 調整第三張圖片的寬度 */
    }
}

@media screen and (max-width: 450px) {
    .header_png01 {
        top: 50%; /* 調整圖片的位置 */
        left: 0%; /* 調整圖片的距離 */
        width: 24%; /* 調整圖片寬度 */
    }

    .header_png02 {
        top: 49%; /* 調整第二張圖片的位置 */
        left: 42%; /* 調整第二張圖片的距離 */
        width: 30%; /* 調整第二張圖片的寬度 */
    }

    .header_png03 {
        top: -3%; /* 調整第三張圖片的位置 */
        left: 70%; /* 調整第三張圖片的距離 */
        width: 20%; /* 調整第三張圖片的寬度 */
    }
}

@media screen and (max-width: 340px) {
    .header_png01 {
        top: 48%; /* 調整圖片的位置 */
        left: -4%; /* 調整圖片的距離 */
        width: 24%; /* 調整圖片寬度 */
    }

    .header_png02 {
        top: 49%; /* 調整第二張圖片的位置 */
        left: 43%; /* 調整第二張圖片的距離 */
        width: 25%; /* 調整第二張圖片的寬度 */
    }

    .header_png03 {
        top: -6%; /* 調整第三張圖片的位置 */
        left: 69%; /* 調整第三張圖片的距離 */
        width: 20%; /* 調整第三張圖片的寬度 */
    }
}
/*結束*/

/*最大底圖區*/
.Large_block {
    position: relative;
    width: 100%; /* 區塊的寬度總是100% */
    max-width: 1920px; /* 限制區塊最大寬度為1920px */
    margin: 0 auto; /* 區塊居中 */
    overflow: hidden; /* 防止背景圖片超出範圍 */
}

.Large_block .background_image {
    background: url('../img/background_img.jpg') no-repeat top center; /* 背景圖不重複，並居中對齊 */
    background-size: cover; /* 背景圖自適應縮放來覆蓋區塊 */
    width: 100%; /* 背景圖片區塊的寬度與父容器相同 */
    height: 100%; /* 設置為100%以覆蓋父容器 */
    position: absolute; /* 背景圖片區塊的絕對定位，覆蓋整個父容器 */
    top: 0;
    left: 0;
    z-index: -1; /* 確保背景在所有內容之下 */
}
/*最大底圖區 結束*/




/* 鵝黃色外框加白色底-基底 */
.Large_block .bigbox {
    background-color: rgb(255, 255, 255); /* 白色背景 */
    padding: 0px; /* 內邊距 */
    max-width: 960px; /* 最大寬度 */
    width: 100%; /* 自適應寬度，根據需要調整 */
    border-radius: 15px; /* 圓角效果 */
    border: 15px solid #F9F391; /* 鵝黃色外框 */
    position: relative; /* 改為相對定位，讓其高度可以影響父層 */
    margin: 0% auto; /* 垂直置中 */
    box-sizing: border-box; /* 包含邊框和內邊距在寬度計算中 */
}

.Large_block .bigbox::after {
    content: ""; /* 讓此元素存在 */
    display: block; /* 使其顯示 */
    height: 0; /* 高度為0，讓其不影響外觀 */
}

/* 熱門股票期貨篩選 */
.Large_block .bigbox .container01 {
    padding-left: 70px; /* 增加左邊內邊距 */
    padding-right: 70px; /* 增加右邊內邊距 */
    box-sizing: border-box; /* 確保邊距正確計算 */
}

.Large_block .bigbox .container01 p {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #0B298E;
}

.Large_block .bigbox .content001{
    background: linear-gradient(to right, #F9F391 0%, #FFB932 50%, #F9F391 100%);
}


.table-container {
    display: flex; /* 使用 Flexbox 進行水平排列 */
    gap: 20px; /* 表格之間的間距 */
    padding: 0px  50px 0px 50px;
}

.table-container table {
    table-layout: fixed; /* 固定表格布局 */
    width: 100%;
    border-collapse: collapse;
}

.table-container th, .table-container td {
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.652); /* 半透明白色邊框 */
    color: #424242;
    padding: 10px 1px;
    min-width: 100px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-text {
    margin-right: 50px;
    text-align: right; /* 文字靠右 */
    font-weight: bold; /* 粗體 */
    margin-top: 10px; /* 與表格之間的間距 */
    font-size: 1rem; /* 自適應文字大小 */
    max-width: 100%; /* 避免文字超出父層 */
    word-wrap: break-word; /* 確保長文字不會超出父層，並且換行 */
    padding: 0px  0px 40px 0px;
    color: #ea0000;
}

.table-container th {
    background-color: #ffffff; /* 表頭背景顏色 */
}

@media (max-width: 613px) {
    .table-container th, .table-container td{
        white-space: pre-line;
    }
  }

/*熱門股票期貨篩選-結束*/

/* 圓角外框及滑鼠滑過效果 */
.bigbox01 .container02{
    text-align: center;
    padding-bottom: 40px;
    background-color: #F9F391;
}

.Large_block .bigbox .container02 p {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #0B298E;
}

.link {
    display: inline-block;
    padding: 20px 30px; /* 內邊距，可根據需要調整 */
    border: 2.5px solid #ec9d00; /* 外框顏色，可根據需要調整 */
    border-radius: 12px; /* 圓角半徑 */
    color: #ec9d00; /* 文字顏色 */
    text-decoration: none; /* 去掉下劃線 */
    background-color: #ffffff; /* 背景顏色 */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 過渡效果 */
    font-size: 20px;
}

.link:hover {
    color: #0B298E;
    border: 2.5px solid #0B298E;
    animation: scaleAnimation 1s infinite; /* 使用動畫，持續播放 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 增加陰影效果 */
}
/*個股期貨除權息 結束*/

/*股票期貨的優勢*/
.Advantages01,.Advantages02,.Advantages03,.Advantages04 {
    display: flex;
    align-items: center; /* 垂直置中 */
    justify-content: center; /* 水平置中 */
    padding-left: 80px; /* 左邊內邊距 */
    padding-right: 80px; /* 右邊內邊距 */
}

.Advantagesimg,.Advantagestext {
    margin: 20px; /* 可根據需要調整間距 */
}

.Advantagestext11{
    font-size: 26px;
}

.Advantagestext22{
    color: #5b5b5b;
    line-height: 1.6;
}

.Advantagesimg:hover {
    animation: scaleAnimation 1s infinite; /* 使用動畫，持續播放 */
}

.Advantagesimg img {
    max-width: 100%; /* 確保圖片不超過容器寬度 */
    height: auto; /* 保持圖片比例 */
}

@media screen and (max-width: 640px) {
    .Advantages01 {
        flex-direction: column; /* 讓圖片和文字上下排列 */
        padding-left: 50px; /* 減少左右間距 */
        padding-right: 50px; /* 減少左右間距 */
    }

    .Advantages02 {
        flex-direction: column-reverse; /* 讓圖片和文字上下排列 */
        padding-left: 50px; /* 減少左右間距 */
        padding-right: 50px; /* 減少左右間距 */
    }

    .Advantages03 {
        flex-direction: column; /* 讓圖片和文字上下排列 */
        padding-left: 50px; /* 減少左右間距 */
        padding-right: 50px; /* 減少左右間距 */
    }

    .Advantages04 {
        flex-direction: column-reverse; /* 讓圖片和文字上下排列 */
        padding-left: 50px; /* 減少左右間距 */
        padding-right: 50px; /* 減少左右間距 */
    }
    
    .Advantagesimg, .Advantagestext {
        margin: 10px 0; /* 調整上下間距 */
    }

    .Advantagestext11 {
        font-size: 24px; /* 根據需要調整文字大小 */
    }

    .Advantagestext22 {
        font-size: 16px; /* 可調整小字的字體大小 */
    }
}

/*股票期貨的優勢 結束*/

/*股票與股票期貨差異*/
hr{
    border: 0.2px solid #e0e0e0; width: 80%;
}

#differencetsmc-01{
    padding-bottom: 10px;
}

#differencetsmc-02{
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 18px;
    color: #555555;
}

.differenceBox {
    display: flex; /* 使用 flexbox */
    justify-content: flex-start;
}

.difference01, .difference02, .difference03 {
    flex: 1 1 30%; /* 每个图片的基础宽度是30%，并且允许缩放 */
    margin: 18px; /* 图片之间的间距 */
}

.difference01 img, .difference02 img, .difference03 img {
    width: 100%; /* 使图片宽度适应容器 */
    height: auto; /* 保持图片纵横比 */
}

@media screen and (max-width: 640px) {
    .differenceBox {
        flex-direction: column; /* 使项目垂直排列 */
        align-items: center; /* 图片居中 */
        margin-left: 20px;
        margin-right: 20px;
    }

    .difference01, .difference02, .difference03 {
        flex: 1 1 100%; /* 每张图片占满宽度 */
        margin: 10px 0; /* 调整垂直间距 */
    }
}

/*股票與股票期貨差異-結束*/

/*股票期貨夜盤的特色*/
.differenceBox {
    display: flex; /* 使用 flexbox */
    justify-content: flex-start;
}

.difference01, .difference02, .difference03 {
    flex: 1 1 30%; /* 每个图片的基础宽度是30%，并且允许缩放 */
    margin: 18px; /* 图片之间的间距 */
}

.difference01 img, .difference02 img, .difference03 img {
    width: 100%; /* 使图片宽度适应容器 */
    height: auto; /* 保持图片纵横比 */
}

@media screen and (max-width: 640px) {
    .differenceBox {
        flex-direction: column; /* 使项目垂直排列 */
        align-items: center; /* 图片居中 */
        margin-left: 20px;
        margin-right: 20px;
    }

    .difference01, .difference02, .difference03 {
        flex: 1 1 100%; /* 每张图片占满宽度 */
        margin: 10px 0; /* 调整垂直间距 */
    }
}
/*股票期貨夜盤的特色-結束*/

/*股票期貨夜盤的優點*/
/*股票期貨夜盤的優點-結束*/

/*QA*/
.containerQA{
    display: flex;
}

.container {
    width: 90%;
    max-width: 25rem; /* 調整最大寬度 */
    margin: 0 auto;
    padding: 2rem; /* 可調整padding */
  }

  .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
}

  .accordion-content p {
    font-size: 1rem;
    font-weight: 300;
    margin: 2em 0;
    line-height: 1.8;  /* 調整這個值來增加行距 */
}

  h2 {
    text-align: center;
  }
  .accordion {
    .accordion-item {
      border-bottom: 1px solid #e5e5e5;
    }
    button {
      position: relative;
      display: block;
      text-align: left;
      width: 100%;
      padding: 1em 0;
      color: #ec9d00;
      font-size: 1.15rem;
      font-weight: 400;
      border: none;
      background: none;
      outline: none;
      cursor: pointer;
      transition: color 0.3s ease;
    }
    /* 滑過變色效果 */
    button:hover,
    button:focus {
      color: #0B298E;
    }
    button[aria-expanded='true'] {
      color: #0B298E;
      .icon::after {
        width: 0;
      }
      + .accordion-content {
        opacity: 1;
        max-height: 100%; /* 使用100%或auto來避免內容裁切 */
        transition: all 200ms linear;
        color: #707070;
        line-height: 1.8 !important;  /* 行高設置，避免裁切 */
      }
    }
    .accordion-title {
      display: inline-block;
      padding-right: 1.5em;
    }
    .icon {
      display: inline-block;
      position: absolute;
      top: 18px;
      right: 0;
      width: 22px;
      height: 22px;
      border: 1px solid;
      border-radius: 22px;
      transition: border-color 0.3s ease;
    }
    /* 滑過時加號變色 */
    button:hover .icon,
    button:focus .icon {
      border-color: #0B298E;
    }
    .icon::before {
      display: block;
      position: absolute;
      content: '';
      top: 9px;
      left: 5px;
      width: 10px;
      height: 2px;
      background: currentColor;
      transition: background-color 0.3s ease;
    }
    .icon::after {
      display: block;
      position: absolute;
      content: '';
      top: 5px;
      left: 9px;
      width: 2px;
      height: 10px;
      background: currentColor;
      transition: background-color 0.3s ease;
    }
    /* 滑過時加號變色 */
    button:hover .icon::before,
    button:focus .icon::before,
    button:hover .icon::after,
    button:focus .icon::after {
      background: #0B298E;
    }
    .accordion-content {
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: opacity 200ms linear, max-height 200ms linear;
      p {
        font-size: 1rem;
        font-weight: 300;
        margin: 2em 0;
      }
    }
  }
/*康和系統下單介紹*/
.Large_block, .bigbox07 {
    padding: 0; /* 確保沒有額外的內邊距 */
    margin: 0 auto; /* 居中 */
    max-width: 100%; /* 確保不超出屏幕 */
}

  .bigbox07 .container02 {
    text-align: center;
    background-color: #F9F391;
}

.Large_block .bigbox .container02 p {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #0B298E;
}

table {
    width: 100%;
    max-width: 100%; /* 確保不超出容器 */
    border-collapse: collapse;
    text-align: center; /* 全表格內容水平置中 */
    font-family: Arial, sans-serif;
    overflow-x: auto; /* 當內容超出時出現滾動條 */
}

th {
    text-align: center; /* 表頭內容水平置中 */
    vertical-align: middle; /* 表頭內容垂直置中 */
    border: 2px solid #F9F391; /* 內部框線 */
    padding: 10px;
    background-color: #fdf3c1; /* 表頭背景顏色 */
    color: #ff9900; /* 表頭文字顏色 */
}

td {
    text-align: center; /* 單元格內容水平置中 */
    vertical-align: middle; /* 單元格內容垂直置中 */
    border: 2px solid #F9F391; /* 內部框線 */
    padding: 10px;
    background-color: #fdf7e2; /* 單元格背景顏色 */
    color: #333; /* 單元格文字顏色 */
}

.action{
    text-align: center; /* 表頭內容水平置中 */
    vertical-align: middle; /* 表頭內容垂直置中 */
    padding: 10px;
    animation: scaleAnimation 1s infinite; /*持續放大縮小的動畫*/
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: underline;
    color: #e54100;
    text-decoration: none;
}

.checkmark {
    font-size: 20px;
    color: #666;
}

.highlight {
    background-color: #f7b600; /* 高亮顏色 */
}

/* 為 e指通行加粗橘色底線 */
.thick-orange-border {
    border-bottom: 4px solid #f7b600; /* 加粗底線 */
}

/*康和系統下單介紹-結束*/

/*其他閱讀*/
.bigbox08 .video-container {
    display: flex;
    justify-content: center; /* 讓影片居中 */
    padding: 20px; /* 內邊距 */
}

.bigbox08 .video-wrapper {
    width: 100%; /* 設定寬度為100% */
    max-width: 600px; /* 最大寬度 */
    height: 0; /* 高度設為 0，依賴 padding-top 來維持比例 */
    padding-top: 30%; /* 16:9 的比例，等於9/16 */
    overflow: hidden;
    position: relative;
    margin: 0 10px; /* 添加左右間距 */
}

.video-wrapper:last-child {
    margin-right: 0; /* 最後一部影片不添加右邊距 */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/*其他閱讀-完畢*/

/*警語*/
.noteblock {
    text-align: center;
    background-color: #fffdd3;
    color: #464646;
    max-width: 820px; /* 保持最大寬度 */
    width: calc(100% - 40px); /* 使寬度自適應，並考慮邊距 */
    margin: 24px auto; /* 自動左右居中，並添加垂直邊距 */
    padding: 20px; /* 調整內邊距 */
    border-radius: 50px;
    border: 2px dashed #f7b600; /* 虛線邊框 */
    box-sizing: border-box; /* 包含內邊距和邊框在寬度計算中 */
}

@media (max-width: 890px) {
    .noteblock {
        width: calc(100% - 20px); /* 在較小螢幕下稍微減小 */
        padding: 30px; /* 可以調整內邊距 */

    }
}

@media (max-width: 600px) {
    .noteblock {
        font-size: 18px; /* 小螢幕字體大小 */
        padding: 30px; /* 調整內間距 */
    }
}

/*警語結束*/


/*懸停在視窗右邊*/
.fixed-right-container {
    position: fixed;  /* 固定定位 */
    right: 0;         /* 將容器固定在視窗右邊 */
    top: 70%;         /* 將容器固定在視窗中間（垂直方向） */
    transform: translateY(-50%); /* 將容器垂直居中對齊 */
    z-index: 1000;    /* 確保容器顯示在其他元素之上 */
    display: flex;
    flex-direction: column; /* 讓子元素垂直排列 */
    gap: 20px; /* 子元素間距 */
}

.fixed-right-element {
    display: flex; /* 使用 flex 排版 */
    align-items: center; /* 垂直居中 */
    background-color: #f7b600; /* 背景顏色 */
    color: white;     /* 文字顏色 */
    padding: 30px 15px; /* 內邊距 */
    border-radius: 5px 0 0 5px; /* 圓角，讓左側有圓滑效果 */
    text-decoration: none; /* 去掉連結下劃線 */
    transition: background-color 0.3s ease; /* 背景色過渡效果 */
    transition: box-shadow 0.3s ease; /* 定義過渡效果，使陰影的出現和消失平滑進行 */
    animation: scaleAnimation 1s infinite; /*放大縮小持續作動動畫*/
}

.fixed-right-element:hover {
    background-color: #f7b600; /* 懸停時變深背景顏色 */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* 當滑鼠滑過時在底部添加陰影 */
    color: #0B298E;

}

.fixed-right-element .icon {
    margin-right: 8px; /* 圖標與文字間距 */
    width: 24px; /* 圖標寬度 */
    height: 24px; /* 圖標高度 */
}

.fixed-right-element .text08 {
    font-size: 16px; /* 調整文字大小 */
    font-weight: 700;
}
/*懸停在視窗右邊-結束*/


/*footer*/
footer {
    position: relative;
    background-color: #0B298E;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    width: 100%;  /* 确保 footer 适应父容器宽度 */
    box-sizing: border-box; /* 包含 padding 在内的宽度计算 */
    overflow: hidden; /* 防止子元素溢出 */
}

.footer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    flex-wrap: wrap; /* 如果内容超出宽度，自动换行 */
}

.footer-logo {
    width: 280px;
    height: auto;
    padding-right: 10px;
    max-width: 100%; /* 确保 logo 不超出父层宽度 */
}

.footer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* 允许链接在小屏幕时换行 */
    justify-content: center; /* 使链接居中对齐 */
}

.footer-icon {
    width: 34px;
    height: 34px;
    margin-right: 5px;
    vertical-align: middle;
}
/*footer-結束*/




























/* 定義動畫 */
@keyframes scaleAnimation {
    0% {
        transform: scale(1); /* 初始大小 */
    }
    50% {
        transform: scale(1.1); /* 放大 10% */
    }
    100% {
        transform: scale(1); /* 縮回原始大小 */
    }
}

/* 鼠標懸停效果 */
.link:hover {
    animation: scaleAnimation 1s infinite; /* 使用動畫，持續播放 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 增加陰影效果 */
}

/*動畫*/
.flip-left {
    opacity: 0; /* 初始透明度 */
    transform: translateY(80px); /* 初始位置 */
    transition: opacity 0.5s ease, transform 0.5s ease; /* 過渡效果 */
    margin: 5% 0; /* 上下間距 */
    padding: 20px; /* 內部間距 */
    border-radius: 5px; /* 圓角 */
}

.flip-left.visible {
    opacity: 1; /* 可見時的透明度 */
    transform: translateY(0); /* 移回原來位置 */
}
