﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

body { font-family: "Roboto", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: url("/event/assets/eg33/images/so-huat/bg.jpg")no-repeat top center; background-size: cover;}

a { text-decoration: none; cursor:pointer; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; }

a:hover, a:focus, button:focus, button:hover, select:hover, select:focus { text-decoration: none; outline: none; }
button {border: none; padding: 0; background: none;}

img { max-width:100%;}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], textarea, select {
    color: #666;
    width: 100%;
}
.t-body {
	overflow: hidden;
}
.deco {
	position: absolute;
}
.deco.ttile-deco-1 {
    left: 4%;
    top: 6%;
    max-width: 11%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.ttile-deco-2 {
    left: 7%;
    top: 54%;
    max-width: 10%;
	animation: float 2s ease-in-out infinite;
}
.deco.ttile-deco-3 {
    right: 2%;
    top: 54%;
    max-width: 7%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.ttile-deco-4 {
    right: -10%;
    top: 59%;
    max-width: 10%;
	animation: float 2.5s ease-in-out infinite;
}
.deco.deco-1 {
    left: 11%;
    top: 2%;
    max-width: 7%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.deco-2 {
    right: 3%;
    top: 27%;
    max-width: 6%;
	animation: float 2s ease-in-out infinite;
}
.deco.deco-3 {
    left: -4%;
    top: 76%;
    max-width: 9%;
	animation: float 2.3s ease-in-out infinite;
}
.deco.deco-4 {
    right: -7%;
    top: -12%;
    max-width: 18%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.deco-cookies {
    right: -8%;
    bottom: -13%;
    max-width: 17%;
	animation: float 2.5s ease-in-out infinite;
}
@-webkit-keyframes float {
0% {
	transform: translateY(0);
}

50% {
	transform: translateY(-13px);
}

100% {
	transform: translateY(0);
}
}
.top-sec {
	position: relative;
	text-align: center;
	padding: 15px 0;
}
.max-container {
	max-width: 1200px;
	position: relative;
	padding: 0 10px;
	margin: 0 auto;
}
button.home-btn {
    max-width: 60px;
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 9;
}
.floating-wrapper {
    position: fixed;
    right: 5px;
    top: 100px;
    z-index: 9;
    max-width: 85px;
    background: url(/event/assets/eg33/images/so-huat/float-base.png)no-repeat;
    background-size: 100% 100%;
    padding: 0.7% 0px;
}
button.float-btn {
    max-width: 65%;
    margin: 3% 0;
}
.date-wrap {
    color: #c90d0d;
    font-size: 28px;
    font-weight: 700;
    margin: -4% 0 15px;
}
.date-text-2 {
    font-size: 68%;
}
.step-wrapper {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 1080px;
    margin: 0 auto;
}
.btm-sec {
    background: url(/event/assets/eg33/images/so-huat/bg-btm.png)no-repeat;
    background-size: 100%;
    background-position-y: 54%;
    padding: 15px 0 45px;
    position: relative;
    text-align: center;
}
.date-base {
    position: relative;
    max-width: 652px;
    margin: -3% auto 15px;
}
.dtext {
    position: absolute;
    left: 0;
    right: 0;
    top: 49%;
    color: #b44d06;
    font-size: 30px;
    font-weight: 700;
}
.token-wrapper {
    max-width: 245px;
    margin: 0 auto;
    position: relative;
	z-index: 2;
}
.token-num {
    position: absolute;
    left: 0;
    right: 0;
    top: 22%;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 2px rgb(0,0,0,0.6);
}
.number-wrapper {
    position: relative;
    margin: -5% auto 0;
    max-width: 1073px;
}
.number-wrapper img {
	pointer-events: none;
}
.number-bet {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 1%;
    max-width: 83%;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    z-index: 2;
}
select.number-input {
    background: none;
    border: none;
    text-align: center;
    height: 100%;
    color: #fff;
    padding: 0;
    font-size: 130px;
    font-weight: 700;
    line-height: 214px;
    appearance: none;
    cursor: pointer;
}
select.number-input option {
    color: #000;
    font-size: 17px;
}
button.comm-btn {
    background: url(/event/assets/eg33/images/so-huat/submit-btn.png)no-repeat;
    background-size: 100% 100%;
    width: 100%;
    max-width: 215px;
    height: 47px;
    color: #fff;
    text-shadow: 0 2px 2px rgb(0,0,0,0.6);
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 5px;
}
button.comm-btn.history {
	background: url("/event/assets/eg33/images/so-huat/history-btn.png")no-repeat;
	background-size: 100% 100%;
}
button.comm-btn.result {
	background: url("/event/assets/eg33/images/so-huat/result-btn.png")no-repeat;
	background-size: 100% 100%;
}
button.comm-btn:hover {
	transform: scale(0.97);
	filter: brightness(1.07);
}

@media(max-width: 1080px) {
.number-wrapper {
    height: 38vw;
    margin: 0 -15px;
    max-width: unset;
}	
.number-wrapper img {
    object-fit: cover;
    height: 100%;
}	
.number-bet {
    max-width: 90%;
	top: 33%;
}	
select.number-input {
    font-size: 12vw;
	line-height: 20vw;
}	
	
}
@media(max-width: 991px) {
.logo {
    max-width: 23%;
    margin: 0 auto;
}
.floating-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
}

@media(max-width: 767px) {
.floating-wrapper {
    transform: scale(0.7);
}
.top-sec {
    padding: 5px 0 15px;
}	
button.home-btn {
    max-width: 50px;
    top: 0;
}
.logo {
    max-width: 30%;
    margin: 0 auto;
}	
.title-img {
    height: 37vw;
    margin: 0 -15px;
}	
.title-img img {
    object-fit: cover;
    height: 100%;
}	
.date-wrap {
    font-size: 20px;
	margin: -2% 0 15px;
}
.step-wrapper {
    grid-template-columns: repeat(2,1fr);
}
.deco.ttile-deco-2 {
    top: 32%;
}
.deco.ttile-deco-3 {
    top: 36%;
}	
}

@media(max-width: 670px) {
.dtext {
    font-size: 4.5vw;
}	
}

@media(max-width: 480px) {
button.home-btn {
    max-width: 45px;
}
.floating-wrapper {
	top: auto;
	bottom: 30px;
    transform: scale(0.5);
    transform-origin: right bottom;
}	
.date-wrap {
    font-size: 16px;
}
.how-title, .prediction-title {
    max-width: 90%;
    margin: 0 auto;
}
	
}



#clouds{
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	height: 100%;
	z-index: -1;
}

/*Time to finalise the cloud shape*/
.cloud {
	width: 200px; height: 60px;
	background: #fff;
	
	border-radius: 200px;
	-moz-border-radius: 200px;
	-webkit-border-radius: 200px;
	
	position: relative; 
}

.cloud:before, .cloud:after {
	content: '';
	position: absolute; 
	background: #fff;
	width: 100px; height: 80px;
	position: absolute; top: -15px; left: 10px;
	
	border-radius: 100px;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
	
	-webkit-transform: rotate(30deg);
	transform: rotate(30deg);
	-moz-transform: rotate(30deg);
}

.cloud:after {
	width: 120px; height: 120px;
	top: -55px; left: auto; right: 15px;
}

/*Time to animate*/
.x1 {
	-webkit-animation: moveclouds 15s linear infinite;
	-moz-animation: moveclouds 15s linear infinite;
	-o-animation: moveclouds 15s linear infinite;
	right: 0;
	top: 5%;
}

/*variable speed, opacity, and position of clouds for realistic effect*/
.x2 {
	left: 200px;
	-webkit-transform: scale(0.6);
	-moz-transform: scale(0.6);
	transform: scale(0.6);
	opacity: 0.6; /*opacity proportional to the size*/
	
	/*Speed will also be proportional to the size and opacity*/
	/*More the speed. Less the time in 's' = seconds*/
	-webkit-animation: moveclouds 25s linear infinite;
	-moz-animation: moveclouds 25s linear infinite;
	-o-animation: moveclouds 25s linear infinite;
	top: 15%;
}

.x3 {
	left: -250px; top: -30%;
	
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0.8; /*opacity proportional to the size*/
	
	-webkit-animation: moveclouds 20s linear infinite;
	-moz-animation: moveclouds 20s linear infinite;
	-o-animation: moveclouds 20s linear infinite;
}

.x4 {
	left: 470px; top: 35%;
	
	-webkit-transform: scale(0.75);
	-moz-transform: scale(0.75);
	transform: scale(0.75);
	opacity: 0.75; /*opacity proportional to the size*/
	
	-webkit-animation: moveclouds 18s linear infinite;
	-moz-animation: moveclouds 18s linear infinite;
	-o-animation: moveclouds 18s linear infinite;
}

.x5 {
	left: -150px; top: 40%;
	
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0.8; /*opacity proportional to the size*/
	
	-webkit-animation: moveclouds 20s linear infinite;
	-moz-animation: moveclouds 20s linear infinite;
	-o-animation: moveclouds 20s linear infinite;
}

@-webkit-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}
@-moz-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}
@-o-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}






































