@import url(reset.css);

body {
  background-size: cover;
  font-family: "Noto Sans TC", sans-serif; 
  color: white;
  font-size: 16px;
  letter-spacing: 3px;
  text-shadow: 0 2px 2px rgba(0, 0, 0, .7);
  height: 100%;
}

body.front_page, body.about_page, body.comp_page, body.film_page, body.sound_page {
  background: linear-gradient(180deg,rgba(1, 37, 91, 1) 0%, rgba(70, 47, 96, 1) 25%, rgba(131, 96, 122, 1) 50%, rgba(70, 47, 96, 1) 75%, rgba(1, 37, 91, 1) 100%);
}

body.portfolio_page {
  background-image: url(../image/portfolio_bg.jpg);
  background-position: center;
  background-attachment: fixed;
}

body.act_page {
  background-image: url(../image/activities_bg.jpg);
  background-position: center;
  background-attachment: fixed;
}

body.service_page {
  background-image: url(../image/service_bg.jpg);
  background-position: center;
  background-attachment: fixed;
}

body.contact_page {
  background-image: url(../image/contact_bg.jpg);
  background-position: center;
  background-attachment: fixed;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
}

body.comp_page, body.film_page, body.sound_page, body.act_page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper2 {
  flex: 1;
}

/* ---------- component ----------*/
.theme {
  font-size: 96px;
  height: 110px;
  text-align-last: justify;
  letter-spacing: 0px;

  max-width: 500px;
  border-bottom: 6px solid #77FFF3;
  box-shadow: 0 2px 0px rgba(0, 0, 0, .5);
}

.title {
  font-size: 32px;
  letter-spacing: 0px;
  height: 40px;
  margin: 30px 40px 10px;
  text-align-last: justify;
  max-width: 160px;
  border-bottom: 4px solid #77FFF3;
  box-shadow: 0 2px 0px rgba(0, 0, 0, .5);
}

.title2 {
  font-size: 64px;
  letter-spacing: 0px;
  height: 80px;
  margin: 120px auto 40px;
  text-align-last: justify;
  max-width: 400px;
  border-bottom: 8px solid #77FFF3;
  box-shadow: 0 2px 0px rgba(0, 0, 0, .5);
}

.subtitle {
  margin: 0 auto;
  font-size: 26px;
  text-align-last: justify;
  letter-spacing: 0px;
  height: 34px;

  max-width: 100px;
  border-bottom: 4px solid #77FFF3;
  box-shadow: 0 2px 0px rgba(0, 0, 0, .5);
}

.text {
  margin: 20px auto 40px;
  line-height: 1.5;
  text-align: justify;
}

.more {
  color: white;
  width: 1000px;
  margin: 40px auto;
  display: flex;
  justify-content: right;
}

/* ---------- back to the top ----------*/

html {
  scroll-behavior: smooth;
}

.btn-top svg {
  width: 40px;
}

.btn-top {
  position: fixed;
  bottom: 30px;
  right: 60px;

  z-index: 800;
}

/* ---------- header ----------*/
.front_page header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgb(1, 37, 91) 40%, rgba(1, 37, 91, 0));
  padding-bottom: 5px;

  opacity: 0;
  animation: fadeIn 1.5s ease-in forwards;
  animation-delay: 2s;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(1, 37, 91, 1) 40%, rgba(1, 37, 91, 0));
  padding-bottom: 5px;

}

.bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  height: 50px;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.logo-area img {
  height: 30px;
  width: auto;
  display: block;
  transition: transform 0.3s;
}

.logo-area p {
  margin-left: 15px;
  color: white;
  white-space: nowrap;
}

.bar img:hover {
  transform: scale(1.2);
}

.bar i {
  display: none;
}

.bar ul {
  display: flex;
  width: 700px;
  margin-left: auto;
}

.bar li {
  flex-grow: 1;
  position: relative;
  text-align: center;
}

.bar a {
  letter-spacing: 0.6;
  text-decoration: none;
  color: white;
  line-height: 50px;
  display: block;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
}

/* ---------- submenu ----------*/
.bar ol {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  /* background: linear-gradient(to top, rgba(1, 37, 91, 1)50%, rgba(1, 37, 91, 0)); */
  background: radial-gradient(ellipse, rgba(1, 37, 91, 1) 40%, rgba(1, 37, 91, 0));
  border-radius: 0 0 20px 20px;
  padding: 0 0 5px 0;
  z-index: 999;
}

.bar ol li {
  text-align: center;
}

/* ---------- submenu hover and show ----------*/
.bar a:hover {
  color: #77FFF3;
}

.bar ol a:hover {
  color: #77FFF3;
}

.bar li:hover ol {
  display: block;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  z-index: 999;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
}

/* ---------- footer ----------*/
footer {
  margin: 0 auto;
  text-align: center;
  height: 40px;
  line-height: 40px;
}

/* ---------- front page animation_logo ----------*/
section {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.logo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  opacity: 1;
  background-image: url("../image/logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 3;
  animation: logoZoom 1.5s ease-out forwards;
}

@keyframes logoZoom {
  0% {
    transform: scale(0.2);
  }

  40% {
    transform: scale(1.5);
  }

  60% {
    transform: scale(0.6);
  }

  80% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

#brand-text {
  position: absolute;
  color: white;
  font-size: 96px;
  font-weight: bold;
  display: flex;
  letter-spacing: 36px;
  text-align: center;
  line-height: 1.4;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(1);
  z-index: 4;
  top: 30%;
  width: 100%;

  animation: brandZoom 1.5s ease-in forwards;
  animation-delay: 1.5s;
}

#notes {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 30px;
  opacity: 0;
  transform: scale(1);
  z-index: 4;
  animation: brandZoom 1.5s ease-in forwards;
  animation-delay: 1.5s;
}

#brand-text.show,
#notes.show {
  opacity: 1;
}

@keyframes brandZoom {
  0% {
    opacity: 0;
    transform: scale(0.6);

  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- front page animation_gradient bg ----------*/
:root {
  --color1: 18, 113, 255;
  --color2: 221, 74, 255;
  --color3: 100, 220, 255;
  --color4: 200, 50, 50;
  --color5: 180, 180, 50;
  --color-interactive: 140, 100, 255;
  --circle-size: 80%;
  --blending: hard-light;
}

.gradient-bg {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
  top: 0;
  left: 0;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
}

.gradient-bg svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.gradient-bg .gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
}

.g1 {
  position: absolute;
  background: radial-gradient(circle at center,
      rgba(var(--color1), 0.8) 0,
      rgba(var(--color1), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);

  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);

  transform-origin: center center;
  animation: fadeIn 1s ease forwards, moveVertical 30s ease infinite;
  animation-delay: 1.5s, 1.5s;

  opacity: 0;
}

.g2 {
  position: absolute;
  background: radial-gradient(circle at center,
      rgba(var(--color2), 0.8) 0,
      rgba(var(--color2), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);

  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);

  transform-origin: calc(50% - 400px);
  animation: fadeIn 1s ease forwards, moveInCircle 20s reverse infinite;
  animation-delay: 1.5s, 1.5s;

  opacity: 0;
}

.g3 {
  position: absolute;
  background: radial-gradient(circle at center,
      rgba(var(--color3), 0.8) 0,
      rgba(var(--color3), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);

  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);

  transform-origin: calc(50% + 400px);
  animation: fadeIn 1s ease forwards, moveInCircle 40s linear infinite;
  animation-delay: 1.5s, 1.5s;
  opacity: 0;
}

.g4 {
  position: absolute;
  background: radial-gradient(circle at center,
      rgba(var(--color4), 0.8) 0,
      rgba(var(--color4), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);

  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);

  transform-origin: calc(50% - 200px);
  animation: fadeIn 1s ease forwards, moveHorizontal 40s ease infinite;
  animation-delay: 1.5s, 1.5s;

  opacity: 0;
}

.g5 {
  position: absolute;
  background: radial-gradient(circle at center,
      rgba(var(--color5), 0.8) 0,
      rgba(var(--color5), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);

  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));

  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: fadeIn 1s ease forwards, moveInCircle 20s ease infinite;
  animation-delay: 1.5s, 1.5s;
  opacity: 0;
}

.interactive {
  position: absolute;
  background: radial-gradient(circle at center,
      rgba(var(--color-interactive), 0.8) 0,
      rgba(var(--color-interactive), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);

  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;

  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(50%);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }

  50% {
    transform: translateX(50%) translateY(10%);
  }

  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

/* ---------- introduction ----------*/
.intro ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 160px;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 20px;
  padding: 0;
  list-style-type: none;
}

.intro li {
  width: 300px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.3);

  box-sizing: border-box;
  text-align: center;
}

.intro p {
  padding-top: 20px;
  line-height: 1.5;
  text-align: justify;
}

/* ---------- other content_service ----------*/
.content {
  margin: 10px auto;
  padding: 20px;
}

.content ul {
  display: flex;
  position: relative;
}

.content li {
  width: 100%;

}

.content p {
  text-decoration: none;
  font-size: 20px;
  line-height: 1.5;
  width: 640px;
  margin: 40px 40px;

  text-align: justify;
}

.more1 {
  color: white;
  width: 640px;
  margin: 40px 40px 0;
  display: flex;
  justify-content: right;
}

.content .smalllogo {
  /* border: 1px solid red; */
  width: 30%;
  position: absolute;
  right: 40px;
  bottom: -20px;
}

/* ---------- other content_portfolio ----------*/
.port-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.player {
  margin: 40px auto 0;
  /* display: flex; */
  width: 90%;
  width: 1000px;

  overflow: hidden;
  position: relative;
}

.player ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: transform 0.3s ease;
  /* cursor: grab; */
}

/* .player ul:active {
  cursor: grabbing;
} */

.player li {
  width: 200px;
  height: 240px;
  box-sizing: border-box;
  border: 8px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  margin-right: 25px;
  flex-shrink: 0;

  position: relative;
  overflow: hidden;
}

.player li:last-child {
  margin-right: 0;
}

.player li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #77FFF3;
  z-index: 10;
}

.player li iframe {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.marquee-container {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  position: relative;
  height: 220px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 50px auto 0;
}

.marquee-track {
  display: flex;
  gap: 10px;
  animation: scroll-left 35s linear infinite;
  width: calc(220px * 6 * 2 + 10px * 6 * 2);
}

.marquee-container.paused .marquee-track {
  animation-play-state: paused;
}

.marquee-track img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- other content_contact ----------*/

.contact ul {
  display: flex;
  justify-content: center;
}

.info {
  display: flex;
  align-items: flex-start;
  /* 讓子元素從頂部對齊 */
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

.info-detail {
  display: flex;
  flex-direction: column;
}

.info-detail .title{
  margin: 30px 0px 10px;
}

.info-detail:last-child {
  align-self: center;
  /* 讓第二個子元素（文字內容）垂直居中 */
  padding-top: 0;
  /* 移除可能的頂部間距 */
}

.info-photo1 {
  width: 480px;
  border: 16px solid rgba(255, 255, 255, 0.3);
  margin-right: 80px;
  display: block;
}

.info-photo2 {
  width: 240px;
  border: 16px solid rgba(255, 255, 255, 0.3);
  margin-right: 80px;
  display: none;
}

.contact i {
  color: white;
  font-size: 20px;
}

.fa-regular,
.fa-brands,
.fa-solid {
  margin-right: 10px;
}

.contact p {
  padding: 10px 0;
  text-align: justify;
}

.follow {
  display: flex;
  align-items: center;
  padding: 20px 0;
  margin: 0;
}

.follow-more {
  display: block;
  text-wrap: nowrap;
}

.follow li {
  padding: 10px 0;
  margin-right: 20px;
  display: flex;
  align-items: center;
}

/* ---------- about ----------*/
.about-container {
  max-width: 1000px;
  margin: 100px auto 0;
  padding-top: 0;
}

.theme-rwd {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 60px;
  row-gap: 20px;
}

.grid .photo {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  padding: 20px;
  min-height: 300px;
  margin-left: 20px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.grid .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(
      ellipse 60% 60% at 50% 50%,
      black 0%,
      black 30%,
      rgba(0, 0, 0, 0.5) 60%,
      transparent 85%
  );
  mask-image: radial-gradient(
      ellipse 60% 60% at 50% 50%,
      black 0%,
      black 30%,
      rgba(0, 0, 0, 0.5) 60%,
      transparent 85%
  );
}

.text-top-right {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  padding: 20px;
  border-radius: 5px;
}

.text-bottom-left {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  padding: 20px;
  border-radius: 5px;
}

.text-bottom-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  padding: 20px;
  border-radius: 5px;
}

.text-top-right .theme {
  max-width: 240px;
}

.about-container .title{
  margin: 10px 0px 10px;

}

.grid .p {
  margin-top: 100px;
}

/* ---------- Portfolio ----------*/
.port-kc {
  max-width: 1200px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.port-kc .theme {
  width: 500px;
  margin: 160px auto 0;

}

.type {
  display: flex;
  justify-content: space-between;
  padding: 100px;
}

.type li {
  border: 4px solid #77FFF3;
  width: 240px;
  height: 80px;
  text-align: center;
  line-height: 80px;

  position: relative;
}

.type a {
  display: block;
  font-size: 32px;
  letter-spacing: 2;
  text-decoration: none;
  color: white;

  width: 100%;
  height: 100%;
  position: absolute;
  top: -2px;
  left: 0;
  z-index: 2;
}

.type a:hover {
  color: #77FFF3;
}

.type li:hover:after {
  content: '';
  position: absolute;
  width: 90%;
  height: 70%;
  border: 1px solid #77FFF3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ---------- content ----------*/

.portfolio .title {
  margin: 0 auto;
}

.video {
  display: block;
  width: 100%;
  max-width: 960px; 
  height: auto;
  aspect-ratio: 960/472; 

  margin: 40px auto 20px;
  border: 18px solid rgba(255, 255, 255, 0.4);
}

/* ---------- comp and arr music search ----------*/
.search-area {
  margin: 60px auto 20px;
  width: 80%;
  display: flex;
  align-items: center; 
  gap: 4px;  
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
  padding: 5px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0;  
  flex-grow: 1;  
}

.search-tag {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  color: #77FFF3;
  border: 1px solid #77FFF3;
  border-radius: 20px;
  font-size: 14px;
}

.search-button {
  background-color: rgba(255, 255, 255, 0);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.search-button i {
  display: block;
  font-size: 1.2em;
  color: white;
}

.tutorial {
  margin: 0px auto 20px;
  width: 80%;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.4);
  text-shadow: initial;
}

.tag-text {
  margin-right: 5px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0px auto;
  width: 82%;
  gap: 15px;
  padding-top: 10px;
  padding-bottom: 20px;
}

.category-tab {
  padding: 8px 16px;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-tab:hover {
  font-weight: bold;
}

.category-tab.active {
  color: #77FFF3;
}

.tabs-container {
  margin-bottom: 20px;
}

.tabs-group {
  display: none;
  margin: 0px auto;
  width: 80%;
}

.tabs-group.active {
  display: block;
}

.content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 14px;
}

.content-tab {
  padding: 8px 16px;
  border: 1px solid white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.content-tab:hover {
  color: #77FFF3;
  font-weight: bold;
  border: 1px solid #77FFF3;
}

.tag-category {
  font-size: 12px;
  opacity: 0.8;
  margin-right: 8px;
}

.tag-remove {
  cursor: pointer;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
}

.tag-remove:hover {
  font-weight: bold;
}

.results-section {
  margin: 40px auto;
  width: 80%;
  max-width: 960px;
}

#resultsList {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.result-item {
  width: calc(25% - 15px);
  aspect-ratio: 5/6;
  padding: 12px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.no-results {
  text-align: center;
  padding: 30px;
  color: white;
  width: 100%;
}

.results-count {
  margin-bottom: 15px;
}

.player-container {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.player-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.player-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #77FFF3;
  z-index: 10;
}

/* ---------- game music----------*/
#mainVideo {
  display: block;
  width: 100%;
  max-width: 780px; 
  height: auto;
  aspect-ratio: 780/440; 

  margin: 40px auto 20px;
  border: 18px solid rgba(255, 255, 255, 0.4);
}

.thumbnails-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 40px;
}

.arrow {
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.thumbnails {
  width: 520px;
  overflow: hidden;
}

.thumb-track {
  display: flex;
  transition: transform 0.3s ease;
}

.thumb {
  width: 120px;
  height: 68px;
  margin: 5px;
  flex-shrink: 0;
  cursor: pointer;
}

.thumb.active {
  border: 3px solid white;
  border-radius: 4px;
  box-sizing: border-box;
}

/* ---------- sound design----------*/
#mainImage {
  display: block;
  width: 100%;
  max-width: 780px; 
  height: auto;
  aspect-ratio: 780/440; 

  margin: 40px auto 20px;
  border: 18px solid rgba(255, 255, 255, 0.4);
}

.thumbnails-wrapper2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 40px;
}

.arrow2 {
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.thumbnails2 {
  width: 520px;
  overflow: hidden;
}

.thumb-track2 {
  display: flex;
  transition: transform 0.3s ease;
}

.thumb2 {
  width: 120px;
  height: 68px;
  margin: 5px;
  flex-shrink: 0;
  cursor: pointer;
}

.thumb2.active {
  border: 3px solid white;
  border-radius: 4px;
  box-sizing: border-box;
}

/* ---------- activities ----------*/
.act-kc {
  position: static;
  max-width: 90%;
  right: auto;
  top: auto;
  margin: 88vh auto 0;
  padding-bottom: 0;
}

.act-kc .theme {
  position: absolute;
  bottom: 20vh;
  right: 16vh;
  max-width: 500px;
  text-align: right;
}

.lightbox {
  top: 50% !important;
  transform: translateY(-50%) !important;
  position: fixed !important;
}

/* ---------- album ----------*/
.album-container {
  margin: 0 auto 40px;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 0px rgba(0, 0, 0, .5);
}

.album-tabs {
  display: flex;
  font-size: 24px;
  text-decoration: none;
  color: white;
  height: 60px;
  line-height: 60px;
  justify-content: space-around;
  border-bottom: 1px solid #77FFF3;
  padding: 10px 0;
}

.album-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: white;
  transition: transform 0.3s;
  transition: color 0.3s;
}

.album-tab:hover {
  font-weight: bold;
  color: #77FFF3;
}

.album-tab.active {
  color: #77FFF3;
}

.album-tab i {
  margin-bottom: 5px;
}

.album-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px;
}

.album-grid.active-tab {
  display: grid;
}

.album-grid-item {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.album-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.album-grid-item img:hover {
  transform: scale(1.1);
}

/* ---------- service page ----------*/
.ser-kc {
  margin: 0 auto;
  width: 80%;
}

.ser-kc .theme {
  max-width: 500px;
  margin: 45vh auto;
}

.ser-kc .title {
  margin: 100px auto 0;
  width: 180px;
}

/* ---------- discount ----------*/

.content {
  margin: 0;
  padding: 0;
}

.item {
  background-image: url(../image/item0.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  max-width: 1000px;
  max-height: 340px;
  outline: 24px solid rgba(255, 255, 255, 0.3);
  margin: 60px auto 0;

  display: flex;
  flex-direction: column;

  position: relative;
}

.item-container {
  display: block;
  height: auto;
  text-decoration: none;
  color: white;
  font-size: 38px;
  letter-spacing: 20px;
  line-height: 1.6;
  text-align: center;
}

.item-container h3 {
  padding: 40px;
}

.countdown {
  display: flex;
  background-color: rgba(255, 255, 255, 0.5);
  max-width: 230px;
  height: 80px;
  color: black;
  text-shadow: none;

  flex-direction: column;
  justify-content: center;

  position: absolute;
  bottom: 0;
  right: 0;
}

.countdown .time-remain{
  max-width: 230px;
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.countdown .clock {
  max-width: 230px;
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* ---------- service info ----------*/

.item2 {
  background-color: rgba(255, 255, 255, 0.3);
  background-size: 100%;
  max-width: 1000px;

  outline: 24px solid rgba(255, 255, 255, 0.3);
  margin: 60px auto 0;
}

.item2 ul {
  max-width: 1000px;
  height: 300px;
  margin-bottom: 40px;

  display: flex;
}

.item2 li {
  background-size: cover;
  background-position: center center;
  border: 4px solid white;

  font-size: 38px;
  text-align: center;
  line-height: 300px;

  transition: .5s;
}


.item2-content1 {
  background-image: url(../image/item1.jpg);
  flex-grow: 1;

  position: relative;
}

.item2-content1 a {
  text-decoration: none;
  color: white;
  display: block;
}


.item2-content2 {
  background-image: url(../image/item2.jpg);
  flex-grow: 1;
}

.item2-content2 a {
  text-decoration: none;
  color: white;
  display: block;
}

.item2-content3 {
  background-image: url(../image/item3.jpg);
  flex-grow: 1;
}

.item2-content3 a {
  text-decoration: none;
  color: white;
  display: block;
}

.item2-content4 {
  background-image: url(../image/item4.jpg);
  flex-grow: 1;
}

.item2-content4 a {
  text-decoration: none;
  color: white;
  display: block;
}

.item2-content5 {
  background-image: url(../image/item5.jpg);
  flex-grow: 1;
}

.item2-content5 a {
  text-decoration: none;
  color: white;
  display: block;
}

.item2-content6 {
  background-image: url(../image/item6.jpg);
  flex-grow: 1;
}

.item2-content6 a {
  text-decoration: none;
  color: white;
  display: block;
}

.item2 li:hover {
  flex-grow: 3;
}

/* ---------- contact page ----------*/
.contact-kc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  margin: 6vh auto;
  justify-content: center;
  max-width: 1200px;
}

.theme-container {
  margin: 250px 0px 60px;
  padding: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-kc .theme {
  width: 400px;
  margin-bottom: 10px;
}

.theme-container p {
  margin: 40px 0px;
  font-size: 22px;
  line-height: 1.8;
  width: 430px;
}

/* ---------- form ----------*/
.form {
  margin: 100px 0px 60px;
  width: 400px;
  margin-top: 68px;
  padding: 10px;
  box-sizing: border-box;
}

ol {
  padding-bottom: 25px;
}

.form p {
  font-size: 20px;
  padding-bottom: 10px;
}

.form input {
  width: 95%;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 0;
  border-radius: 4px;
  padding:0 8px;
  color: white;
}

.form textarea {
  width: 95%;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 0;
  border-radius: 4px;
  padding: 4px 8px;
  color: white;
}

.form .send {
  display: block;
  width: 50%;
  height: 32px;
  font-size: 20px;
  letter-spacing: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: 0;
  margin: 0 auto;
}

.form-group2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 20px;
  gap:4px;
}

.form-group2 p {
  flex: 1 0 100%;
}

.form-group2 label {
  display: flex;
  align-items: center;
}

.form-group2 input[type="radio"] {
  width: auto;
  margin-right: 5px;
}

.form-group2 input,
.form-group2 span {
  flex: 0 0 auto;
}

