/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
 
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,
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, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

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

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

button {
    cursor: pointer;
    outline: none;
    border: none;
    padding: 0px;
}

select,input {
    outline: none;
}

main {
    display: block;
}

/*主體*/

html {
  font-family: Microsoft JhengHei;
  width: 100%;
  min-width: 1100px;
  /* min-width: 980px; */
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-y: hidden;
  background: #b18927;
}
.container {
  position: relative;
  width: 100%;
  height: 980px;
  overflow: hidden;
}
.container .login {
  position: relative;
  width: 1020px;
  height: 100%;
  margin: 0 auto; 
}

/*logo*/

.container .login .logo {
  width: 407px;
  height: 202px;
  background: url(../images/logo.png) no-repeat;
  background-size: 100%; 
  position: absolute;
  top: 53px;
  left: 50%;
  transform: translateX(-50%);
}

/*按鈕*/

.container .login .btn_area {
  position: absolute;
  width: auto;
  height: auto;
  top: 317px;
  left: 50%;
  transform: translateX(-50%);
}
.container .login .btn_area button {
  font-family: Microsoft JhengHei;
  width: 207px;
  height: 55px;
  border-radius: 30px;
  border: solid 1px #ffffff;
  border-width: 1px 0px 0px;
  color: #6e0000;
  font-weight: bold;
  font-size: 22px;
  box-shadow: 0px 3px 5px 0px #000000;
  background-color: #b05c01; /* Old browsers */
  background: linear-gradient(to top, #782900 0%,#d08f28 15%,#974e00 30%,#b05c01 37%,#fff7c4 73%,#e9ae3a 95%,#b03d01 100%);
}
.container .login .btn_area button:hover,
.container .login .newoldPage .active-new-web .btnNew,
.container .login .newoldPage .active-old-web .btnOld{
  color: #ffffff;
  background-color: #680007; /* Old browsers */
  border-color: #eebd52;
  border-width: 1px 1px 0px 1px;
  background: linear-gradient(to top, #ff000f 0%,#680007 67%,#680007 100%);
}
.container .login .btn_area button:last-of-type {
  margin-left: 15px;
}

/*input*/

.container .login .input-area {
  position: absolute;
  top: 407px;
  left: 50%;
  transform: translateX(-50%);
}
.container .login .input-area .login-input {
  width: 260px;
  vertical-align: middle;
  text-align: right; 
  float: left;
}
.container .login .input-area .login-input label input {
  font-family: Microsoft JhengHei;
  width: 100%;
  height: 35px;
  font-size: 19px;
  padding-left: 3%;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #191209; /* Old browsers */
  background: #191209;
  border: solid 1px #fff;
  color: #fff;
}
.container .login .input-area .login-input label input::-webkit-input-placeholder {
  color: #fff;
}
.container .login .input-area .login-input label input:first-of-type {
  margin-bottom: 13px;
}
.container .login .input-area button {
  font-family: Microsoft JhengHei;
  width: 147px;
  height: 80px;
  border: 1px solid #ffea9e;
  border-width: 1px 0px 0px 0px;
  border-radius: 5px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 1px 0px 0px 24px;
  box-shadow: 0px 3px 5px 0px #000000b5;
  background-color: #974e00; /* Old browsers */
  background: linear-gradient(to top, #782900 0%,#d08f28 15%,#974e00 30%,#b05c01 37%,#fff7be 73%,#e9ae3a 95%,#b03d01 100%);
  cursor: pointer;
  float: left;
  position: relative;
  z-index: 3;
}
.container .login .input-area button:hover,
.container .login .input-area button:active,
.container .login .input-area button.active {
  background: #e9ae3a; /* Old browsers */
  background: linear-gradient(to top, #fff7c4 0%,#e9ae3a 15%,#974e00 52%,#782900 75%,#461800 100%);
}
.container .login .input-area.c {
  top: 320px;
}

/*圖片*/

.container .coins {
  display: none;
  width: 721px;
  height: 592px;
  position: absolute;
  top: 0px;
  left: -131px;
  background: url(../images/leftImg.png) no-repeat;
  background-size: 100%;
  z-index: 2;
  animation: coins 0.6s ease-out 0s;
}

/*背景*/

.container .BG {
  position: absolute;
  top: 0;
  background: url(../images/background.jpg) no-repeat top center;
  background-size: cover;
  width: 100%;
  height: 100%;
  z-index: -999;
}

/*動畫*/

@keyframes coins {
  0% {
    opacity: 0;
    transform: translateY(-20%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes coins2 {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }

  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}