* {
	user-select: none;
    box-sizing: border-box;
}
html {
    font-size: 14px;
}
body {
    font-family: "Century Gothic", 'Lato', sans-serif;
	background: #f6f2d9;
	padding:0;
	margin:0;
}
a {
    text-decoration: none;
}
.et-hero-tabs, .et-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}
.et-hero-tabs {
    height: 100vh;
}
.et-slide {
    height: calc(100vh - 50px);
}
.et-hero-tabs h1, .et-slide h1 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1rem;
}
.et-hero-tabs h3, .et-slide h3 {
    font-size: 1rem;
    letter-spacing: 0.3rem;
    opacity: 0.6;
}

.et-slide img{
    height: 100%;
    width: 100%;
}
.et-hero-tabs-container {
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: #392e19;
    z-index: 10;
}
.et-hero-tabs-container--top {
    position: fixed;
    top: 0;
}
.et-hero-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    color: #e5ba20;
    font-weight: bold;
    letter-spacing: 0.1rem;
    transition: all 0.5s ease;
    font-size: 1rem;
    border-left: 1px solid #665d53;
}
.et-hero-tab:hover,
.et-hero-tab:active,
.et-hero-tab:visited {
    /* background-image: url('./images/a_btn.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;  */
    /* color: white; */
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}
.et-hero-tab-slider {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    background-image: url('./images/abtn.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transition: left 0.3s ease;
    z-index: -1;
}
a .tip-date{
    position: absolute;
    top: 0.2rem;
    color: #fbfafa;
    font-size: 0.7rem;
}
.tip-date.hide {
    display: none;
}
a .tip-date.show::after{
    content: "";
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    width: 50px;
    height: 50px;
    background-image: url('./images/handclick.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-align: center;
    display: block;
    animation: handclick 0.25s ease-in-out 0.1s infinite alternate;
}
@keyframes handclick {
    0%   {top:-50px;}
    100% {top:-60px;}
}
@-webkit-keyframes handclick {
    0%   {top:-50px;}
    100% {top:-60px;}
}
@-moz-keyframes handclick {
    0%   {top:-50px;}
    100% {top:-60px;}
}
td {
	padding: 10px;
}
.et-slide {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-origin: padding-box;
    background-color: transparent;
}
#t1 {
    width: 100%;
    height: 100%;
    background-image: url('./images/main/S1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-origin: padding-box;
    position: relative;
}
#t1.home .content {
    position: absolute;
    bottom: 50px;
    width: 100%;
    background: #004831ad;
    padding: 0.8rem;
    color: #6fe99a;
    font-size: 1.3rem;
    text-shadow: -2px 2px black;
	padding-bottom: 50px;
}
#t1.home .content span.title {
    color: #fff700;
    font-size: 1.8rem;
    padding: 0.2rem;
}

#t2 {
    background-color: #c1302e;
}
#t3 {
    background-color: #48891b;
}
#t4 {
    background-color: #38151b;
}
#t5 {
    background-color: #38247b;
}
#t6 {
    background-color: #be2851;
}
#t7 {
    background-color: #6e2084;
}
#cn {
    background-color: #2e1f0c;
}
#tuan {
    background-color: #611b0a;
}
a.et-hero-tab[href='#tuan'] {
    background-image: url('./images/tuanbtn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
}
a.et-hero-tab[href='#tuan']:focus,
a.et-hero-tab[href='#tuan']:hover {
    background-image: url('./images/abtn.jpg');
    font-size: 1.5rem;
    font-weight: bold;
}


/* Result */

.text-red {
    color: red;
}
.et-main {
    overflow: hidden;
    background-color: #392e19;
}
/* .result-container {
    position: absolute;
    text-align: left;
    width: 100vw;
    height: 100vh;
    color: #fff;
    background: black;
    transform: translateX(100%);
} */
.result-wrapper {
    z-index: 4;
    height: calc(100vh - 50px);
    width: 85%;
    position: absolute;
    top: 0;
    right: -80%;
    background: url(./images/mainResult.png) no-repeat;
    background-size: 100% 100%;
    background-position: center;
}
.result-container {
    position: relative;
    height: 100%;
}

.result-main {
    position: absolute;
    top: 18px;
    height: auto;
    bottom: 60px;
    left: 10%;
    width: 80%;
    overflow: auto;
    color: #fff;
    font-size: 0.7rem;
}
.result-main i,
.result-main span {
    font-size: 0.7rem;
}

.title-result {
    position: absolute;
    width: 250px;
    background: url('./images/headerResult.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
    padding: 0.5rem 1rem 0.8rem 1rem;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.6rem;
    text-align: center;
    color: #fff;
}
.title-result .col {
    font: normal normal bold 14px/21px Kanit;
    color: #FFF0BE;
    text-shadow: 0px 5px 3px #f8ffe381;
}

.result-main .row.head {
    position: sticky;
    top: 0;
    background-color: #000;
}
.result-main .row {
    position: relative;
    z-index: 2;
    padding: 0.3rem;
    margin: 0.5rem;
}
.result-main span,
.result-main i {
    line-height: 1rem;
    z-index: 7;
}
.result-main .row .col {
    position: relative;
}
.result-main span.username {
    position: absolute;
    top: 1.2rem;
    right: 1rem;
}
.result-main .row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-origin: padding-box;
    background-image: url(./images/Component320.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-blend-mode: saturation;
    z-index: -1;
    padding-bottom: 0.3rem;
}
.result-main .row:nth-child(2)::before,
.result-main .row:nth-child(3)::before {
    filter: hue-rotate(302deg);
}
.result-main .row:nth-child(4)::before,
.result-main .row:nth-child(5)::before {
    filter: hue-rotate(202deg);
}
.result-main .row:nth-child(n+6)::before {
    filter: grayscale(70%);
}

.result-main .row > .col > i {
    vertical-align: middle;
    vertical-align: -webkit-baseline-middle;
}
.result-main .row > .ranking > i {
    width: 2rem;
    height: 2rem;
    text-align: center;
}
.result-main .row:nth-child(1) > .ranking > i {
    background: center / contain no-repeat url("./images/Component64.png");
    display: inline-block;
    font-size: 0;
}
.result-main .row:nth-child(2) > .ranking > i {
    background: center / contain no-repeat url("./images/Component54.png");
    display: inline-block;
    font-size: 0;
}
.result-main .row:nth-child(3) > .ranking > i {
    background: center / contain no-repeat url("./images/Component44.png");
    display: inline-block;
    font-size: 0;
}
.result-main .row:nth-child(n+4) > .ranking > i {
    background: center / contain no-repeat url("./images/Component1110.png");
    display: inline-block;
    font-size: 1rem;
    width: 1.2rem;
    height: 1.2rem;
    line-height: 1.2rem;
    color: #000;
}
.btn-result {
    position: absolute;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    background-color: transparent;
    background-image: url('./images/resultbtn.png');
    width: 9rem;
    height: 3.2rem;
    font-size: 1.1rem;
    left: -4rem;
    color: #fff;
    font-weight: bold;
    transform: rotate(-90deg);
    top: 7rem;
    border: 0;
    z-index: 7;

}
.btn-result.open {
    background-position: 100% 0;
}
.btn-result.close {
    display: none;
    background-position: 0 0;
}
.real-data .gift i,
.real-data .level i {
    margin-top: 0.2rem;
    min-height: 1.4rem;
    height: auto;
    display:inline-block; 
    border-radius: 0.6rem;
    padding: 0.2rem 0.5rem;
}
.real-data .gift i {
    width: 65%;
    background-color: rgba(0, 0, 0, 0.377);
}
.real-data .gift::after {
    content: '';
    position: absolute;
    width: 2rem;
    height: 2rem;
    background: url(./images/Group11717.png) no-repeat;
    background-size: cover;
    background-position: center;
    left: 5%;
}

@media (min-width: 800px) {
    .et-hero-tabs h1, .et-slide h1 {
        font-size: 3rem;
   }
    .et-hero-tabs h3, .et-slide h3 {
        font-size: 1rem;
   }
    .et-hero-tab {
        font-size: 1rem;
   }
}


.row {
    display: flex;
    flex-wrap: wrap;
}
.col-md-1 {
    flex: 0 0 auto;
    width: 8.3333333333%;
}
.col-md-2 {
    flex: 0 0 auto;
    width: 16.6666666667%;
}
.col-md-3 {
    flex: 0 0 auto;
    width: 25%;
}
.col-md-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
}
.col-md-5 {
    flex: 0 0 auto;
    width: 41.666666667%;
}
/*over-lay*/
.over-lay {
    background: #7385733d;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    display: block;
    position: fixed;
    top: 0;
    z-index: 3;
}

/* countdown */
#clockdiv{
	font-family: sans-serif;
	color: #fff;
	display: inline-block;
	font-weight: 100;
	text-align: center;
	font-size: 30px;
}

#clockdiv > div{
	padding: 5px;
	border-radius: 3px;
	background: #252541;
	display: inline-block;
}

#clockdiv div > span{
	width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    vertical-align: bottom;
	border-radius: 3px;
	background: #d772d1;
	display: inline-block;
}

.smalltext{
	padding-top: 5px;
	font-size: 16px;
}
.waiting-event h1 {
position: relative;
transform: skew(-15deg);
letter-spacing: 0.03em;
}
.waiting-event h1::after {
content: "";
position: absolute;
top: -0.1em;
right: 0.05em;
width: 0.4em;
height: 0.4em;
background: radial-gradient(white 3%, rgba(255, 255, 255, 0.3) 15%, rgba(255, 255, 255, 0.05) 60%, transparent 80%), radial-gradient(rgba(255, 255, 255, 0.2) 50%, transparent 60%) 50% 50%/5% 100%, radial-gradient(rgba(255, 255, 255, 0.2) 50%, transparent 60%) 50% 50%/70% 5%;
background-repeat: no-repeat;
}
.waiting-event h1 span:first-child {
display: block;
text-shadow: 0 0 0.1em #8ba2d0, 0 0 0.2em black, 0 0 5em #165ff3;
-webkit-text-stroke: 0.06em rgba(0, 0, 0, 0.5);
}
.waiting-event h1 span:last-child {
position: absolute;
left: 0;
top: 0;
background-image: linear-gradient(#032d50 25%, #00a1ef 35%, white 50%, #20125f 50%, #8313e7 55%, #ff61af 75%);
-webkit-text-stroke: 0.01em #94a0b9;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.waiting-event h2 {
font-family: "Mr Dafoe";
margin: 0;
margin-top: -0.6em;
color: white;
text-shadow: 0 0 0.05em #fff, 0 0 0.2em #fe05e1, 0 0 0.3em #fe05e1;
}

/* gift for each data */
.real-data .level i::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: -0.2rem;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.real-data .level i {
    margin-left: 0;
    text-overflow: ellipsis;
    overflow: hidden; 
    width: 7rem; 
    height: 1.4rem;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.377);
}
.real-data.data-t2 .gift::after,
.real-data.data-tuan .gift::after {
    background-image: none;
}

.real-data.data-t2 .level i,
.real-data.data-t3 .level i,
.real-data.data-t5 .level i {
    margin-left: 1.7rem;
    width: 5rem; 
    height: 1.4rem;
}

.row.data-t2:nth-child(1) .level i::before,
.row.data-t2:nth-child(2) .level i::before {
    background-image: url('./images/iphone.png');
}
.row.data-t2:nth-child(3) .level i::before,
.row.data-t2:nth-child(4) .level i::before,
.row.data-t2:nth-child(5) .level i::before {
    background-image: url('./images/samsung.png');
}
.row.data-t2:nth-child(n + 5) .level i::before {
    background-image: url('./images/xiaomi.png');
}

.row.data-t3:nth-child(1) .level i::before,
.row.data-t3:nth-child(2) .level i::before {
    background-image: url('./images/Crown.png');
}
.row.data-t3:nth-child(3) .level i::before,
.row.data-t3:nth-child(4) .level i::before {
    background-image: url('./images/Meda.png');
}
.row.data-t3:nth-child(n + 5) .level i::before {
    background-image: url('./images/Flage.png');
}

.row.data-t5:nth-child(1) .level i::before,
.row.data-t5:nth-child(2) .level i::before {
    background-image: url('./images/Crown.png');
}
.row.data-t5:nth-child(3) .level i::before,
.row.data-t5:nth-child(4) .level i::before {
    background-image: url('./images/Meda.png');
}
.row.data-t5:nth-child(n + 5) .level i::before {
    background-image: url('./images/Flage.png');
}


.scroll-btn-container {
    position: absolute;
    width: 20px;
    top: 70px;
    right: 5%;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: red;
}
.scroll-btn-container .top-scroll-btn {
    width: 1rem;
    height: 1rem;
    background-color: blue;
}
.scroll-btn-container .bottom-scroll-btn {
    width: 1rem;
    height: 1rem;
    background-color: blue;
}