@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap");
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
select,
textarea,
p,
blockquote,
th,
td {
  padding: 0;
  margin: 0; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

fieldset,
img {
  border: 0;
  border-style: none; }

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-weight: normal;
  font-style: normal; }

ol,
ul {
  list-style: none; }

caption,
th {
  text-align: left; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%; }

q:before, q:after {
  content: ""; }

abbr,
acronym {
  border: 0; }

a {
  text-decoration: none;
  color: inherit; }

input,
button,
textarea,
select,
option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit; }

*:focus {
  outline: none; }

html,
body {
  margin: 0;
  padding: 0;
  height: 100%; }

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

body {
  line-height: 1.5;
  font-family: 'Noto Sans TC', "微軟正黑體", sans-serif;
  font-size: 16px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative; }

.mainContainer {
  width: 100%;
  height: 100%;
  background-image: url(../img/background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center; }

.skipBtn {
  position: absolute;
  right: 25px;
  top: 20px;
  z-index: 20; }
  .skipBtn a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0 10px;
    border-radius: 5px;
    vertical-align: middle; }
  .skipBtn .sound {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    background-image: url(../img/sound-off.png);
    background-size: auto 14px;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 35px;
    height: 24px; }
    .skipBtn .sound.on {
      background-image: url(../img/sound-on.png); }

.logo {
  position: absolute;
  z-index: 20;
  left: 20px;
  top: 20px; }

.ytLink {
  position: absolute;
  z-index: 20;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 6px 10px; }
  .ytLink .ytlogo, .ytLink p {
    display: inline-block;
    vertical-align: middle; }
  .ytLink .ytlogo {
    margin-right: 6px;
    width: 46px;
    height: 32px;
    background-color: #ff0000;
    border-radius: 7px;
    position: relative; }
    .ytLink .ytlogo .play {
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 6px 0 6px 10px;
      border-color: transparent transparent transparent #fff;
      left: 50%;
      top: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%); }
  .ytLink p {
    font-size: 16px;
    font-weight: bold;
    color: #fff; }

.overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
  overflow: hidden; }
  .overlay .videoWrap {
    width: 100%;
    height: 100%; }
    .overlay .videoWrap video {
      width: 100%;
      height: auto;
      position: absolute;
      left: 50%;
      top: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      -webkit-box-shadow: 0 0 20px black;
      box-shadow: 0 0 20px black; }

@-webkit-keyframes playBtn {
  0%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1); }
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2); } }

@keyframes playBtn {
  0%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1); }
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2); } }

@media only screen and (max-width: 580px) {
  .skipBtn {
    right: 3vw;
    top: 3vw; }
  .logo {
    width: 25vw;
    left: 3vw;
    top: 3vw; }
    .logo img {
      width: 100%; }
  .ytLink {
    left: 3vw;
    bottom: 3vw; } }
