@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
  overflow-x: hidden;
}

body {
	width: 100%;
	height: 100vh;
	margin: 0;
	padding: 0;
	position: relative;
	display: flex;
  flex-direction: column;
	font-family: 'Poppins', sans-serif;
	background-image: url('./images/bgimage.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

main {
	flex-grow: 1;
	display: flex;
	justify-content: space-around;
}

.left {
	min-width: 0px;
	max-width: 578px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.brand-logo {
	margin-top: 5vh;
}

.language-dropdown {
	position: relative;
	width: 160px;
	user-select: none;
	font-family: 'Poppins', sans-serif;
}

.flag {
	width: 20px;
	height: 14px;
}

.language-selected {
	background-color: #333333;
	color: #fff;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.language-selected.open {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.language-options {
	display: none;
	position: absolute;
	top: 85%;
	left: 0;
	right: 0;
	background-color: #333333;
	border-radius: 0 0 8px 8px;
	z-index: 999;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
	border-top: none;
}


.language-option {
	color: #fff;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 29px;
	cursor: pointer;

}

.language-option:hover {
	background-color: #333;
}

.lang-text {
	font-size: 14px;
}

.arrow {
	width: 10px;
}

.logo-container {
	position: relative;
}

.logo {
	width: 350px;
}

.sugarcandy {
	width: 205px;
	position: absolute;
	top: -10px;
	left: -70px;
	z-index: -1;
}

.bomb {
	width: 155px;
	position: absolute;
	top: 10px;
	right: -60px;
	transform: rotate(15deg);
	z-index: -1;
	-webkit-transform: rotate(15deg);
	-moz-transform: rotate(15deg);
	-ms-transform: rotate(15deg);
	-o-transform: rotate(15deg);
}

.welcome-container {
	width: 100%;
	padding: 25px 0;
	position: relative;
	border-radius: 12px;
	background-color: rgba(56, 56, 56, 0.3);
	font-size: 30px;
	font-weight: 400;
	text-transform: uppercase;
	color: #FFFFFF;
	text-align: center;
	line-height: 1.2;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	-ms-border-radius: 12px;
	-o-border-radius: 12px;
}

.candy {
	width: 175px;
	position: absolute;
	top: 8vh;
	left: -10vh;
	animation: floatCandy 8s ease-in-out infinite;
	-webkit-animation: floatCandy 8s ease-in-out infinite;
}

.banana {
	width: 175px;
	position: absolute;
	top: -8vh;
	right: -10vh;
	animation: floatBanana 10s ease-in-out infinite;
	-webkit-animation: floatBanana 10s ease-in-out infinite;
}

@keyframes floatCandy {
	0% {
		transform: translateY(0) rotate(20deg);
		-webkit-transform: translateY(0) rotate(20deg);
		-moz-transform: translateY(0) rotate(20deg);
		-ms-transform: translateY(0) rotate(20deg);
		-o-transform: translateY(0) rotate(20deg);
}
	50% {
		transform: translateY(4vh) rotate(25deg);
		-webkit-transform: translateY(4vh) rotate(25deg);
		-moz-transform: translateY(4vh) rotate(25deg);
		-ms-transform: translateY(4vh) rotate(25deg);
		-o-transform: translateY(4vh) rotate(25deg);
}
	100% {
		transform: translateY(0) rotate(20deg);
	}
}

@keyframes floatBanana {
	0% {
		transform: translate(0) rotate(0deg);
		-webkit-transform: translate(0) rotate(0deg);
		-moz-transform: translate(0) rotate(0deg);
		-ms-transform: translate(0) rotate(0deg);
		-o-transform: translate(0) rotate(0deg);
}
	50% {
		transform: translate(1vh, 4vh) rotate(-5deg);
		-webkit-transform: translate(1vh, 4vh) rotate(-5deg);
		-moz-transform: translate(1vh, 4vh) rotate(-5deg);
		-ms-transform: translate(1vh, 4vh) rotate(-5deg);
		-o-transform: translate(1vh, 4vh) rotate(-5deg);
}
	100% {
		transform: translate(0) rotate(0deg);
		-webkit-transform: translate(0) rotate(0deg);
		-moz-transform: translate(0) rotate(0deg);
		-ms-transform: translate(0) rotate(0deg);
		-o-transform: translate(0) rotate(0deg);
}
}



.green {
	font-size: 44px;
	font-weight: 700;
	color: #08D308;
}

.welcome-container b {
	font-size: 34px;
}

.timer-container {
	max-width: 468px;
	width: 100%;
	margin-top: 3vh;
	padding: 15px 0;
	border-radius: 10px;
	background-color: #343c4e;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	color: #FFFFFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}

.timer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.time {
	width: 31px;
	text-align: center;
	font-size: 24px;
	font-weight: 900;
}

.points {
	font-size: 24px;
	font-weight: 900;
}

.time-name {
	font-size: 8px;
	line-height: 1;
	text-transform: uppercase;
}

.playnow	{
	width: 280px;
	height: 56px;
	margin-top: 4vh;
	display: none;
	border: 1px solid #1BBE4B;
	border-radius: 10px;
	background: linear-gradient(0deg, #095C8A, #0DF81B);
	font-family: 'Poppins', sans-serif;
	font-size: 19px;
	font-weight: 500;
	color: #FFFFFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}


.right {
	max-width: 458px;
	width: 100%;
	padding-top: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 90%;
  max-width: 500px;
	height: 710px;

  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.modal-iframe {
  width: 100%;
  height: 710px;
  border: none;
  border-radius: 20px;
}

iframe {
	width: 100%;
	height: 710px;
	border: none;
	border-radius: 20px;
	overflow: hidden;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

footer {
	padding: 20px 20px;
	display: flex;
	justify-content: center;
	column-gap: 55px;
	row-gap: 20px;
	flex-wrap: wrap;
}

@media (max-width: 1279px) {
	.banana {
		right: -7vh;
	}
	.playnow {
		display: block !important;
	}

	.right {
		display: none;
	}

}

@media (max-width: 750px) {

	.left {
		padding: 0 20px;
	}

	.banana {
		width: 150px;
		right: -5vh;
	}

	.candy {
		width: 150px;
		top: 10vh;
		left: -8vh;
	}

	.timer-container {
	max-width: 420px;
	}

}

@media (max-width: 650px) {

	.candy {
		left: -9vh;
	}

	.timer-container {
		max-width: 400px;
	}

	.welcome-container {
		font-size: 26px;
	}

	.green {
		font-size: 40px;
	}

	.welcome-container b {
		font-size: 30px;
	}

}

@media (max-width: 550px) {

	.candy {
		width: 140px;
		top: 12vh;
	}

	.timer-container {
		max-width: 400px;
	}

	.welcome-container {
		margin-top: -1vh;
		font-size: 22px;
	}

	.green {
		font-size: 34px;
	}

	.welcome-container b {
		font-size: 26px;
	}

	.timer-container {
		transform: scale(0.9);
		-webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-ms-transform: scale(0.9);
		-o-transform: scale(0.9);
	}

	footer {
		column-gap: 20px;
	}

}

@media (max-width: 480px) {

	.language-dropdown {
		transform: scale(0.9);
		-webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-ms-transform: scale(0.9);
		-o-transform: scale(0.9);
		z-index: 100;
	}

	.logo-container {
		transform: scale(0.85);
		-webkit-transform: scale(0.85);
		-moz-transform: scale(0.85);
		-ms-transform: scale(0.85);
		-o-transform: scale(0.85);
	}

	.welcome-container {
		font-size: 20px;
	}

	.green {
		font-size: 30px;
	}

	.welcome-container b {
		font-size: 22px;
	}

	.timer-container {
		transform: scale(0.8);
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-ms-transform: scale(0.8);
		-o-transform: scale(0.8);
	}

	.playnow {
		margin-top: 2vh;
		transform: scale(0.9);
		-webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-ms-transform: scale(0.9);
		-o-transform: scale(0.9);
	}

	.candy {
		display: none;
		width: 120px;
		top: 9vh;
	}

	.banana {
		display: none;
		width: 120px;
	}

}

@media (max-width: 430px) {

	.logo-container {
		margin-top: -1vh;
		transform: scale(0.8);
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-ms-transform: scale(0.8);
		-o-transform: scale(0.8);
}

	.welcome-container {
		font-size: 18px;
	}

	.green {
		font-size: 26px;
	}

	.welcome-container b {
		font-size: 20px;
	}

}

@media (max-width: 400px) {

	.brand-logo {
		margin-top: 2vh;
		transform: scale(0.9);
		-webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-ms-transform: scale(0.9);
		-o-transform: scale(0.9);
	}

	.logo-container {
		margin-top: -1vh;
		transform: scale(0.6);
		-webkit-transform: scale(0.6);
		-moz-transform: scale(0.6);
		-ms-transform: scale(0.6);
		-o-transform: scale(0.6);
	}

	.welcome-container {
		margin-top: -4vh;
	}

	.candy {
		top: 11vh;
	}

	.banana {
		right: -7vh;
	}

	.timer-container {
		margin-top: 1vh;
	}
}