body {
  font-family: Swei Gothic CJK TC !important;
}

.container {
  padding-left: 0px !important;
  padding-right: 0px !important;
  color: white;
  margin-top: 120px;
  max-width: 100% !important;
}

#corner-image {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 100px;
  height: auto;
  z-index: 999;
}


#divTop {
  display: grid;
  grid:
    ". . ."
    /0.01fr 1fr 1fr;
  align-items: center;
  padding-left: 15%;
  padding-right: 15%;
  position: fixed;
  z-index: 20;
  width: 100%;
  top: 0%;
  height: 120px;
}

#divImg {
  padding: 20px;
}

#divTopIcon {
  margin: 10px;
}

#divTicker {
  margin: auto;
  padding: 10px;
}

#divTop img {
  max-height: 80px;
}

#divBottom {
  padding: 10px;
  display: grid;
  grid:
    "divBottomLeft divBottomRight"
    /1fr 0.3fr;
  width: 80%;
  margin:0 auto;
  padding: 2rem;
}

#divBottomLeft {
  grid-area: divBottomLeft;
  color: white;
  height: 80%;
  display: grid;
  grid:".""."".";
}

#divBottomRight {
  grid-area: divBottomRight;
  display: grid;
  align-items: center;
  justify-items: center;
}

#divModelButton {
  width: 80%;
  display: grid;
  grid: ".";
  margin: auto;
  margin-top: 30px;
}

#divModelButton button {
  margin: auto;
  width: 50%;
}

#divModelViewer {
  margin-top: 10px;
  margin-bottom: 10px;
}

#modelViewer {
  width: 100%;
  margin-top: 20px;
  height: 250px;
}

#divMiddle {
  display: grid;
  grid:
    ". . . ."
    /1fr 1fr 1fr 1fr;
  width: 70%;
  margin: auto;
  margin-top: 20px;
}

.cardOut {
  padding: 10px;
}

#divMiddle .card {
  margin: auto;
  padding: 10px;
}

.carousel {
  width: 100%;
  margin: auto;
}

.carousel-item {
  text-align: center;
}

.carousel-item img {
  width: 100%;
}

#pano {
  height: 400px;
  position: relative;
}

#pano canvas,
#pano div {
  height: 400px !important;
}

h1 {
  text-align: center;
  padding: 20px;
  margin-top: 10px;
}

#arBGC {
  margin-top: 30px;
  border-radius: 10px;
  display: grid;
  grid:
    ". ."
    /1fr 1fr;
  padding: 50px;
}

#arBGC h1 {
  width: 50%;
  margin: auto;
  border-radius: 10px;
  font-size: 24px;
  font-weight: bolder;
}

#divModelButton div {
  height: 20px;
}

#itemBGC {
  margin-top: 20px;
}

#divMidH1 {
  display: grid;
  grid:
    ". ."
    /1fr 1fr;
  width: 70%;
  margin: auto;
  border-radius: 10px;
  padding: 10px;
  margin-top: 50px;
}

#itemBGC h2 {
  margin-bottom: 0px;
  font-weight: bolder;
}

#toShop {
  width: 30%;
  margin-left: auto;
  color: white;
  border-radius: 5px;
}

.card-body {
  text-align: center;
}

.card-title {
  font-weight: bolder !important;
  margin-bottom: 10px;
}

#itemBGC {
  width: 100%;
  z-index: 20;
  overflow-x: auto;
}

#divUpperHalf {
  width: 70%;
  margin: auto;
}

#divBooking {
  text-align: center;
  margin-bottom: 30px;
}

#modelImg {
  max-width: 50%;
}

#divModelImg {
  grid-column: span 2;
  text-align: center;
}

.center {
  text-align: center;
}

.bottomOut {
  width: 100%;
}

.hide {
  visibility: hidden;
}

@keyframes marquee {
  from {
    transform: translateX(50%);
  }
  to {
    transform: translateX(-100%);
  }
}

.fa-house-chimney {
  font-size: 2rem;
  cursor: pointer;
}

.footer {
  color: white;
}

@media (max-width: 1024px) {
  .container {
    max-width: 100% !important;
  }

  #divUpperHalf {
    width: 100%;
  }

  #divTop {
    padding: 0px;
  }

  #arBGC {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    grid: ".";
    padding: 10px;
  }

  .carousel {
    width: 100%;
  }

  #divTicker {
    width: 100%;
  }

  #divMiddle {
    width: 100%;
    padding: 10px;
  }

  #divBottom {
    width: 100%;
    padding: 50px;
  }

  #pano {
    height: 300px;
  }

  #pano canvas,
  #pano div {
    height: 300px !important;
  }

  #arBGC h1 {
    margin-top: 10px;
  }

  #divMidH1 {
    width: 100%;
  }

  #itemBGC {
    padding: 20px;
  }
  .coupon{
    grid:
      ". ";
  }
}

@media (max-width: 576px) {
  #divTop {
    padding: 0px;
  }

  #arBGC {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    grid: ".";
    padding: 0px;
  }

  #divMiddle {
    padding: 10px;
    grid: ". .";
  }

  .modal-body table {
    font-size: 13px;
  }

  #divBottom {
    grid: ".";
    width: 100%;
    padding: 30px;
  }

  .carousel {
    width: 100%;
  }

  #pano {
    height: 200px;
  }

  #pano canvas,
  #pano div {
    height: 200px !important;
  }

  #divModelButton button {
    font-size: 14px;
    margin: auto;
    width: 100%;
  }

  #divModelButton {
    grid:
      ". . . . ."
      /1fr 0.1fr 1fr 0.1fr 1fr;
    width: 90%;
  }

  #arBGC h1 {
    width: 90%;
    margin-top: 10px;
  }

  #divMidH1 {
    width: 100%;
  }

  #toShop {
    width: 70%;
    font-size: 14px;
  }

  #divBottom {
    grid:
      "divBottomRight"
      "divBottomLeft";
  }

  #divBottomLeft {
    margin-top: 40px;
  }

  #itemBGC {
    padding: 10px;
  }

  #divModelImg {
    grid-column: span 1;
  }

  .cardOut {
    padding: 5px;
  }

  #divModelImg {
    margin-bottom: 20px;
  }

  .coupon{
    grid-template-columns: 1fr;
  }
}

.modal {
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.coupon{
  display: grid;
  grid-template-columns: 1fr; 
  margin: auto;
  margin-top: 20px;
  
}

.couponArea{
  display: grid;
  grid:
    ". . ."/1fr 2fr 0.1fr;
  margin: auto;
  margin-top: 20px;
  width: 100%;
  border: 1px solid white;
  border-radius: 1rem;
  padding: 1rem;
}

.couponArea img{
  width: 100%;
  max-height: 250px;
  border-radius: 1rem;
}

.couponArea button{
  height: 100%;
}


/* 翻譯按鈕的樣式 */
.translate-button {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 0 5px 5px 0;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity:0.6;
}

.translate-button:hover {
  background-color: #45a049;
  opacity:1;
}

/* Google Translate 工具區域的樣式 */
#google_translate_element {
  position: fixed;
  left: 40px;
  top: 0%;
  background-color: white;
  border: 1px solid #ddd;
  z-index: 1000;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  background: transparent;
}