body {
    padding: 0;
    margin: 0;
    background-color: #000;
}

.modal {
    z-index: 10000000000;
}

.font10pt {
    font-size: 10pt;
}

.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999999999;
    background-color: #01184a;
    height: 45px;
}

.header-menu.active {
    height: initial;
}

.header-menu .menu {
    display: none;
    flex-direction: column;
}

.header-menu.active .menu {
    display: flex;
    padding-top: 3em;
}

.header-menu .menu>a {
    flex: 1;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 10pt;
    text-decoration: none;
    text-align: center;
    padding: 1em 0;
    align-self: start;
}

.header-menu a.logo img {
    width: 100%;
    background-color: rgba(200, 200, 200, 0.5);
    box-shadow: 0 0 5px 5px #9E9E9E;
}

.header-menu .menu-toggle {
    float: right;
    color: white;
    padding: 10px;
    text-decoration: none;
}

.header-menu a.logo.mobile {
    float: left;
    color: white;
    text-decoration: none;
    max-width: 80px;
    background: url(../img/logo.png) no-repeat scroll center;
    background-size: 90%;
}

.header-menu .menu-home {
    float: left;
    color: transparent;
    background: url(../img/icon-home.png) no-repeat scroll center;
    background-size: 60%;
    min-width: 35px;
    max-width: 35px;
    padding: 10px;
}

.header-menu a.logo img {
    visibility: hidden;
}

/* language button option */
.header-menu .menu a.lang {
    display: flex;
    width: 100%;
}

.header-menu .menu a.lang span {
    display: block;
    color: transparent;
    padding: 5px;
    flex: 1;
}

.header-menu .menu a.lang span.en {
    background: url(../img/flag-en.png) no-repeat scroll center;
    background-size: contain;
}

.header-menu .menu a.lang span.cn {
    background: url(../img/flag-cn.png) no-repeat scroll center;
    background-size: contain;
}

.header-menu .menu a.lang span.my {
    background: url(../img/flag-my.png) no-repeat scroll center;
    background-size: contain;
}

.header-menu .menu a.lang:hover span,
.header-menu .menu a.lang span.active {
    display: block;
}

.header-menu .menu a.lang span.active {
    display: block;
}

.section {
    min-height: 100vh;
}

@media screen and (min-width: 768px) {
    .header-menu {
        background-color: #01184a;
        height: auto;
    }

    .header-menu .menu-toggle {
        display: none;
    }

    .header-menu a.logo.mobile {
        max-width: 120px;
    }

    .header-menu .menu {
        display: flex;
        flex-direction: row;
        width: 75%;
        float: right;
        padding: 1em 0;
    }

    .header-menu .menu>a {
        font-size: 1vw;
        align-self: center;
    }

    .header-menu .menu-home {
        background-size: 50%;
        margin-top: 8px;
        padding: 1em;
    }

    .header-menu .menu a.lang {
        display: block;
        height: 42px;
    }

    .header-menu .menu a.lang span {
        display: none;
    }

    .header-menu #registerBtn span,
    .header-menu #accountBtn span {
        border: 1px solid;
        border-radius: 10px;
        padding: 5px;
    }

    .header-menu #registerBtn {
        margin: 0 5px;
    }

    .header-menu a#accountBtn {
        min-width: 85px;
    }
}

@media screen and (min-width: 1200px) {
    .header-menu .menu {
        width: 83%;
    }
}

@media screen and (min-width: 1290px) {
    .header-menu .menu a.lang {
        display: block;
        height: 55px;
    }
}

/* text effect */
/* ref: https://tobiasahlin.com/moving-letters/#2 */
.ml2 .letter {
    display: inline-block;
    line-height: 1em;
}

.text-effect {
    text-align: center;
    /* margin-top: 40vh; */
}

.text-effect h2 {
    color: white;
    font-size: 12vw;
    margin: 7vh 0 0;
    font-weight: normal;
    text-shadow: 2px 2px 10px #000;
}

/* layer 2 background */
#home-section2,
#home-section3,
#casino-section2,
#contact-section2,
#fishing-section2,
#promo-section2,
#slot-section2,
#download-section2,
#sport-section2,
#vip-section2,
#lottery-section2,
#winner-section2 {
    background: transparent url(../img/bg1.png) no-repeat scroll center;
    background-size: 100% 100%;
}

/* home page */
#home-section1 {
    position: relative;
    height: 100vh;
}

#home-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#home-section1 #layer1 {
    background: transparent url(../img/home-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#home-section1 #layer2 {
    background: transparent url(../img/home-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#home-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#home-section1 .play-btn-box {
    position: absolute;
    bottom: 10%;
    width: 100%;
    text-align: center;
}

#home-section1 .play-btn-box a {
    background-image: linear-gradient(to right, #4e4e4e, #888888);
    text-decoration: none;
    display: inline-block;
    margin: 0 auto;
    color: whitesmoke;
    font-size: 2vw;
    padding: 5px 1em;
    border: 1px solid;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}

#home-section2 .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#home-section2 .list .item {
    flex: 0 0 20%;
    overflow: hidden;
    position: relative;
    margin: 1em;
    /* height: 20vh; */
}

#home-section2 .list .item:after {
    content: '';
    display: block;
    width: 0;
    padding-top: 100%;
}

#home-section2 .list .item .overlay {
    background-color: rgba(125, 125, 125, 0.5);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}

#home-section2 .list .item:hover .overlay {
    opacity: 1;
}

#home-section2 .list .item a {
    display: block;
    height: 100%;
    padding-top: 4em;
    text-decoration: none;
    font-size: 3vw;
    color: whitesmoke;
    text-shadow: 2px 2px 5px black;
    transform: translateY(50vh);
    -webkit-transform: translateY(50vh);
    -moz-transform: translateY(50vh);
    -ms-transform: translateY(50vh);
    -o-transform: translateY(50vh);
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}

#home-section2 .list .item:hover a {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
}

#home-section2 .list .item .item-img {
    background: no-repeat scroll center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}

#home-section2 .list .item:hover .item-img {
    transform: scale(1.5);
}

#home-section3 {
    padding: 3em 0;
}

#home-section3 #jackpot {
    background: transparent url(../img/home-jackpot.png) no-repeat scroll center;
    background-size: contain;
    margin: 0 auto;
    font-size: 10vw;
    color: #fff;
    text-align: center;
    padding: 15vh 0 3vh;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        -webkit-transform: translateX();
    }

    100% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
    }
}

@keyframes bg-scroll-left {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 95% 0;
    }
}

@media screen and (min-width: 1250px) {
    .text-effect {
        margin-top: 10vh;
    }
}

@media screen and (max-width: 768px) {
    #home-section1 .play-btn-box a {
        font-size: 15pt;
    }

    #home-section2 .list .item {
        flex: 0 0 40%;
        /* height: 30vh; */
    }

    #home-section2 .list .item a {
        font-size: 5vw;
        padding-top: 6em;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }

    #home-section2 .list .item .overlay {
        background-color: transparent;
        opacity: 1;
    }
}

@media screen and (max-width: 600px) {
    #home-section1 #layer1 {
        background-size: cover;
    }

    #home-section1 .play-btn-box {
        bottom: 20%;
    }

    .text-effect {
        margin-top: 0;
    }
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #home-section1 #layer2 {
        background-image: url(../img/home-1-2.phone.png);
        height: 100vh;
    }
}

@media screen and (max-width: 425px) {
    #home-section3 #jackpot {
        padding: 13vh 0 5vh;
    }
}

@media screen and (max-width: 375px) {
    #home-section2 .list .item {
        flex: 100%;
        /* height: 50vh; */
    }

    #home-section2 .list .item a {
        font-size: 10vw;
    }
}

/* casino page */
#casino-section1 {
    position: relative;
    height: 100vh;
}

#casino-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#casino-section1 #layer1 {
    background: transparent url(../img/casino-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#casino-section1 #layer2 {
    background: transparent url(../img/casino-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#casino-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#casino-section2 {
    padding: 5em 0;
}

@media screen and (max-width: 600px) {
    #casino-section1 #layer1 {
        background-size: cover;
    }
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #casino-section1 #layer2 {
        background-image: url(../img/casino-1-2.phone.png);
        height: 100vh;
    }
}

/* fishing page */
#fishing-section1 {
    position: relative;
    height: 100vh;
}

#fishing-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#fishing-section1 #layer1 {
    background: transparent url(../img/fishing-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#fishing-section1 #layer2 {
    background: transparent url(../img/fishing-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#fishing-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#fishing-section2 {
    padding: 5em 0;
}

@media screen and (max-width: 600px) {
    #fishing-section1 #layer1 {
        background-size: cover;
    }
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #fishing-section1 #layer2 {
        background-image: url(../img/fishing-1-2.phone.png);
        height: 100vh;
    }
}

/* slot page */
#slot-section1 {
    position: relative;
    height: 100vh;
}

#slot-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#slot-section1 #layer1 {
    background: transparent url(../img/slot-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#slot-section1 #layer2 {
    background: transparent url(../img/slot-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#slot-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#slot-section2 {
    padding: 5em 0;
}

@media screen and (max-width: 600px) {
    #slot-section1 #layer1 {
        background-size: cover;
    }
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #slot-section1 #layer2 {
        background-image: url(../img/slot-1-2.phone.png);
        height: 100vh;
    }
}

/* download page */
#download-section1 {
    position: relative;
    height: 100vh;
}

#download-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#download-section1 #layer1 {
    background: transparent url(../img/download-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#download-section1 #layer2 {
    background: transparent url(../img/download-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#download-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#download-section2 {
    padding: 5em 0;
}

@media screen and (max-width: 600px) {
    #download-section1 #layer1 {
        background-size: cover;
    }
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #download-section1 #layer2 {
        background-image: url(../img/download-1-2.phone.png);
        height: 100vh;
    }
}

/* sport page */
#sport-section1 {
    position: relative;
    height: 100vh;
}

#sport-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#sport-section1 #layer1 {
    background: transparent url(../img/sport-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#sport-section1 #layer2 {
    background: transparent url(../img/sport-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#sport-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#sport-section2 {
    padding: 5em 0;
}

@media screen and (max-width: 600px) {
    #sport-section1 #layer1 {
        background-size: cover;
    }
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #sport-section1 #layer2 {
        background-image: url(../img/sport-1-2.phone.png);
        height: 100vh;
    }
}

/* live score page */
#livescore-section1 {
    position: relative;
    height: 100vh;
}

#livescore-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#livescore-section1 #layer1 {
    background: transparent url(../img/livescore-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#livescore-section1 #layer2 {
    background: transparent url(../img/livescore-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#livescore-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#livescore-section2 {
    padding: 5em 0;
}

@media screen and (max-width: 600px) {
    #livescore-section1 #layer1 {
        background-size: cover;
    }
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #livescore-section1 #layer2 {
        background-image: url(../img/livescore-1-2.phone.png);
        height: 100vh;
    }
}

/* lottery page */
#lottery-section1 {
    position: relative;
    height: 100vh;
}

#lottery-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#lottery-section1 #layer1 {
    background: transparent url(../img/lottery-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#lottery-section1 #layer2 {
    background: transparent url(../img/lottery-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#lottery-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#lottery-section2 {
    padding: 5em 0;
    text-align: center;
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #lottery-section1 #layer2 {
        background-image: url(../img/lottery-1-2.phone.png);
        height: 100vh;
    }
}

/* promotion page */
#promo-section1 {
    position: relative;
    height: 100vh;
}

#promo-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#promo-section1 #layer1 {
    background: transparent url(../img/promo-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#promo-section1 #layer2 {
    background: transparent url(../img/promo-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#promo-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#promo-section2 {
    padding: 5em 0;
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #promo-section1 #layer2 {
        background-image: url(../img/promo-1-2.phone.png);
        height: 100vh;
    }
}

/* vip page */
#vip-section1 {
    position: relative;
    height: 100vh;
}

#vip-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#vip-section1 #layer1 {
    background: transparent url(../img/vip-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#vip-section1 #layer2 {
    background: transparent url(../img/vip-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#vip-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#vip-section2 {
    padding: 5em 3em;
    position: relative;
}

#vip-section2 .vip-level {
    display: flex;
    text-align: center;
    color: white;
    font-size: 1.5vw;
}

#vip-section2 .vip-level>div {
    flex: 1;
}

#vip-section2 .vip-level img {
    width: 100%;
    visibility: hidden;
}

#vip-section2 .vip-level .img {
    background: transparent no-repeat scroll center;
    background-size: contain;
}

#vip-section2 .vip-level .img::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 50%;
}

#vip-section2 .vip-level .img.level {
    background-image: url(../img/vip-level.png);
}

#vip-section2 .vip-level .img.classic {
    background-image: url(../img/vip-classic.png);
}

#vip-section2 .vip-level .img.silver {
    background-image: url(../img/vip-silver.png);
}

#vip-section2 .vip-level .img.gold {
    background-image: url(../img/vip-gold.png);
}

#vip-section2 .vip-level .img.platinum {
    background-image: url(../img/vip-platinum.png);
}

#vip-section2 .vip-level .img.prestige {
    background-image: url(../img/vip-prestige.png);
}

#vip-section2 .vip-level .img.royal {
    background-image: url(../img/vip-royal.png);
}

#vip-section2 .o9-col {
    margin: 0 10px;
    padding: 2em 0 1em;
}

#vip-section2 .o9-col>p:first-child {
    min-height: 10vw;
}

#vip-section2 .o9-col.classic {
    background-color: rgba(106, 92, 121, 0.3);
}

#vip-section2 .o9-col.silver {
    background-color: rgba(88, 111, 111, 0.3);
}

#vip-section2 .o9-col.gold {
    background-color: rgba(101, 80, 46, 0.3);
}

#vip-section2 .o9-col.platinum {
    background-color: rgba(45, 61, 78, 0.3);
}

#vip-section2 .o9-col.prestige {
    background-color: rgba(44, 66, 51, 0.3);
}

#vip-section2 .o9-col.royal {
    background-color: rgba(51, 32, 24, 0.3);
}

#vip-section2 .level-line {
    background-color: #000;
    color: #fff;
    position: absolute;
    /* top: 35%; */
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-size: 1.5vw;
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #vip-section1 #layer2 {
        background-image: url(../img/vip-1-2.phone.png);
        height: 100vh;
    }

    #vip-section2 {
        padding: 5em 1em;
    }
}

/* contact us page */
#contact-section1 {
    position: relative;
    height: 100vh;
}

#contact-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#contact-section1 #layer1 {
    background: transparent url(../img/contact-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#contact-section1 #layer2 {
    background: transparent url(../img/contact-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#contact-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#contact-section2 {
    padding: 5em 0;
}

#contact-section2 .contact-list {
    max-width: 450px;
    margin: 0 auto;
}

#contact-section2 .contact-list>div {
    background: rgba(140, 140, 140, 0.5) no-repeat scroll left center;
    padding: 1em 1em 1em 5em;
    background-size: contain;
    color: whitesmoke;
    margin-bottom: 1em;
}


#contact-section2 .contact-list>div span {
    display: inline-block;
    min-width: 100px;
}

#contact-section2 .contact-list .ws {
    background-image: url(../img/whatsapp.png);
}

#contact-section2 .contact-list .line {
    background-image: url(../img/line.png);
}

#contact-section2 .contact-list .tg {
    background-image: url(../img/telegram.png);
}

#contact-section2 .contact-list .wc {
    background-image: url(../img/wechat.png);
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #contact-section1 #layer2 {
        background-image: url(../img/contact-1-2.phone.png);
        height: 100vh;
    }
}

/* winner page */
#winner-section1 {
    position: relative;
    height: 100vh;
}

#winner-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#winner-section1 #layer1 {
    background: transparent url(../img/winner-1-1.jpg) no-repeat scroll center top;
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#winner-section1 #layer2 {
    background: transparent url(../img/winner-1-2.png) no-repeat scroll center bottom;
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#winner-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#winner-section2 {
    padding: 5em 0;
    text-align: center;
}

#winner-section2 #result {
    background: transparent url(../img/winner-list-bg.jpg) no-repeat scroll center;
    background-size: cover;
    width: 90%;
    max-width: 768px;
    min-height: 1024px;
    margin: 0 auto;
}

#winner-section2 #result table {
    width: 80%;
    margin: 28em auto 0;
}

@media screen and (orientation: portrait) and (max-width: 475px) {
    #winner-section1 #layer2 {
        background-image: url(../img/winner-1-2.phone.png);
        height: 100vh;
    }

    #winner-section2 #result {
        background-size: 100% 100%;
    }
}

/* slide4 */
.slider4 .play-link {
    display: none;
    text-decoration: none;
    color: whitesmoke;
    float: right;
    font-size: 2vw;
    border-bottom-left-radius: 35px;
    background-color: #9e9e9e;
    padding: 5px 1em;
}

.slider4 ul li:hover .play-link,
.slider4 ul li:first-child~li:last-child .play-link {
    display: inherit;
}

.slider4 ul li:hover~li:last-child .play-link {
    display: none;
}

@media screen and (max-width: 425px) {
    .play-link {
        font-size: 12pt;
    }
}

@media screen and (min-width: 768px) {
    .slider4 {
        max-width: 500px;
    }
}

/* template page */
#tpl-section1 {
    position: relative;
    height: 100vh;
}

#tpl-section1>div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#tpl-section1 #layer1 {
    /* background: transparent url(../img/fishing-1-1.jpg) no-repeat scroll center top; */
    background-size: cover;
    animation: bg-scroll-left 30s linear infinite;
    -webkit-animation: bg-scroll-left 30s linear infinite;
}

#tpl-section1 #layer2 {
    /* background: transparent url(../img/bg3.jpg) no-repeat scroll center bottom; */
    background-size: cover;
    height: auto;
    position: absolute;
    bottom: 0;
}

#tpl-section1 #layer2::after {
    content: '';
    display: block;
    width: 0;
    padding-top: 30%;
}

#tpl-section2 {
    min-height: 100vh;
    padding: 7em 0;
    background: transparent url(../img/bg3.jpg) no-repeat scroll center;
    background-size: cover;
}

@media screen and (max-width: 600px) {
    #tpl-section1 #layer2::after {
        padding-top: 100%;
    }

    #tpl-section1 #layer1 {
        background-size: cover;
    }

    #tpl-section1 #layer3 {
        padding-top: 10vh;
    }
}