@layer reset {
  *, *:before, *:after {
    box-sizing: border-box;
    outline: 0;
  }
  body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, b, small, u, i, center, dl, dt, dd, ol, ul, li, sub, sup, tt, var, del, dfn, ins, kbd, q, s, samp, strike, applet, object, iframe, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, blockquote, pre, a, abbr, acronym, address, big, cite, code, mark, audio, video, input, textarea, select{
    margin: 0;
    padding: 0;
  }
  :where(ul, ol) {
    list-style: none;
  }
  img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: top;
  }
  :where(table) {
    border-collapse: collapse;
    width: 100%;
  }
  input[type='reset'], input[type='button'], input[type='submit'], input[type='radio'] {
    cursor: pointer;
    outline: none;
  }
  :where(input[type='checkbox'], input[type='radio']) {
    position: relative;
    vertical-align: middle;
    margin: -2px 5px 1px;
  }
  :where(textarea, input[type='email'], input[type='date'], input[type='password'], input[type='text']) {
    padding: 0;
    color: #ca8189;
    outline: none;
  }
}

@layer base {
  body {
    font-family: "Noto Sans TC","微軟正黑體", "新細明體", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 24px;
  }
  :where(a, a:visited) {
    transition: all .3s;
    text-decoration: none;
    outline: none;
    color: #333;
  }
  a:hover {
    color: #652177;
  }
  h1 {
    font-size: 32px;
    line-height: 40px;
    padding-bottom: 5px;
    color: #000;
  }
  h2 {
    font-size: 24px;
    color: #323232;
    padding-bottom: 5px;
  }
  h4 {
    font-size: 18px;
    color: #0c5894;
    padding: 15px 0px 5px 0px;
  }
  h5 {
    font-size: 16px;
    color: #555555;
    line-height: 24px;
    font-weight: normal;
  }
}

@layer elements {
}

@layer utilities {
  .f-l {
    float: left;
  }
  .f-r {
    float: right;
  }
  .clearfix:after {
    clear: both;
    height: 0;
    content: "";
    line-height: 0;
    font-size: 0;
    display: block;
  }
  .vcenter {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    max-height: 100%;
    display: block;
    vertical-align: middle;
    text-align: center;
    margin: auto;
  }
}

@layer fonts {
  @font-face {
    font-family: 'dincond-regularregular';
    src: url('../fonts/dincond-regular-webfont.eot');
    src: url('../fonts/dincond-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dincond-regular-webfont.woff2') format('woff2'),
         url('../fonts/dincond-regular-webfont.woff') format('woff'),
         url('../fonts/dincond-regular-webfont.ttf') format('truetype'),
         url('../fonts/dincond-regular-webfont.svg#dincond-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'helveticaneueltpro-md-0';
    src: url('../fonts/helveticaneueltpro-md-0.eot');
    src: url('../fonts/helveticaneueltpro-md-0.eot?#iefix') format('embedded-opentype'),
         url('../fonts/helveticaneueltpro-md-0.woff2') format('woff2'),
         url('../fonts/helveticaneueltpro-md-0.woff') format('woff'),
         url('../fonts/helveticaneueltpro-md-0.ttf') format('truetype'),
         url('../fonts/helveticaneueltpro-md-0.svg#helveticaneueltpro-md-0') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'futura_md_btmedium';
    src: url('../fonts/tt0142m_-webfont.eot');
    src: url('../fonts/tt0142m_-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tt0142m_-webfont.woff2') format('woff2'),
         url('../fonts/tt0142m_-webfont.woff') format('woff'),
         url('../fonts/tt0142m_-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'avantgardef_extralightregular';
    src: url('../fonts/avantgardef-extralight-webfont.eot');
    src: url('../fonts/avantgardef-extralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avantgardef-extralight-webfont.woff2') format('woff2'),
         url('../fonts/avantgardef-extralight-webfont.woff') format('woff'),
         url('../fonts/avantgardef-extralight-webfont.ttf') format('truetype'),
         url('../fonts/avantgardef-extralight-webfont.svg#avantgardef_extralightregular') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'avantgardebook';
    src: url('../fonts/avantgardebook-webfont.eot');
    src: url('../fonts/avantgardebook-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avantgardebook-webfont.woff2') format('woff2'),
         url('../fonts/avantgardebook-webfont.woff') format('woff'),
         url('../fonts/avantgardebook-webfont.ttf') format('truetype'),
         url('../fonts/avantgardebook-webfont.svg#avantgardebook') format('svg');
    font-weight: normal;
    font-style: normal;
  }
}
