﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

@font-face {
  font-family: Cubano;
  src: url("../fonts/Cubano.ttf");
}

body { font-family: "Montserrat", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: url("/event/assets/eg33/images/diwaloween/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; }

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;
}
.thunder {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
}
canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

#canvas3 {
  z-index: 5;
}

#canvas2 {
  z-index: 10;
}

#canvas1 {
  z-index: 100;
}

@-webkit-keyframes thunder-bg {
  0% {
    background-color: rgba(34, 34, 34, 0.9);
  }
  9% {
    background-color: rgba(34, 34, 34, 0.9);
  }
  10% {
    background-color: rgba(59, 59, 59, 0.3);
  }
  10.5% {
    background-color: rgba(34, 34, 34, 0.9);
  }
  80% {
    background-color: rgba(34, 34, 34, 0.9);
  }
  82% {
    background-color: rgba(59, 59, 59, 0.3);
  }
  83% {
    background-color: rgba(34, 34, 34, 0.9);
  }
  83.5% {
    background-color: rgba(59, 59, 59, 0.3);
  }
  100% {
    background-color: rgba(34, 34, 34, 0.9);
  }
}

.floating-wrapper {
    position: fixed;
    right: 4px;
    bottom: 10%;
    z-index: 9;
    max-width: 65px;
}
.float-btn-wrap {
    position: absolute;
    top: 6%;
    left: -24px;
}
button.float-btn {
    background: none;
    border: none;
    padding: 0;
    max-width: 72px;
    margin: 2px 0;
    transition: 0.2s;
}
button.float-btn img {
    filter: drop-shadow(1px 3px 2px rgb(0,0,0,0.3));
}
button.float-btn:hover {
    transform: scale(1.03) rotate(9deg);
    transition: 0.2s;
}
.top-sec {
    position: relative;
    text-align: center;
    padding: 20px 0 30px;
}
.max-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
}
.logo {
    position: relative;
    z-index: 2;
}
.title-top {
    position: relative;
    max-width: 1200px;
    margin: -3% auto 30px;
}
.deco {
	position: absolute;
}
.deco.coins-1 {
    left: 8%;
    top: 75%;
    z-index: -1;
    max-width: 15%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.coins-2 {
    right: 4%;
    top: 66%;
    max-width: 21%;
	animation: float 2.8s ease-in-out infinite;
}
@-webkit-keyframes float {
0% {
	transform: translateY(0);
}

50% {
	transform: translateY(-13px);
}

100% {
	transform: translateY(0);
}
}
.how-title {
	padding-bottom: 10px;
}
.how-wrapper {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 860px;
    margin: 5px auto;
}
.btm-sec {
    background: url(/event/assets/eg33/images/diwaloween/bg-btm.png)no-repeat top center;
    background-size: 100%;
    background-position-y: 85px;
    position: relative;
    text-align: center;
    padding: 15px 0 45px;
}
.date-event-wrapper {
    position: relative;
    max-width: 648px;
    margin: 0 auto 15px;
}
.date-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 25%;
    font-family: 'Cubano';
    font-size: 32px;
    text-shadow: 0 1px 3px #000;
}
.prediction-wrapper {
    background: url(/event/assets/eg33/images/diwaloween/bush-bg.png)no-repeat center;
    background-size: 90%;
    height: 563px;
    padding-top: 6%;
    margin-top: -6%;
}
.token-wrapper {
    position: relative;
    max-width: 330px;
    margin: 0 auto -4%;
    z-index: 2;
}
.token-number {
    position: absolute;
    left: 0;
    right: 0;
    top: 28%;
    font-family: 'Cubano';
    font-size: 32px;
    text-shadow: 0 2px 2px rgb(0,0,0,0.7);
}
.lottery-wrapper {
    position: relative;
    max-width: 765px;
    margin: 0 auto;
}
.number-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 22%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    align-items: center;
    max-width: 68%;
    grid-gap: 9px;
    margin: 0 auto;
}
select.predict-input {
    height: 100%;
    width: 100%;
    background: none;
    border: none;
    font-size: 130px;
    color: #fff;
    font-family: 'Cubano';
    appearance: none;
    text-align: center;
    cursor: pointer;
}
select.predict-input option {
	font-size: 18px;
	text-align: center;
	color: #000;
}
.btm-btn-wrapper {
    margin-top: -8%;
    position: relative;
    z-index: 2;
}
button.comm-btn {
    background: url(/event/assets/eg33/images/diwaloween/green-btn.png)no-repeat;
    background-size: 100% 100%;
    width: 100%;
    max-width: 282px;
    height: 82px;
    margin: 5px 5px;
    color: #fff;
    border: none;
    padding: 0 0 19px;
    font-family: 'Cubano';
    font-size: 26px;
    text-transform: uppercase;
    text-shadow: 0 2px 2px rgb(0,0,0,0.8);
}
button.comm-btn.history {
	background: url("/event/assets/eg33/images/diwaloween/yellow-btn.png")no-repeat;
	background-size: 100% 100%;
}
button.comm-btn.result {
	background: url("/event/assets/eg33/images/diwaloween/red-btn.png")no-repeat;
	background-size: 100% 100%;
}
button.comm-btn:hover {
	transform: scale(0.97);
	filter: brightness(1.07);
}

.deco.ball-1 {
    left: -23%;
    top: 0;
	max-width: 18%;
	animation: float 2.8s ease-in-out infinite;
}
.deco.ball-2 {
    right: -20%;
    top: 1%;
    max-width: 9%;
	animation: float 2.5s ease-in-out infinite;
}
.deco.ball-3 {
    left: 17%;
    bottom: 19%;
    max-width: 5%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.ball-4 {
    right: 13%;
    bottom: 17%;
    max-width: 4%;
	animation: float 2.7s ease-in-out infinite;
}
.deco.skull {
    right: 8%;
    bottom: 38%;
    max-width: 12%;
	animation: zoom 2s linear infinite;
}
@-webkit-keyframes zoom {
0% {
	transform: scale(1);
}

50% {
	transform: scale(0.9);
}

100% {
	transform: scale(1);
}
}

@media(max-width: 991px) {
.logo {
    max-width: 230px;
    margin: 0 auto;
}
	
}

@media(max-width: 767px) {
.floating-wrapper {
    transform: scale(0.8);
    transform-origin: right;
}	
.how-wrapper {
    grid-template-columns: repeat(2,1fr);
    max-width: 445px;
}
select.predict-input {
    font-size: 17vw;
}	
.prediction-wrapper {
    height: auto;	
}
.btm-btn-wrapper {
    margin-top: 15px;
}	
.deco.ball-1,.deco.ball-2,.deco.ball-3,.deco.ball-4,.deco.skull {	
	display: none;
}
	
@media(max-width: 660px) {
.date-text {
    font-size: 4.9vw;
}	
}

@media(max-width: 480px) {
.floating-wrapper {
    transform: scale(0.65);
    bottom: 0;
}	
.top-sec {
    padding: 10px 0 30px;
}	
.logo {
    max-width: 45%;
    margin: 0 auto;
}	
.how-title {
    max-width: 95%;
    margin: 0 auto;
}	
.token-wrapper {
    max-width: 70%;
}	
.token-number {
    font-size: 6.4vw;
}
button.comm-btn {
    max-width: 63%;
    height: 17vw;
    font-size: 5.4vw;
    padding-bottom: 4%;
}	
.title-img {
    margin: 0 -10px;
    height: 60vw;
}
.title-img img {
    object-fit: cover;
    height: 100%;
}
.deco.coins-1 {
    left: 4%;
    top: 82%;
}
.deco.coins-2 {
    right: -2%;
    top: 74%;
}	
	
}














