@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Noto+Serif+TC:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
.moreBtn {
  position: absolute;
}
.moreBtn a {
  color: #2c4c47;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 1px;
  font-family: "Cormorant", "Noto Serif TC", serif;
  font-weight: 700;
}
.moreBtn::before {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: #2c4c47;
  position: absolute;
  top: -5px;
  left: 0;
  transition: width 0.3s ease-in-out;
}
.moreBtn:hover::before {
  width: 100%;
}
@media (max-width: 768px) {
  .moreBtn a {
    font-size: 18px;
  }
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #DEDBD4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
}
.preloader .loader {
  width: 48px;
  height: 48px;
  border: 3px solid #7A9283;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.font-deco {
  font-family: "Cormorant", serif;
  color: white;
  font-size: 13px;
  text-transform: uppercase;
}

body {
  background-color: white;
}

.programsDoorBox {
  padding-top: 100px;
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.programsDoorBox .decoWord {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 90;
  pointer-events: none;
}
.programsDoorBox .decoWord img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}
.programsDoorBox .wrap {
  display: flex;
  width: 100%;
}
.programsDoorBox .cataDoor {
  height: calc(100dvh - 100px);
  width: 33.3333333333%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: rgba(225, 220, 214, 0.5);
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}
.programsDoorBox .cataDoor .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-blend-mode: multiply;
  z-index: 49;
  transition: background-color 0.3s ease;
}
@media (max-width: 1024px) {
  .programsDoorBox .cataDoor .overlay {
    background-color: rgba(215, 215, 215, 0.7);
  }
  .programsDoorBox .cataDoor .overlay .marquee {
    opacity: 1;
  }
}
.programsDoorBox .cataDoor .overlay .marquee {
  position: absolute;
  width: 100%;
  top: 75%;
  transform: translateY(50%);
  left: 0;
  max-width: 100%;
  opacity: 0;
  overflow: hidden;
}
.programsDoorBox .cataDoor .overlay .track {
  white-space: nowrap;
  will-change: transform;
  display: flex;
  width: fit-content;
  gap: 30px;
}
.programsDoorBox .cataDoor .overlay .content {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
  animation: marquee 10s linear infinite;
}
@keyframes marquee {
  0% {
    transform: translateX(calc(-100% - 30px));
  }
  100% {
    transform: translateX(0);
  }
}
.programsDoorBox .cataDoor:hover .overlay {
  background-color: rgba(225, 220, 214, 0.8);
  background-blend-mode: multiply;
}
.programsDoorBox .cataDoor:hover .overlay .marquee {
  opacity: 1;
}
.programsDoorBox .cataDoor:hover .imgBox {
  opacity: 1;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  border-radius: 0;
  z-index: 2;
}
.programsDoorBox .cataDoor:hover .imgBox img {
  transform: scale(1);
}
.programsDoorBox .cataDoor:hover .decoBox {
  opacity: 0;
}
.programsDoorBox .cataDoor .titleBox {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif TC", "Cormorant", serif;
  font-weight: 600;
  line-height: 40px;
  color: #2c4c47;
  transition: color 0.5s ease-in-out;
}
.programsDoorBox .cataDoor .titleBox p {
  font-size: 30px;
}
.programsDoorBox .cataDoor .titleBox span {
  font-size: 26px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .programsDoorBox .cataDoor .titleBox span {
    font-size: 18px;
  }
}
.programsDoorBox .cataDoor .decoBox {
  width: 320px;
  height: 240px;
  position: absolute;
  bottom: 230px;
  right: -3px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.programsDoorBox .cataDoor .decoBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.programsDoorBox .cataDoor .imgBox {
  position: absolute;
  width: 100%;
  height: 240px;
  bottom: 0;
  left: 0;
  border-radius: 0 100px 0 0;
  overflow: hidden;
  opacity: 1;
  transition: all 0.5s ease-in-out;
}
.programsDoorBox .cataDoor .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
@media (max-width: 1024px) {
  .programsDoorBox {
    padding-top: 58px;
  }
  .programsDoorBox .wrap {
    display: flex;
    flex-direction: column;
  }
  .programsDoorBox .cataDoor {
    width: 100%;
    height: calc((100vh - 58px) / 3);
  }
  .programsDoorBox .cataDoor .imgBox {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .programsDoorBox .cataDoor .decoBox {
    display: none;
  }
  .programsDoorBox .cataDoor .titleBox {
    line-height: 36px;
  }
  .programsDoorBox .cataDoor .titleBox p {
    font-size: 26px;
  }
  .programsDoorBox .cataDoor .titleBox span {
    font-size: 22px;
  }
  .programsDoorBox .decoWord {
    display: none;
  }
}
@media (max-width: 768px) {
  .programsDoorBox .cataDoor .titleBox {
    line-height: 30px;
  }
  .programsDoorBox .cataDoor .titleBox p {
    font-size: 20px;
  }
  .programsDoorBox .cataDoor .titleBox span {
    font-size: 18px;
  }
  .programsDoorBox .cataDoor .overlay .track {
    gap: 30px;
    transform: scale(0.8);
  }
}