:root {
  --navBgColor: rgb(255, 255, 255);
  --opacitynavBgColor: rgba(223, 215, 194, 0);
  --navTextColor: #7c0008;
  --navhoverColor: #ecc447;
  --highLightColor: rgba(203, 125, 157, 1);
  --hoverColor: rgba(255, 255, 255, 1);
  --darkColor: #ecc447;
  --titleColor: #ecc447;
  --mainFontColor: rgb(255, 255, 255);
  --opacityFontColor: rgba(255, 255, 255, 0.652);
  --mainBorder: 1.5px solid var(--opacityFontColor);
}

#copyright {
  background-color: #7c0008;
  color: #FFF;
  font-weight: bold;
}







.categoryItem2 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.newsDirection {
  align-items: self-start;
}

/* 照片 */
/* 共同外框：尺寸一致 */
.mediaBox1 {
  width: 100%;
  /* 控制高度比例 */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #000; */
  flex-direction: column;

}

.categoryItem3 {
  display: flex !important;
  flex-direction: row;
  /* justify-content: center; */
  align-items: center;
  gap: 20px;
}





/* 影片 */
/* 共同外框：尺寸一致 */
.mediaBox2 {
  width: 100%;
  /* 兩邊一樣 */
  aspect-ratio: 8/9;
  /* 控制高度比例  */
  display: flex;
  justify-content: center;
  background: #000;

}





/* 圖片填滿外框 */
.mediaBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* iframe 填滿外框 */
.mediaBox iframe {
  width: 100%;
  height: 100%;
  /* border: none; */
  object-fit: contain;
}




.newspic {
  width: 40%;
  text-align: center;
  /* 讓裡面的圖片置中 */
}

.newspic img {
  width: 300px;
  /* 設定圖片寬度 */
  max-width: 100%;
  /* 手機版不爆版 */
  height: auto;
  /* 保持比例 */
}

.menuItem ul li span {
  color: #ecc447;
}

.item p {
  margin: 15px 0;
}

.item .btn_group {
  padding-bottom: 50px;
}

.item .btn_a {
  margin: auto;
}

.item {
  text-align: center;
  float: left;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.menuItem ul li {
  font-size: 16px;
}

.menuItem ul li span {
  font-size: 20px;
}

.banner {
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.137);
}

.category_img h5 {
  padding-bottom: 20px;
  font-size: 18px;

}

.top {
  filter: brightness(3);
}

#nav-icon span {

  background: var(--darkColor);

}

.aboutText {
  background-color: rgba(0, 0, 0, 0.179);
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.192);
}

.aboutFlex img {
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.192);
}

.second {
  margin-bottom: 150px;
}


.navbar {
  background-color: var(--opacitynavBgColor);
  /* box-shadow: 0px 2px 5px rgba(0,0,0,0.2); */
}

#nav-icon span {
  background: var(--darkColor);
}

.footer_logo img {
  width: 60%;
  margin: auto;
}

/* 
#home,#myCarousel{
  
  margin-top: 88px;
} */

.mainBg {
  /* background-color: var(--navBgColor);
  background-size: cover;
  background-attachment: fixed; */
  background-color: #9b5055;
}

.mainMask {
  background-color: rgba(0, 0, 0, 0);
}

.banner-full {

  background-image: url(../img/banner1.jpg)
}

.section:nth-child(odd) {
  background-color: #7c0008;
}


.trafficText img {
  filter: brightness(2)
}


#sns ul li {
  filter: brightness(0);
}

.footer {
  background-color: #9b5055;
}

.iframe {
  text-align: center;
  margin-bottom: 50px;
}



.news-item {
  margin: 0;
  padding: 30px;
}

.newsTitle {
  width: 100%;
}

/* 最新消息:文字 */
.menuItemNews h4 {
  font-size: 20pt;
  border-bottom: var(--mainBorder);
  padding-bottom: 16pt;
  line-height: 1.3;
}

.menuItemNews p {
  font-size: 14pt;
  line-height: 1.6;
  padding-top: 12pt;
}

.text-position h4, .text-position p {
  display: flex;
  justify-content: center;
  text-align: center;
}

.newsTitle i {
  font-size: 18px;
  line-height: 24px;
}

.newsText p {
  text-align: justify;
}


/* 響應式選單*/
@media (max-width:1200px) {
  #logo {
    width: 100%;
  }

  #home,
  #myCarousel {

    margin-top: 88px;
  }

  .navbar {
    background-color: var(--navBgColor) !important;
  }

  .navbar>.container-fluid .navbar-brand {
    margin-left: 0;
  }

  .navbar-brand>img {
    margin: auto;

  }



  .collapse {
    position: absolute;
    display: block;
    top: -1200%;
    margin: 0;
    left: 100%;
    width: 100%;
    min-height: 100vh;
    background-color: var(--navBgColor);
    transition: 0.5s;

  }

  .collapse.move {
    top: 0;
    left: 0;
    opacity: 1;
  }

  .shop1688 {
    left: 15px;
  }

  /* .navbar-collapse{
    background-color: var(--navBgColor);
  } */
  .navbar-header {
    float: none;

  }

  .navbar .container-fluid {
    padding: 0;
  }

  .container-fluid>.navbar-collapse {
    margin: 0;
  }

  .navbar-right {
    margin-right: 0;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-nav {
    text-align: center;
    float: none !important;
    margin-top: 100px;

  }

  .navbar-nav>li>a::after {
    content: '';
    width: 0%;
    height: 3px;
    background-color: var(--navhoverColor);
    margin: auto;
    margin-top: 5px;
    display: block;



  }

  .navbar-nav>li>a:hover::after {
    width: 5%;



    transition: 0.5s;
  }

  .navbar-nav>li {
    float: none;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;

  }

}


/*響應式調整*/


@media screen and (max-width:1200px) {}

@media screen and (max-width:1024px) {

  .categoryItem2,
  .categoryItem3 {
    flex-direction: column;
  }

  .menuItemNews h4,
  .menuItemNews p {
    text-align: center;
  }
}

@media screen and (max-width:991px) {}

@media screen and (max-width:770px) {

  .floatRightText,
  .floatLeftText {
    padding: 40px;
  }

  .menuItem ul li {
    font-size: 12px;
  }

  .menuItem ul li span {
    font-size: 16px;
  }

  iframe {
    /* width: 90%; */
    height: 100%;
  }

  .trafficText {
    font-size: 16px;
  }

  .footer>div {
    width: 90%;

  }

  .footer_logo img {
    width: 30%;
  }

}

@media screen and (max-width:576px) {}

@media screen and (max-width:414px) {}

@media screen and (max-width:375px) {}