.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-color: #080404;
}

.kv_bg {    
   text-align: center;
}

.container {
    max-width: 1200px;
}

.mt-4 {
    margin-top: -40px !important;
    padding-bottom: 20px;
}

.mt-5 {
    margin-top: -30px !important;
}

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: 0px;
}

.button {
    display: inline-block;
/*    padding: 10px 0px 0px;*/
    margin: 15px 25px 10px 25px;
    text-align: center;
}

.button a img {
    width: 350px;
    height: 120px;
    /*transition-duration: 0.3s;*/
}

.button a:hover img {
    /*transform: translateY(5px);*/
    text-decoration: none;
}


.yt_frame{
  /* border: 10px solid #ffffff;*/
    margin: 30px 0px 15px 0px;
    border-radius: 20px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.05), 0 17px 50px 0 rgba(0, 0, 0, 0.05);
}



/* ------ 動態 ------ */
@keyframes teeter {
  from{
  transform: translateY(2vh);
  }
  to{
  transform: translateY(1vh);
  }
}

.teeter{
  animation:teeter .6s infinite alternate;
}




/* ------------ footer 頁尾 ------------ */
.bg-tail{  
  background-color: #315829;
  text-align: center;
  margin-top: 45px;
}



 /* 手機版 */
@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: 0px; 
    }

    .kv_bg {
        background-size: cover;
    }

    .mt-4 {
        margin-top: -25px !important;
    }

    .button {
        padding: 0px;
    }

    .button a img {
        width: 300px;
        height: auto;  
    }

}


