/* Font */
@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC/NotoSansTC-Thin/NotoSansTC-Thin.woff2")
      format("woff2"),
    url("../fonts/NotoSansTC/NotoSansTC-Thin/NotoSansTC-Thin.woff")
      format("woff"),
    url("../fonts/NotoSansTC/NotoSansTC-Thin/NotoSansTC-Thin.otf")
      format("opentype");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC/NotoSansTC-Light/NotoSansTC-Light.woff2")
      format("woff2"),
    url("../fonts/NotoSansTC/NotoSansTC-Light/NotoSansTC-Light.woff")
      format("woff"),
    url("../fonts/NotoSansTC/NotoSansTC-Light/NotoSansTC-Light.otf")
      format("opentype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC/NotoSansTC-Regular/NotoSansTC-Regular.woff2")
      format("woff2"),
    url("../fonts/NotoSansTC/NotoSansTC-Regular/NotoSansTC-Regular.woff")
      format("woff"),
    url("../fonts/NotoSansTC/NotoSansTC-Regular/NotoSansTC-Regular.otf")
      format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC/NotoSansTC-Medium/NotoSansTC-Medium.woff2")
      format("woff2"),
    url("../fonts/NotoSansTC/NotoSansTC-Medium/NotoSansTC-Medium.woff")
      format("woff"),
    url("../fonts/NotoSansTC/NotoSansTC-Medium/NotoSansTC-Medium.otf")
      format("opentype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC/NotoSansTC-Bold/NotoSansTC-Bold.woff2")
      format("woff2"),
    url("../fonts/NotoSansTC/NotoSansTC-Bold/NotoSansTC-Bold.woff")
      format("woff"),
    url("../fonts/NotoSansTC/NotoSansTC-Bold/NotoSansTC-Bold.otf")
      format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC/NotoSansTC-Black/NotoSansTC-Black.woff2")
      format("woff2"),
    url("../fonts/NotoSansTC/NotoSansTC-Black/NotoSansTC-Black.woff")
      format("woff"),
    url("../fonts/NotoSansTC/NotoSansTC-Black/NotoSansTC-Black.otf")
      format("opentype");
  font-weight: 900;
  font-display: swap;
}

/* border-box 實際寬高＝所設定的數值(已包含border和padding) */
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, Helvetica,
    sans-serif;
}

ol,
ul {
  list-style: none;
}

table,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  vertical-align: middle;
}

q,
blockquote {
  quotes: none;
}

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

img {
  /* max-width: 100%; */
}

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

a:hover,
a:focus,
a:active {
  color: #606060;
  text-decoration: none;
}

a img {
  border: none;
}

button,
select {
  text-transform: none;
}

button,
input {
  outline: 0 none;
  border: 0 none;
}

button:focus {
  outline: unset;
}

button[type="button"],
button[type="reset"],
button[type="submit"],
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

:after,
:before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Footer 固定於版面下方 */
html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}
