@charset "utf-8";
/* CSS Document */

/* VIDEO light box */
.lightbox {
    background-color: rgba(0, 0, 0, 0.8);
    overflow: scroll;
    position: fixed;
    display: none;
    z-index: 20;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    z-index: 999;
}
.lightbox-container {
    position: relative;
    max-width: 960px;
    margin: 10% auto;
    display: block;
    padding: 0 3%;
    height: auto;
    z-index: 0;
}
@media screen and (max-width: 768px) {
    .lightbox-container {
        margin-top: 40%;
    }
}
@media screen and (max-width: 414px) {
    .lightbox-container {
        margin-top: 55%;
    }
}
@media screen and (max-width: 320px) {
    .lightbox-container {
        margin-top: 45%;
    }
}
.lightbox-content {
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.lightbox-close {
    text-transform: uppercase;
    background: transparent;
    position: absolute;
    font-weight: 300;
    font-size: 12px;
    display: block;
    border: none;
    color: white;
    top: -22px;
    right: 3%;
    z-index: 3;
}
.video-container {
    padding-bottom: 56.25%;
    position: relative;
    padding-top: 30px;
    overflow: hidden;
    height: 0;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.video_play {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    overflow: hidden
}
@media (min-width: 992px) {
    .video_play {
        display: block
    }
}

/****film***/
 .video{
    cursor: pointer;
 }
.video_play img {
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    -o-transition: -o-transform .5s;
    -moz-transition: transform .5s, -moz-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s, -moz-transform .5s, -o-transform .5s
}
.video_play:before {
    content: '';
    width: 100%;
    height: 100%;
    display: inline-block;
    background: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s
}
/* .video_play:hover img {
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    transform: scale(1.03)
} */
.video_play:hover:before {
    content: '';
    opacity: 0;
}
.icon_youtube{
    /* -webkit-filter: drop-shadow(0px 0px 2px rgba(33, 106, 196, 1));
    filter: drop-shadow(0px 0px 2px rgba(33, 106, 196, 1)); */
    transition: 0.2s;
    animation: circle-jump 0.5s linear infinite alternate;
}
.film {
    width: 86%;
    position: absolute;
    top: 11%;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    border: 1px solid #fff;
}
.film-f {
    width: 100%;
    /* position: absolute; */
    text-align: center;
}

 .film img ,
 .film-f img {
    width: 100%;
}

.film a,
 .film-f a {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 41%;
    display: block;
    z-index: 1;
}

.film a {
    width: 10%;
 }

 .film-f a {
    width: 9%;
 }

@media (max-width: 800px) {
    .film {
          top: 14vw;
      }
  
      .film-f a  {
        width: 16vw;
        top: 20vw;
      }

      .film a  {
        width: 16vw;
        top: 17vw;
      }

  }

 /* .film a:hover,
 .film-f a:hover  {
    top: 42%;
} */

 .film a img ,
 .film-f a img {
    width: 100%;
    display: block;
}

 .film.active,
 .film-f.active {
    -webkit-animation: approach-from-bottom 1s;
    animation: approach-from-bottom 1s;
}


@-webkit-keyframes approach-from-bottom {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes approach-from-bottom {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}


/* 按鈕動畫 */
@keyframes circle-jump {
    /* 0% {
      transform: translate(-50%, -50%) scale(1);
    }
    100% {
      transform: translate(-50%, -50%) scale(1.2);
    } */
    0% {
      transform: translate(0%, 0%) scale(1);
    }
    100% {
      transform: translate(0%, 0%) scale(1.2);
    }
}