/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

body {
  font-family: 思源黑體 , 微軟正黑體 , 蘋方黑體 , 華康麗黑體 , Helvetica , Arial , sans-serif , serif;
  background-color: #ffffff;
}






/* Footer */
.footer-container{
  display: flex;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 70px;
  margin: 0;
  background-color: #ffffff;
}

.footer-empty{
  background-color: #ffffff;
}

.footer-info {
  display: block;
  padding: 20px;
  width: 25%;
}
.footer-about{
  display: flex;
  flex-direction: row;
  padding: 20px;
  margin-left: 100px;
  width: 75%;
}


#footer .heading{color:black;}
#footer hr, #footer .borderedbox, #footer .linklist li{border-color:rgba(255,255,255,.1);}

#footer input, #footer button{border-color:transparent;}
#footer input{color:black; background-color:#ffffff;}
#footer input:focus{border-color: black;}

.info{
  margin-block-start: 1em;
  margin-block-end: 1em;
}

.info-title{
  font-weight: bold;
  font-size: 26px;
}

.footer-title{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 26px;
  flex: 1;
  align-items: center;
}

.footer-title ul{
  padding: 0;
}
.footer-title ul li{
  padding-top: 1em;
}
.footer-hr{
  width: 100%;
  border: solid 2px;  
}
.footer-content{
  padding-left: 10%;
}

.footer-content {
font-size: 18px; /* 這裡可以調整字體大小，例如調整為 14px */
font-weight: lighter;
}

@media screen and (max-width: 1100px) {
  .footer-info, .footer-about {
    width: 100%;
  }

  .footer-about {
    display: none;
  }
  
  
  .footer-info iframe {
    display: block;
  }
}


/*body*/
.row {
    display: flex;
  }

  
  
  .container {
    display: flex;
    max-width: 90%; /* 最大寬度 */
    margin: auto; /* 水平置中 */
    padding: 30px ; /* 邊距 */
    background-color: #fff;
    border-radius: 8px;
    text-align: center; /* 文字置中 */
}

.container_logo{
  display: flex;
  max-width: 40%; /* 最大寬度 */
  margin: auto; /* 水平置中 */
  padding: 30px ; /* 邊距 */
  background-color: #fff;
  border-radius: 8px;
  text-align: center; /
}


h1, h3, h4, h5{
  font-weight: bold; /* 將所有 h1 標籤的文字設置為粗體 */
  text-align: center;
  line-height: 42px;
}

h1{
    font-size: 40px;
    letter-spacing: 2px;
    color: #003D79;
    text-align: center;
}

h2{
  font-weight: bold; /* 將所有 h1 標籤的文字設置為粗體 */
  text-align: center;
  line-height: 42px;
}

h3{
    font-size: 28px;
    letter-spacing: 2px;
    color: #003D79;
    text-align: center;
}

h4{
    font-size: 26px;
    letter-spacing: 2px;
    color: #003D79;
    text-align: center;
}

h5{
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 2px;
  color: black;
  text-align: left;
}


h6{
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 2px;
    color: black;
    text-align: center;
}

.stru {
    display: flex;
    /* 水平置中 */
    justify-content: center;    
    /* 垂直置中 */
    align-content: center;      
    flex-wrap: wrap;
}

.product {
    text-align: auto;
    display: flex;
    /* 水平置中 */
    justify-content: center;    
    /* 垂直置中 */
    align-content: center;      
    flex-wrap: wrap;
}


.card{
    /*box-model*/
    height: 428px;
    width:428px;  
  }
  @media(max-width: 540px) {

  
}

.flip-card-container {
    /*box-model*/
    height:100%;
    width: 100%;
    box-sizing: border-box;
    /*style*/
    border: #003D79 solid 2px;
  }
  
.front, .back{
    /*display*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*box-model*/
    height:100%;
    width:100%;
}
  .front{
    /*style*/
    font-size: 40px;
    background-color: #ffffff;
    color: #003D79;
    /* 水平置中 */
    justify-content: center;    
    /* 垂直置中 */
     align-content: center;   
  }
  
  .back{
    /*style*/
    background-color: #ffffff;
    font-size: 40px;
    color: #003D79;
    /* 水平置中 */
    justify-content: center;    
    /* 垂直置中 */
    align-content: center;   
  }
  
  
  /*for flip card*/
  .card{
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  .flip-card-container{
    /*position*/
    position: relative;
    /*flip card*/
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  .card:hover .flip-card-container{
    transform: rotateY(180deg);
  }
  
  .front{
    /*Position*/
    position: absolute;
    /*Flip Card*/
    backface-visibility: hidden;
  }
  
  .back{
    /*Position*/
    position: absolute;
    /*Flip Card*/
    transform: rotateY(180deg);
    backface-visibility: hidden;
  }


  /* 整個表單容器 */
form {
  max-width: 100%; /* 控制表單寬度 */
  margin: 0 auto; /* 將表單置中 */
  padding: 20px; /* 增加內邊距 */
  background-color: #d0e2f6; /* 背景色 */
}

/* 標題樣式 */
h2 {
  font-size: 24px;
  color: #333; /* 文字顏色 */
  margin-bottom: 20px; /* 底部邊距 */
}

/* 單行輸入框 */
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 45%; /* 填滿父容器寬度 */
  padding: 10px; /* 內邊距 */
  margin-bottom: 20px; /* 底部邊距 */
  border: 1px solid #ccc; /* 邊框 */
  box-sizing: border-box; /* 盒模型 */
  border-radius: 4px; /* 圓角 */
}

/* 文本區域輸入框 */
textarea {
  width: 100%; /* 填滿父容器寬度 */
  padding: 10px; /* 內邊距 */
  margin-bottom: 20px; /* 底部邊距 */
  border: 1px solid #ccc; /* 邊框 */
  border-radius: 4px; /* 圓角 */
  box-sizing: border-box; /* 盒模型 */
}

/* 提交按鈕 */
input[type="button"] {
  background-color: #22568d; /* 按鈕背景色 */
  color: #fff; /* 文字顏色 */
  padding: 10px 20px; /* 內邊距 */
  border: none; /* 移除邊框 */
  border-radius: 4px; /* 圓角 */
  cursor: pointer; /* 指針形狀 */
}

/* 提交按鈕懸停效果 */
input[type="button"]:hover {
  background-color: #0056b3; /* 按鈕背景色 */
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: none;
  color: black;
  }

.left-aligned-text h6{
  width: 100%;
  max-width: 800px; /* 最大寬度 */
  margin: 0 auto; /* 水平置中 */
  padding: 20px; /* 邊距 */
    text-align: left !important; 
  }
  