html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
}

.page {
    position: relative;
    width: 7.5rem;
    height: 42.88rem;
    background: url('./images/main.jpg?v=3') no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
}

.rule {
    position: absolute;
    top: 0;
    left: 6.37rem;
    width: .76rem;
    height: 1.15rem;
}

.ticket--1 {
    position: absolute;
    top: 6.24rem;
    left: 0;
    width: 7.5rem;
    height: 2.39rem;
}

.ticket--2 {
    position: absolute;
    top: 9.22rem;
    left: .57rem;
    width: 1.93rem;
    height: 1.93rem;
}

.ticket--3 {
    position: absolute;
    top: 9.22rem;
    left: 2.8rem;
    width: 1.93rem;
    height: 1.93rem;
}

.ticket--4 {
    position: absolute;
    top: 9.22rem;
    left: 5rem;
    width: 1.93rem;
    height: 1.93rem;
}

.ticket {
    position: absolute;
    top: 11.32rem;
    left: 2.28rem;
    width: 2.94rem;
    height: .74rem;
}

#far div:nth-child(1) {
    position: absolute;
    top: 16.64rem;
    left: .58rem;
    width: 6.3rem;
    height: 1.45rem;
}

#far div:nth-child(2) {
    position: absolute;
    top: 18.35rem;
    left: .58rem;
    width: 6.3rem;
    height: 1.45rem;
}

#far div:nth-child(3) {
    position: absolute;
    top: 20.11rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#far div:nth-child(4) {
    position: absolute;
    top: 20.11rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#far div:nth-child(5) {
    position: absolute;
    top: 21.86rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#far div:nth-child(6) {
    position: absolute;
    top: 21.86rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#far div:nth-child(7) {
    position: absolute;
    top: 23.52rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#far div:nth-child(8) {
    position: absolute;
    top: 23.52rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#far div:nth-child(9) {
    position: absolute;
    top: 25.3rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#far div:nth-child(10) {
    position: absolute;
    top: 25.3rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(1) {
    position: absolute;
    top: 30.14rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(2) {
    position: absolute;
    top: 30.14rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(3) {
    position: absolute;
    top: 31.84rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(4) {
    position: absolute;
    top: 31.84rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(5) {
    position: absolute;
    top: 34.22rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(6) {
    position: absolute;
    top: 34.22rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(7) {
    position: absolute;
    top: 35.92rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(8) {
    position: absolute;
    top: 35.92rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(9) {
    position: absolute;
    top: 38.28rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(10) {
    position: absolute;
    top: 38.28rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(11) {
    position: absolute;
    top: 39.98rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#food div:nth-child(12) {
    position: absolute;
    top: 39.98rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(1) {
    position: absolute;
    top: 44.97rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(2) {
    position: absolute;
    top: 44.97rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(3) {
    position: absolute;
    top: 46.67rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(4) {
    position: absolute;
    top: 46.67rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(5) {
    position: absolute;
    top: 49.09rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(6) {
    position: absolute;
    top: 49.09rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(7) {
    position: absolute;
    top: 50.72rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(8) {
    position: absolute;
    top: 50.72rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(9) {
    position: absolute;
    top: 53.13rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(10) {
    position: absolute;
    top: 53.13rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(11) {
    position: absolute;
    top: 54.83rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(12) {
    position: absolute;
    top: 54.83rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

/* #union-pay div:nth-child(13) {
    position: absolute;
    top: 55.87rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(14) {
    position: absolute;
    top: 55.87rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(13) {
    position: absolute;
    top: 55.87rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(14) {
    position: absolute;
    top: 55.87rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(15) {
    position: absolute;
    top: 58.21rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(16) {
    position: absolute;
    top: 58.21rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(17) {
    position: absolute;
    top: 59.91rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(18) {
    position: absolute;
    top: 59.91rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(19) {
    position: absolute;
    top: 62.24rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(20) {
    position: absolute;
    top: 62.24rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(21) {
    position: absolute;
    top: 63.94rem;
    left: .58rem;
    width: 3.02rem;
    height: 1.45rem;
}

#union-pay div:nth-child(22) {
    position: absolute;
    top: 63.94rem;
    right: .63rem;
    width: 3.02rem;
    height: 1.45rem;
} */

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.rule-body {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.rule-window {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -3.72rem;
    margin-top: -5.45rem;
    width: 7.44rem;
    height: 10.91rem;
    background: url('./images/ruleWindow.png') no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
}

.rule-content {
    position: absolute;
    top: 2.9rem;
    left: 1.3rem;
    width: 4.8rem;
    height: 5.5rem;
    font-size: .24rem;
    overflow: auto;
}

.close {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -0.4rem;
    width: .8rem;
}