:root {
  --primary: #eb2652;
  --accent: #ffe100;
  --white: #ffffff;
  --black: #111111;
}


/* CUSTOM CSS  */

html, body {
	background-color: #68070a;;
}

body {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}

body[data-lang="id"] {
	font-family: 'Conv_tahoma' !important;
}
body[data-lang="cn"] {
	font-family: 'Conv_tahoma' !important;
}
body[data-lang="th"] {
	font-family: 'Tahoma' !important;
}
body[data-lang="vn"] {
	font-family: 'Conv_tahoma' !important;
}

body.landing {
	background-image: url('../img/bg.jpg');
}

body.quiz {
	background-image: url('../img/bg.jpg');
}

body.rng {
	background-image: url('../img/bg.jpg');
}

body a {
	color: var(--white);
}
body a:hover {
	color: var(--accent);
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6 {
	font-family: 'Poppins', sans-serif;font-weight: 400;
}

.uk-button {
	transition: all .2s ease-in-out;
}


.accent-btn {
	display: inline-block;
  vertical-align: middle;
  background: linear-gradient(to right, #dfa827 0%,#ffde6c 50%,#fab143 100%);
  color: var(--black);
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 40px;
  padding: 0;
  min-width: 300px;
  min-height: 50px;
  line-height: 50px;
  font-size: 1.3em;
  font-weight: 600;
  box-sizing: border-box;
  outline: 0;
  transition: all .2s ease-in-out;
  box-shadow: inset 0px 0px 6px 4px #eda031;
}


.accent-btn:hover {
	transform: scale(1.05);
  color: var(--black);
}

.dropdown-dark.language-button-selection {
  min-width: 300px;
}

.lang-area {
  min-width: 120px;
}

span.icon-flag {
  background-image: url('');
  background-repeat: no-repeat;
  background-position: center center;
  height: 26px;
  width: 26px;
  display: inline-block;
  margin-right: .75em;
  vertical-align: middle;
  border-radius: 50%;
}

span.icon-flag.fl-vn {
  background-image: url('../img/flag-vn.svg');
}
span.icon-flag.fl-id {
  background-image: url('../img/flag-id.svg');
}
span.icon-flag.fl-en {
  background-image: url('../img/flag-my.svg');
}
span.icon-flag.fl-th {
  background-image: url('../img/flag-th.svg');
}
span.icon-flag.fl-cn {
  background-image: url('../img/flag-cn.svg');
}
span.icon-flag.fl-my_cn {
  background-image: url('../img/flag-cn.svg');
}
span.icon-flag.fl-my {
  background-image: url('../img/flag-my.svg');
}
span.icon-flag.fl-kr {
  background-image: url('../img/flag-kr.svg');
}
span.icon-flag.fl-jp {
  background-image: url('../img/flag-jp.svg');
}
span.icon-flag.fl-in {
  background-image: url('../img/flag-in.svg');
}


.plus18 {
  background-image: url(../img/18plus.svg);
  min-width: 24px;
  min-height: 24px;
  margin-bottom: 3px;
}

button.language-button {
  min-width: 120px;
  padding:0;
  background-color: transparent;
	border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  padding: 0 1.2em;;
  border-radius: 8px;
}

button.language-button:hover {
  background-color: var(--white);
  border: 1px solid var(--white);
}

button.language-button span.icon-flag {
  margin-bottom: 2px;
}

.uk-dropdown.dropdown-dark {
  background: var(--white);
  color: var(--black);
  padding: 0;
}

.uk-dropdown.dropdown-dark ul li a{
  color: var(--black);
  padding: 1em 1.5em;
}

.uk-dropdown.dropdown-dark ul li a:hover {
  color: var(--white);
}

.uk-dropdown.dropdown-dark ul li:last-child {
  margin-bottom: 1em;
}

.uk-dropdown.dropdown-dark ul li.uk-active {
  background: #b00005;
}

.uk-dropdown.dropdown-dark ul li {
  transition: all .3s ease;
}

.uk-dropdown.dropdown-dark ul li:hover {
  background: #b00005;
}

.uk-dropdown.dropdown-dark ul li.uk-active a {
  color: var(--white);
  cursor: default;
}

.uk-dropdown.dropdown-dark ul li.label {
  padding: .5em 4.5em .5em 4.5em;
}
  
.uk-dropdown.dropdown-dark ul li.label:hover {  
  cursor: default;
  background: #333;
}



@keyframes lightGlow {
  0% {opacity: 1; }
  1% {opacity: .8;}
  2% {opacity: 1;}
  11% {opacity: 1;}
  12% {opacity: .4;}
  20% {opacity: .8;}
  21% {opacity: 1;}
  32% {opacity: .8;}
  33% {opacity: 1;}
  98% {opacity: .8;}
  99% {opacity: .4;}
  100% {opacity: 1;}
}

@keyframes rotateWheel {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.spinwheel-rotate {
	animation: rotateWheel 30s linear infinite;
}

.text-white {
	color: var(--white);
}

/* START Form Modal */

.form-modal {
	color:  var(--black);
}

.blur {
  -webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -o-filter: blur(10px);
  -ms-filter: blur(10px);
  filter: blur(10px);
  transition: all 300ms ease-out;
  opacity: 0.7;
}

.high-color{color: var(--accent-4) !important; }

.uk-modal-header {
    background-color: #1a2332 !important;
    font-size: 14px;
}
.uk-modal-header.correct {
    background-color: green !important;
    font-size: 14px;
}
.uk-modal-header.incorrect {
    background-color: red !important;
    font-size: 14px;
}
.uk-modal-header h3{
    color: var(--white) !important;
    font-size: 14px;
}

.popup-tnc .uk-modal-title,
.popup-mechanics   .uk-modal-title {
  font-size: 1.5em;
}

.uk-button.submit-btn {
    background-color: #ffcd00 !important;
    color: var(--black);
    transition: all .2s ease-out; 
}
.uk-button.submit-btn:hover {
    background-color: #ffa22b !important;
}

.bg-grey { background-color: #e8edf1; }

.uk-modal { background-color: rgba(0,0,0,.7) !important;}
.uk-modal-dialog{ box-shadow: 0 5px 25px rgba(0, 0, 0, 0.16); }

.uk-modal-body{color: var(--black);}

/* Sign Up Modal */

#message-response{
  border: 1px solid rbga(0,0,0,0);
  padding: 0.5em 1em; max-width: 470px; margin: 1em auto;
  text-align: center;
  border-radius: 3px;
}

#message-response.error{
  background-color: #ffcaca; color: #ff4e4e; border-color: #9b1111;
}

#message-response.success{
  background-color: #d1f0d0; color: #4baf46; border-color: #14710f;
}

/* END Form Modal */

/* REGISTRATION PAGE */

body.register {
	background-image: url('../img/reg-bg.jpg');
}

body.register a {
	color: #c6191e;
}

.reg-banner-dekstop {
	background: var(--black);
}

.reg-container {
	padding: 2em;
}

.promo-logo {
  width: 350px;
  margin-bottom: 30px;
}

body.register .uk-button-warning {
    background-color: #ffcd00!important;
    color: #000;
    transition: all 200ms ease-out; 
}
body.register .uk-button-warning:hover {
    background-color: #eb0023!important;
    color: #fff;
}

body.register button.currency-lang {
  padding:0;
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  padding: 0;
}

body.register button.currency-lang:hover {
    background-color: #fff;
}

button.currency-lang span.icon-flag {
    margin-bottom: 2px;
}

body.register button.currency-lang {
  min-width: 0;
}

body.register button.currency-lang {
	background-color: var(--white);
	border: none;
	color: var(--black);
}

body.register .uk-alert.error {
    background: #fef4f6;
    color: #f0506e;
}
body.register .uk-alert.ok, .uk-alert.success {
    background: #edfbf6;
    color: #32d296;
}

.box-dropshadow {
	box-shadow: 0px 3px 22px 3px rgba(0, 0, 0, .4);
}

.reg-banner-mobile {
	display: none;
}

.center-img {
	overflow: hidden;
}


/* FLEX Main content */
.main-content  {
  display: grid; 
  grid-auto-columns: 1fr; 
  grid-template-rows: min-content max-content min-content; 
  gap: 0px 0px; 
}

.top-content {
  justify-self: center; 
  align-self: end; 
  grid-area: 1 / 1 / 2 / 2; 
}

.mid-content {
  justify-self: center; 
  align-self: center; 
  grid-area: 2 / 1 / 3 / 2; 
}

.bot-content {
  justify-self: center; 
  align-self: start; 
  grid-area: 3 / 1 / 4 / 2; 
}

/*  FLOATING  */
.elements-1 {
  background-image: url(../img/elements-1.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
  position: absolute;
	width: 98px;
  height: 77px;
	right: 20%;
	top: 12%;
	animation: upDown 12s infinite;
}

.elements-2 {
  background-image: url(../img/elements-2.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
  position: absolute;
	width: 155px;
  height: 132px;
	left: 18%;
	bottom: 60%;
	animation: upDown 6s infinite;
}
.elements-3 {
  background-image: url(../img/elements-3.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
  position: absolute;
	width: 142px;
  height: 142px;
	right: 21%;
	bottom: 12%	;
	animation: upDown 8s infinite;
}


@keyframes upDown {
  0%, 100% {
    transform: translate(0,0);
  }
  
  50% {
    transform: translate(0, -20px);
  }
}	







/*  MEDIA QUERIES   */

@media screen and (max-width: 800px){
	.registration-form {
		margin-top: 0 !important;
	}

	.reg-container {
		padding: 1.4em !important;
	}
}	

@media screen and (max-width: 768px){

	body.register {
		font-size: 12px;
	}

	.reg-banner-desktop {
		display: none;
	}
	
	.reg-banner-mobile {
		display: initial;
		margin-bottom: 1em;
	}

	.box-dropshadow {
		box-shadow: none;
	}

	.reg-container {
		margin-bottom: 3em !important;
	}

}	


/* MEDIA QUERIES */

@media screen and (max-width: 1600px){

}

@media screen and (max-width: 1280px){

}	

@media screen and (max-width: 1200px){

	.center-img {
		margin-top: 80px;
	}

}	


@media screen and (max-width: 960px){

	.ilp-logo {
		max-width: 280px;
	}

	.center-img {
		margin-top: 80px;
	}

}

@media screen and (max-width: 640px){
	body.landing {
		background-image: url('../img/bg-640.jpg');
		background-position: center top;
	}

	.ilp-logo {
		max-width: 240px;
	}

	.center-img {
		margin-top: 0;
	}

}	

@media screen and (max-width: 480px){
	body.landing {
		background-image: url('../img/bg-480.jpg');
		background-position: center top;
	}

	button.language-button {
		min-width: 0;
		padding: 0px 0.2em;
		border: 1px solid transparent;
	}

	.ilp-logo {
		max-width: 180px;
	}
	
	.uk-h2, h2 {
		  font-size: 1.4em;
	}
	.center-img {
		margin-top: 0;
	}


}	

@media screen and (max-width: 320px){
	body.landing {
		background-image: url('../img/bg.jpg');
	}

}	

@media screen and (orientation: landscape)  and (max-height: 800px){

}