/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: rgb(var(--bs-tertiary-color-rgb));
  }
  
  
  /* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */
  
  /* Carousel base class */
  .carousel {
    margin-bottom: 4rem;
  }
  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    bottom: 3rem;
    z-index: 10;
  }
  
  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 32rem;
  }
  
  
  /* MARKETING CONTENT
  -------------------------------------------------- */
  
  /* Center align the text within the three columns below the carousel */
  .marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  /* rtl:begin:ignore */
  .marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
  }
  /* rtl:end:ignore */
  
  
  /* Featurettes
  ------------------------- */
  
  .featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  }
  
  /* Thin out the marketing headings */
  /* rtl:begin:remove */
  .featurette-heading {
    letter-spacing: -.05rem;
  }
  
  /* rtl:end:remove */
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  
  @media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
      margin-bottom: 1.25rem;
      font-size: 1.25rem;
      line-height: 1.4;
    }
  
    .featurette-heading {
      font-size: 50px;
    }
  }
  
  @media (min-width: 62em) {
    .featurette-heading {
      margin-top: 7rem;
    }
  }
  
/* 頂部導航欄樣式 */



/* 將 event-container 設置為一行多列，卡片靠左對齊 */
.event-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* 調整卡片之間的間距 */
    justify-content: flex-start; /* 卡片靠左排列 */
}

/* 卡片樣式 */
.event-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    max-width: 200px;
    min-width: 200px; /* 設定固定寬度，使卡片對齊 */
    display: flex;
    flex-direction: column;
    align-items: center; /* 置中內容 */
    text-align: center; /* 置中文本 */
}

/* 卡片中的圖片 */
.event-image {
    width: 100%;
    height: auto;
    max-height: 150px; /* 限制圖片高度 */
    object-fit: cover;
    border-radius: 4px;
}

/* 卡片標題和內容 */
.event-title {
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0;
}

.event-details {
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

/* 收藏按鈕 */
.event-button {
    margin-top: auto; /* 將按鈕推到底部 */
    padding: 4px 10px;
    font-size: 12px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.event-button:hover {
    background-color: #e0e0e0;
}

/* 查看更多的樣式 */
.view-more {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    text-decoration: none;
}

.view-more:hover {
    text-decoration: underline;
}

.custom-navbar {
  background-color: rgba(0, 0, 0, 0.4); /* 0.8 為透明度，可自行調整 */
}
.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}
.feature-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
}
.feature-box:hover {
  transform: translateY(-5px);
}
.icon {
  transition: transform 0.3s ease-in-out;
}
.feature-box:hover .icon {
  transform: scale(1.1);
}

