.flex-h {
    display: flex;
}

/*宣告flex*/
.flex-between {
    justify-content: space-between;
}

/*flex橫排均分*/
.flex-left {
    justify-content: flex-start;
}

/*flex靠左對齊*/
.flex-right {
    justify-content: flex-end;
}

/*flex靠右對齊*/
.flex-center {
    justify-content: center;
}

/*flex靠中對齊*/
.flex-start {
    align-items: flex-start;
}

/*flex靠上對齊*/
.flex-middle {
    align-items: center;
}

.kv-web{display:inline-block;}
.kv-mobile{display:none;}

.display-web{display:inline-block;}
.display-mobile{display:none;}
/*flex上下置中對齊*/
.clear {
    clear: both;
}

img {
    max-width: 100%;
    height: auto;
}


body {
    font-family: "Microsoft JhengHei", sans-serif, Verdana, Geneva;
/*  background: url(../images/kv_bg.jpg);*/
    background-repeat: no-repeat;
    background-position: center top; 
    background-image: linear-gradient(180deg, #22afe6 0%, #e0f2f9 100%);
}

.kv_bg {    
   text-align: center;
}

.container {
    max-width: 1200px;
}

.mt {
    margin-top: -50px;
}

h1 {
    font-family: "Microsoft JhengHei";
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    color: #e95c84;
    position: relative;
}

h2{
    font-size: 56px;
    font-weight: bold;
    color: #fe7c00;
    margin: 15px 0px 35px 0px;    
}


p,ol{font-size: 35px; color: #787878; font-weight: bold;}
ol.listabc{
   list-style-type: upper-alpha;
   font-size: 35px;
   margin-left: 5px;
}

.text-center span.tag{
   color: #2599ea;
   font-size: 35px;
   font-weight: bold;
}

.content {
    margin: 0px auto;
    margin-bottom: 30px;
}

.button {
    padding: 10px 0px 30px;
    text-align: center;
}

.button a img {
    width: 280px;
    height: 120px;
    /*transition-duration: 0.3s;*/
}

.button a:hover img {
    /*transform: translateY(5px);*/
    text-decoration: none;
}



/* ------ 動態 ------ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px); /* 從下方40px的位置開始 */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* 回到原始位置 */
    }
}

.animate-on-load {
    animation-name: fadeInUp;
    animation-duration: 1.2s; /* 動畫持續時間 */
    animation-fill-mode: both; /* 動畫結束後保持在最終狀態 */
    animation-timing-function: ease-out; /* 動畫速度曲線 */
}

.animate-on-load-delayed {
    animation-name: fadeInUp;
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
    animation-delay: 0.5s; /* 延遲0.5秒後開始動畫 */
}



@keyframes teeter {
  from{
  transform: translateY(2vh);
  }
  to{
  transform: translateY(1vh);
  }
}

.teeter{
  animation:teeter .6s infinite alternate;
}



/* ------------ footer 頁尾 ------------ */
.bg-tail{  
  background-color: #fff8a5;
  text-align: center;
  margin-top: 30px;
  padding: 10px 0px 15px 0px;
  box-shadow: inset 0px 20px 15px -8px rgba(0, 0, 0, 0.4);
}




 /* 手機版 */
@media (max-width:750px) {
   .kv-web{display:none;}
   .kv-mobile{display:inline-block;}

   .display-web{display:none;}
   .display-mobile{display:inline-block;}
    img{max-width:100%;}
    body {
        padding: 0;
    }

    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .content {
        width: 100%;
        padding: 0px;
        margin-bottom: 30px; 
    }

    .kv_bg {
        background-size: cover;
    }

    .mt_m {
        margin-top: -75px;
    }


    .button {
        padding: 15px 0px 50px;
    }

    .button a img {
        width: 320px;
        height: auto;  
    }

}


