img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    outline: none;
}

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

a {
    text-decoration: none;
}

body, html {
    width: 100%;
    height: 100%;
}

body {
    font-family: 微軟正黑體;
    font-size: 100%;
    position: relative;
}

#main {
    width: 100vw;
    height: 100%;
    background: #0C1534 url(../images/bg.jpg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: auto;
}

.top {
    border-bottom: 5px #d3201a solid;
    background: #fff;
    padding: 20px 0;
    text-align: center;
}

.center {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 25px 15px 0;
}

.center_title {
    position: relative;
}

.center_title .item img {
    position: absolute;
}
.center_title .img-change img{max-height: 738px;
}

.center_title .item img:nth-of-type(1) {
    bottom: 130px;
    left: 100px;
}

.center_title .item img:nth-of-type(2) {
    right: 97px;
    bottom: 348px;
}

.center_title .item img:nth-of-type(3) {
    top: 315px;
    left: 198px;

}

.footer {
    width: 100%;
    color: #2c2c2c;
    text-align: center;
    font-size: 18px;
    line-height: 28px;
    padding: 15px;
}

.login-wrap {
    display: inline-block;
    width: 100%;
    max-width: 560px;
    font-family: Microsoft JhengHei;
    background: #fff;
    box-sizing: border-box;
    border-radius: 0 10px 10px 0;
    height: 639px;
    margin: 0px 0 33px 0;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, .2);
    padding: 63px 80px 0;
}

.login-wrap label {
    display: block;
    line-height: 32px;
    font-weight: 400;
}

.login-wrap input {
    width: 100%;
    height: 43px;
    line-height: 43px;
    box-sizing: border-box;
    background: #e0e0e0;
    border-radius: 5px;
    border:0;
    padding-left: 10px;
}

.login-wrap .input-wrap {
    text-align: left;
    margin: 0 auto 28px;
    position: relative;
}

.login-wrap .acc-unicode {
    position: absolute;
    right: 12px;
    bottom: 15px;
    color: #000;
    font-size: 15px;
}

.login-wrap .nb_code {
    bottom: 6px;
}

.login-wrap #vPic {
    bottom: 15px
}

.login-wrap .btn_area {
    display: flex;
    justify-content: space-between;
    margin: 0 -15px 28px;
}

.login-wrap .btn_area .btn_area_box {
    width: 100%;
    max-width: 200px;
    padding: 0 15px 0;
}

.login-wrap .btn_area .btn-default {
    width: 100%;
    height: 58px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    box-shadow: none;
    border-radius: 13px;
    padding: 0;
    text-align: center;
    letter-spacing: 30px;
    text-indent: 30px;
    cursor: pointer;
}

.login-wrap .btn_area .btn_enter {
    color: #fff;
    background: linear-gradient(180deg, rgba(254,69,61,1) 0%, rgba(211,32,26,1) 100%);

}

.login-wrap .btn_area .btn_enter:hover {
    background: linear-gradient(0deg, rgba(254,69,61,1) 0%, rgba(211,32,26,1) 100%);;
}

.login-wrap .btn_area .btn_cancel {
    background: #AFAFAF;
}

.login-wrap .btn_area .btn_cancel:hover {
    background: #b1b1b1
}

.login-wrap .btn_word {
    clear: both;
    font-size: 13px;
    margin: 8px 0
}

.login-wrap .btn_link {
    display: block;
    color: red;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 5px;
    text-indent: 5px;
}

.login-wrap .btn_link:hover {
    color: #960505
}

.img-change img:last-of-type {
    display: none;
}


#pass-status{
    position: absolute;
    right: 10px;
    bottom: 8px;
  }
  #pass-status img{
      max-height: 27px;
  }


.fa-eye img:first-of-type {
    display: none;
  }
.fa-eye img:last-of-type {
    display: inline-block;
  }

  .fa-eye-slash img:first-of-type {
    display: inline-block;
  }
.fa-eye-slash img:last-of-type {
    display: none;

  }


  #validation-txt{
    color:red;
    font-size:18px;
    width: 300px;
  }
  #password-3{
    -webkit-text-security: disc;
      -moz-text-security:circle;
       text-security:circle;
  }
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

.info-wrap p{
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: bold;
    color: #2c2c2c;
}

.upwindow{
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,.5);
    position: absolute;
    z-index: 9999;
    display: flex;
}
.upwindow.is-close {
    display: none;
}
.upwindow-frame{
    width: min(500px, calc(100% - 30px));
    height: 450px;
    background: linear-gradient(to bottom,  rgb(249, 234, 206) 0%,rgb(255,255,255) 50%);
    box-shadow: inset 0 0 0 10px #ffffff;
    border-radius: 15px;
    transform: translate(-50%,-50%);
    top:50%;
    left: 50%;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}
.upwindow-content{
    width: 100%;
    padding-top: clamp(40px, 3vw, 30px);
    padding-left: clamp(15px, 3vw, 30px);
    padding-right: clamp(15px, 3vw, 30px);
    padding-bottom: clamp(40px, 3vw, 30px);
    text-align: center;
}
.upwindow button{
    width: 50px;
    height: 50px;
    background: #2c2c2c;
    color: #ffffff;
    border-radius: 100px;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
}
.upwindow h1, .upwindow h3, .upwindow span{
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 50px;
}
.upwindow h1 img, .upwindow h3 img{
    margin-right: 10px;
}
.higlight{
    width: min(600px, 100%);
    line-height: 120px;
    background: #ffb98e;
    padding: 10px;
    display: inline-block;
    font-size: clamp(25px, 2.5vw, 30px);
    border-radius: 30px;
    color: #ffffff;
    font-weight: bold;
}
.higlight-content{
    width: 100%;
    height: 100px;
    background:
    url("../images/member.png") center center no-repeat,
    linear-gradient(to right,  rgb(255, 245, 245) 0%,rgb(255,245,225) 100%);
    border-radius: 25px;
    box-shadow: inset 0 0 0 2px #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 10px 20px 5px;
}
.higlight-content span{
    width: 100%;
    height: 60px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: flex-end;
    align-items: center;
    font-size: clamp(21px, 2.3vw, 28px);
}
.higlight-content span:nth-of-type(2){
    width: 100px;
}
.higlight-content span:nth-of-type(1)::before,
.higlight-content span:nth-of-type(3)::before{
    content: "esball+";
    color: #2c2c2c;
    position: absolute;
    top: clamp(-35px, -5vw, -20px);
    font-size: clamp(20px, 2.2vw, 25px);
}
.higlight-content span:nth-of-type(1){
    color: #d18041;
}
.higlight-content span:nth-of-type(2) img{
    position: absolute;
    top: -5px;
}
.higlight-content span:nth-of-type(3){
    color: #ff3e70;
}
.upwindow h1{
    font-size: clamp(25px, 2.5vw, 30px);
    color: #ff3e70;
}
.upwindow h3{
    font-size: clamp(18px, 2.2vw, 25px);
    color: #734826;
}
.mail{
    position: absolute;
    transform: translate(-50%,-50%);
    top:-20px;
    left: 50%;
}
.grateful{
    width: min(295px, 100%);
    line-height: 60px;
    background: #ff3e70;
    margin: 20px auto 0;
    border-radius: 100px;
    font-size: clamp(18px, 2.2vw, 25px);
    color: #fff;
    position: relative;
}
.grateful span{
    width: 72px;
    line-height: 35px;
    border-radius: 10px;
    background: #ffe093;
    color: #ff558a;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -15px;
}
.grateful span::before{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    top:30px;
    left: 15px;
    border-left: 5px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #ffe093;
    position: absolute;
}

@media (max-width: 1200px) {
    .center_title .item{ display: none;}
    .img-change img:first-of-type {
        display: none;
    }
    .img-change img:last-of-type {
        display: inline-block;
    }
    .top{padding: 10px;}

    #main {
        background: #0C1534 url(../images/bg-m.jpg) no-repeat center;
        background-size: cover;
        background-attachment: fixed;
    }
    .center {
        flex-direction: column;
        padding: 0 15px;
    }
    .login-wrap {
        padding: 30px 15px;
        border-radius: 10px;
        height: auto;
    }
    .footer {
      padding: 15px;
    }
    .upwindow-frame{
        height: auto;
    }
}
