body { padding-top: 56px; }/*56px同時也是nav-bar的高度*/
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #a14a55 !important; }
.bg-hero { background-color: #F7C8CC; }


/*字體們*/
@font-face {
    font-family: 'Caveat';
    src: url('Caveat/static/Caveat-Regular.ttf') format('truetype');
  }
@font-face {
    font-family: 'Kanit';
    src: url('Kanit/Kanit-Regular.ttf') format('truetype');
  }
  .content-discription {
    font-family: 'Kanit', sans-serif; /* 使用 Kanit 字体 */
    font-size: 25px;
    line-height: 1.6; /* 调整标题的行间距 */
  margin-bottom: 0.5em; /* 调整标题与下方内容之间的间距 */
  }
  .content-title {
    font-family: 'Kanit', sans-serif; /* 使用 Kanit 字体 */
    font-size: 35px  !important;
    color: #a14a55;
  }
.img{
    width: 80%;
    height: auto;
    border-radius: 60px;
    align-items: center;
  }

  /*home的黑板和TULIPA*/
.image-container {
    position: relative;
    width: 1280px; /* 根据需要调整容器宽度 */
    height: 400px; /* 根据需要调整容器高度 */
    margin: 0 auto; /* 使容器居中 */
    margin-left: 100px;
    overflow: hidden; /* 隐藏溢出的部分 */
}
.image1, .image2, .image3, .image4 , .text{
    position: absolute;
    
}
/*現在不知道為甚麼圖片尺寸沒有應用上去*/
.image1 {/*在下面的黑板*/
  width: 900px; /* 根据需要调整图片大小 */
  height: 350px; /* 根据需要调整图片大小 */
  margin-top: 0px; /* 根据需要调整位置 */
  margin-left: 0px; /* 根据需要调整位置 */
    z-index: 1; /* 控制图片的堆叠顺序 */
}
.image2 {/*在上面的TULIPA*/
  /*width: 200px; /* 根据需要调整图片大小 */
    height: 600px; /* 根据需要调整图片大小 */
    margin-top: -150px; /* 根据需要调整位置 */
    margin-left: 750px; /* 根据需要调整位置 */
    z-index: 2; /* 控制图片的堆叠顺序 */
}
.image3 {/*在下面的黑板*/
  width: 900px; /* 根据需要调整图片大小 */
  height: 350px; /* 根据需要调整图片大小 */
  margin-top: 0px; /* 根据需要调整位置 */
  margin-left: 250px; /* 根据需要调整位置 */
  z-index: 1; /* 控制图片的堆叠顺序 */
}
.image4 {/*在上面的TULIPA*/
  /*width: 200px; /* 根据需要调整图片大小 */
    height: 600px; /* 根据需要调整图片大小 */
    margin-top: -150px; /* 根据需要调整位置 */
    margin-left: 0px; /* 根据需要调整位置 */
    z-index: 2; /* 控制图片的堆叠顺序 */
}
.text {/*在上面的TULIPA*/
    width: 800px; /* 根据需要调整图片大小 */
    height: 300px; /* 根据需要调整图片大小 */
    margin-top: 20px; /* 根据需要调整位置 */
    margin-left: 50px; /* 根据需要调整位置 */
    z-index: 3; /* 控制图片的堆叠顺序 */
    position: absolute;
    color: #ffffff;
      font-family: "Caveat", system-ui;
      font-size: 28px;
      
}
.text2 {/*在上面的TULIPA*/
    width: 800px; /* 根据需要调整图片大小 */
    height: 300px; /* 根据需要调整图片大小 */
    margin-top: 20px; /* 根据需要调整位置 */
    margin-left: 450px; /* 根据需要调整位置 */
    z-index: 3; /* 控制图片的堆叠顺序 */
    position: absolute;
    color: #ffffff;
    font-family: 'Caveat', system-ui; /* 设置字体 */
    font-size: 28px;
    }

    .text3 {/*在上面的TULIPA*/
      width: 800px; /* 根据需要调整图片大小 */
      height: 300px; /* 根据需要调整图片大小 */
      margin-top: 20px; /* 根据需要调整位置 */
      margin-left: 300px; /* 根据需要调整位置 */
      z-index: 3; /* 控制图片的堆叠顺序 */
      position: absolute;
      color: #ffffff;
      font-family: 'Caveat', system-ui; /* 设置字体 */
      font-size: 28px;
}
/*測試用的字體*/
  .example-noto-sans-tc {
    font-family: 'Noto Sans TC', sans-serif; /* 使用 Noto Sans TC 字体 */
  }

  .example-sofadi-one {
    font-family: 'Sofadi One', cursive; /* 使用 Sofadi One 字体 */
  }
/* 導航欄之下拉選單的背景顏色 */
.dropdown-menu { 
    background-color: rgba(161,74,85,0.6);
    margin-top: 25px !important;
    border-radius: 30px;
}
/*導航欄下落選單的文字顏色*/
.dropdown-menu a { 
    color: #ffffff; 
    font-weight: bold;
}
/*導航欄下落選單滑鼠放上去後連結文字變色*/
.dropdown-menu a:hover { 
    background-color: rgba(161,74,85,0);/*碰到後的背景色*/
    color: #ffffff;                     /*碰到後的連結文字色*/
}
/*導航欄的文字粗體*/
.nav-item a { 
    font-weight: bold;
}
/* 每頁進度條 */
.progress-bar {
    position: fixed;
    top: 82px; /* Adjust this value if necessary */
    left: 0;
    width: 0;
    height: 8px;
    background: #ffffff;/*F7C8CC*/
    z-index: 9999;
    transition: width 0.3s ease;
}
/*由左往右飛入頁面的CSS*/
@keyframes flyIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.fly-in {
    opacity: 0; /* 初始狀態為不可見 */
    transition: opacity 0.5s ease-out;
}
.fly-in.visible {
    animation: flyIn 1s ease-out forwards;
    opacity: 1; /* 動畫結束後保持可見 */
}
/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* sidebar側邊欄? */
.sidebar {
    position: sticky;
    list-style: none; /*移除列表的默認設計樣式*/
    display: block;
    height: 50vh;
    top: 13vh;
    padding-top:15vh;
}
/*側欄導航列的文字樣式*/
.sidebar-box a{
    text-decoration: none;
    font-size: 20px;
	line-height: 50px;
    color: #ffffff;
}
/*側欄導航列的小文字方塊尺寸樣式*/
.sidebar-box {
    display: block;
    background-color: #a14a55;
    width: 250px;
    height: 50px;
    padding: 0px 20px 0px 20px;
    margin: 10px 0 10px 0;
}
/* 當頁面寬度768px時隱藏sidebar */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}
/* 側欄超連結下移預留上方空間，應等於nav-bar的高度*/
.top{
    scroll-margin-top: 85px; /* 偏移量 */
  }
/*****************超連結保持正常樣式*****************/
  .a {
    text-decoration: none; /* 移除超連結的下劃線 */
    color: inherit; /* 繼承父元素的文字顏色 */
}

.a:visited {
    color: inherit; /* 繼承父元素的文字顏色 */
}

.a:hover {
    color: #A14A55; /* 滑鼠懸停時顯示下劃線 */
}

.a:active {
    color: #EEEEEE; /* 點擊時保持原本顏色 */
}
/*****************載入動畫樣式*****************/
#loader {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

    /* styles.css */
    .styled-table {
      width: 100%;
      border-collapse: collapse;
      margin: 25px 0;
      font-size: 18px;
      text-align: left;
  }
  
  .styled-table th, .styled-table td {
      padding: 12px 15px;
      border: 1px solid #ddd; /* 添加內部隔線 */
  }
  
  .styled-table thead tr {
      background-color: #009879;
      color: #ffffff;
      text-align: left;
  }
  
  .styled-table tbody tr:nth-of-type(even) {
      background-color: #f3f3f3;
  }
  
  .styled-table tbody tr:hover {
      background-color: #f1f1f1;
  }

/******************* footer ******************/
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
