.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: #46278b;
    margin: 0;
}

.kv_bg {    
   text-align: center;
}

.container {
    max-width: 1200px;
    /* 讓 container 在大螢幕上居中 */
   margin-left: auto;
   margin-right: auto;
}

.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: 50px auto;
}


.button {
    padding: 25px 0px 50px;
    text-align: center;
}

.button a img {
    width: 285px;
    height: 120px;
    /*transition-duration: 0.3s;*/
}

.button a:hover img {
    /*transform: translateY(5px);*/
    text-decoration: none;
}



/* ------ 動態 ------ */
@keyframes teeter {
  from{
  transform: translateY(2vh);
  }
  to{
  transform: translateY(1vh);
  }
}

.teeter{
  animation:teeter .6s infinite alternate;
}





/* ------------ footer 頁尾 ------------ */
.bg-tail{  
  background-color: #0391da;
  text-align: center;
  margin-top: -30px;
}



/* ------ 四個影片 ------ */
.video-wrapper {
  position: relative;
  background-color: #fdd000;
  width: 890px;
  margin: 0 auto;
  border-radius: 20px;
  padding-bottom: 60px; 
}

.video_title {
  z-index: 2;
  position: absolute;
  left: 570px;
  top: 545px;
}


.remark {
  font-size: 27px;
  font-weight: bold;
  position: absolute;
  text-align: center;
  top: 580px;
  left: 35px;
}

.red {
  color: #c30d23;
}


.video-bg {
  background-color: #ffffff;
  width: 890px;
  margin: 0 auto;
  display: flex;
  lex-wrap: wrap;
  justify-content: center;
  border-radius: 20px;
  gap: 28px;
/*  margin-top: 50px;*/
  padding: 30px;
}


.video-box {
/*  border: 2px solid #FFD700;*/
  border-radius: 10px;
  overflow: hidden;
  width: 400px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 30px;
}

.video-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.video-box img {
  width: 100%;
  display: block;
}

.video-box a {
  display: block;
  ext-decoration: none;
}






 /* 手機版 */
@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; 
    }*/

    .content {
        width: 100%;
        padding: 0px;
        margin:30px 0px 0px 0px;
    }
     

    .kv_bg {
        background-size: cover;
    }

    .mt-4 {
        margin-top: -25px !important;
    }

    .button {
        padding: 20px 0px 60px;
    }

    .button a img {
        width: 300px;
        height: auto;  
    }
   
   
    /* ------ 四個影片 ------ */
    .video-wrapper {
      width: 95%;
      padding-bottom: 110px; 
    }

    .video-bg {
      width: 100%;
      display: block;
      padding: 30px 25px 30px 25px;
    }

    .video-box {
      width: 100%;
      border-radius: 20px;
    }

    .video-box img {
      display: block;
    }
 
    .video_title { 
      left: 125px;
      top: 545px;
    }

    .remark {
      font-size: 35px;
      top: 1685px;
      left: 18px;
      line-height: 43px;
    }
    

}


