@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200&display=swap');/*載入字型*/
#gtx-trans {
  display: none;
  }
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background-color: #353535;
}
.footer-content{
  background-color: #353535;
  color: #ffffff;
}
.container {
  height: 100vh; /* 提供足夠的高度供滾動 */
  position: relative;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #ff5e00;
}
.intro{
  display: grid;
  grid-template-columns: 40% 1fr 10%;
  grid-auto-rows: minmax(100px, auto);
}
.intro img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 120%;
}
.intro p{
  position: relative;
  top:15%;
  font-family:'Raleway', sans-serif;
  text-align: left;
  font-size: 24px;
  color: rgb(255, 255, 255);
}
.container1 {
  position: relative;
  height: 200vh;
  background-color: #353535;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
}
.container img {
  scale: 50%;
  position: relative;
  float: left;
  left: -10%;
  top: -20%;
}
.object {
  width: 100%;
  height: 100%;
  position: absolute;
}

.object:nth-child(1) {
  transform: scale(0.9);
  left: -35%; /* 設定第一個物體的初始X軸位置 */
  top: 100%; /* 設定第一個物體的初始Y軸位置 */
  animation-name: moveObject1;
}

.object:nth-child(2) {
  display: block;
  left: -10%; /* 設定第二個物體的初始X軸位置 */
  top: 150%; /* 設定第二個物體的初始Y軸位置 */
  animation-name: moveObject2;
}

.object:nth-child(3) {
  display: block;
  left: -20%; /* 設定第三個物體的初始X軸位置 */
  top: 100%; /* 設定第三個物體的初始Y軸位置 */
  animation-name: moveObject3;
}

@keyframes moveObject1 {
  0% {
      top: 100%;
  }
  100% {
      top: 20%;
  }
}

@keyframes moveObject2 {
  0% {
      top: 100%;
  }
  100% {
      top: 30%;
  }
}

@keyframes moveObject3 {
  0% {
      top: 100%;
  }
  100% {
      top: 0%;
  }
}

.center-text {
  font-family:'Raleway', sans-serif;
  font-style: initial;
  color: #ffffff;
  text-align: left;
  position: fixed;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  opacity: 1; /* 初始透明度為1 */
  transition: opacity 0.5s ease; /* 添加過渡效果 */
  z-index: 1; /* 將文字的堆疊順序設為最前面 */
}
.center-text2 {
  font-family:'Raleway', sans-serif;
  font-style: initial;
  color: #ffffff;
  text-align: left;
  position: fixed;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  opacity: 0; /* 初始透明度為1 */
  transition: opacity 0.5s ease; /* 添加過渡效果 */
  z-index: 1; /* 將文字的堆疊順序設為最前面 */
}
.center-text3 {
  font-family:'Raleway', sans-serif;
  font-style: initial;
  color: #ffffff;
  text-align: left;
  position: fixed;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  opacity: 0; /* 初始透明度為1 */
  transition: opacity 0.5s ease; /* 添加過渡效果 */
  z-index: 1; /* 將文字的堆疊順序設為最前面 */
}
.center-text4 {
  font-family:'Raleway', sans-serif;
  font-style: initial;
  color: #ffffff;
  text-align: left;
  position: fixed;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  opacity: 0; /* 初始透明度為1 */
  transition: opacity 0.5s ease; /* 添加過渡效果 */
  z-index: 1; /* 將文字的堆疊順序設為最前面 */
}
.content-div {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  /*height: 100vh;  設定內容區塊的高度 */
  background-color:#353535;
  padding-bottom: 50px;
}

.content-title{
  font-size: 50px;
  color: #ff5e00;
}
/* Styles for the navigation bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.ball {
  width: 300px;
  height: 300px;
  background-color: #ff5e00;
  border-radius: 50%;
  position:absolute;
  left: 20%;
  top:15%;
  transform: translateX(-50%);
  transition: width 0.2s, height 0.2s;
}
#navbar {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo {
  flex-grow: 1;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff5e00;
}

/* Style for the language dropdown */
.language-dropdown {
  display: flex;
  align-items: center;
  color: #404040;
}

/* Style for the flag icons */
.language-dropdown select img {
  width: 24px; /* Set the desired width for the icons */
  height: 24px; /* Set the desired height for the icons */
  margin-right: 10px; /* Add some spacing between the icon and text */
}

/* Rest of your CSS styles */


/* Style for the language select */
.language-dropdown select {
  background-color: #ff5e00;
  color: #ffffff;
  border: none;
  padding: 5px;
  font-size: 16px;
  appearance: none;
  margin-left: 20px; /* Add more space between the icon and the select */
}

/* Additional styles for the content of your website */
/* Adjust padding or margins to prevent content from being hidden by the fixed header */

/* Hide the navigation bar when at the top */
.header-hidden {
  top: -80px;
}

.filter-buttons {
  z-index: 1;
  margin: 30px 0;
}

.filter-button {
  margin: 10px 10px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  background-color: #ffffff;
  color: #ff5e00;
  border: none;
  border-radius: 20px;
  outline: none;
  transition: background-color 0.3s ease; /* Add a transition effect */
}

.filter-button.active {
  color: #ffffff;
  background-color: #ff5e00; /* Highlight color for the active button */
}

.card-container {
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background-color: #fff;
  margin: 10px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  text-decoration:none;
  color: #ffffff;
}

.card:hover {
  transform: scale(1.05); /* Scale up the card on hover */
}

.card .card-content {
  display: none; /* Initially hide additional content */
  color: #ffffff;
  font-size: 14px;
  margin-top: 10px;
}

.card:hover .card-content {
  display: block; /* Show additional content on card hover */
}
.contact-section {
  background-color: #ff5e00;
  color: #ffffff;
  display: flex;
  justify-content: center; /* Adjust as needed */
  align-items: center;
  height: 50vh; /* For full viewport height, adjust as needed */
}

.contact-item {
  z-index: 1;
  text-align: center;
  margin: 50px; /* Adjust the margin to bring items closer */
}

.contact-item img {
  width: 100px; /* Adjust the size of the icons */
}
html {
  scroll-behavior: smooth;
  scroll-behavior: smooth; /* 兼容性处理，针对Firefox */
  scroll-behavior: smooth; /* 兼容性处理，针对Safari */
  scroll-behavior: smooth; /* 兼容性处理，针对Edge和IE */
  scroll-behavior: smooth; /* 兼容性处理，针对Chrome */
  scroll-timeline: 60ms;
}

@media (max-width: 1000px) {
  .center-text {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 1; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
  .center-text2 {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
  .center-text3 {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
  .center-text4 {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
}

@media (max-width: 500px) {
  .nav-links li {
    display: none;
  }
  .center-text {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 1; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
  .center-text2 {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 60%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
  .center-text3 {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 60%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
  .center-text4 {
    font-family:'Raleway', sans-serif;
    font-style: initial;
    color: #ffffff;
    text-align: left;
    position: fixed;
    top: 60%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0; /* 初始透明度為1 */
    transition: opacity 0.5s ease; /* 添加過渡效果 */
    z-index: 1; /* 將文字的堆疊順序設為最前面 */
  }
  .object:nth-child(1) {
    transform: scale(0.3);
    left: -100%; /* 設定第一個物體的初始X軸位置 */
    top: 100%; /* 設定第一個物體的初始Y軸位置 */
    animation-name: moveObject1;
  }
  .object:nth-child(2) {
    transform: scale(0.3);
    display: block;
    left: 0%; /* 設定第二個物體的初始X軸位置 */
    top: 150%; /* 設定第二個物體的初始Y軸位置 */
    animation-name: moveObject2;
  }
  
  .object:nth-child(3) {
    transform: scale(0.3);
    display: block;
    left: -90%; /* 設定第三個物體的初始X軸位置 */
    top: 100%; /* 設定第三個物體的初始Y軸位置 */
    animation-name: moveObject3;
  }
  
  .intro img {
    display:none;
    margin-left: 50%;
    width: 180%;
    top: -10%;
  }
  .intro p{
    position: relative;
    top:15%;
    width: 150%;
    left:30%;
    font-family:'Raleway', sans-serif;
    text-align: left;
    font-size: 18px;
    color: rgb(255, 255, 255);
  }
  .contact-item {
    z-index: 1;
    text-align: center;
    margin: 50px; /* Adjust the margin to bring items closer */
  }
  .contact-item p{
    display: none;
  }
  .contact-item img {
    width: 50px; /* Adjust the size of the icons */
  }
  .card{
    width: 80%;
  }
  .container img {
    scale: 50%;
    position: relative;
    float: left;
    left: -90%;
    top: 0%;
  }
  .object:nth-child(1) {
    transform: scale(0.3);
    left: -92%; /* 設定第一個物體的初始X軸位置 */
    top: 90%; /* 設定第一個物體的初始Y軸位置 */
    animation-name: moveObject1;
  }
  
  .object:nth-child(2) {
    display: block;
    left: -20%; /* 設定第二個物體的初始X軸位置 */
    top: 120%; /* 設定第二個物體的初始Y軸位置 */
    animation-name: moveObject2;
  }
  
  .object:nth-child(3) {
    display: block;
    left: -30%; /* 設定第三個物體的初始X軸位置 */
    top: 100%; /* 設定第三個物體的初始Y軸位置 */
    animation-name: moveObject3;
  }
}