html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    touch-action: none;
}

.container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.no-select {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; /* Safari */
}

.ad-container {
    position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-color: #fff;
}

.inner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding-top: 150%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    z-index: 100;
}

.wrapper-2 {
    display: none;
}

canvas#game {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
       
  opacity: 0;
  animation: startAnim 1.5s linear forwards;
  z-index: 4000;
}


@keyframes startAnim {
  from {opacity: 0;}
  to {opacity: 1;}
}

.controls {
	position: absolute;
	top: 80%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	/* padding: 0 40px; */
    opacity:0;
	z-index: 1000;
}
#startBtn {
	position: absolute;
	top: 66%;
	left: 20%;
	width: 60%;
	height: auto;
	border-radius: 50px;
	z-index: 6000;
}

#retryBtn {
	display: none;
	position: absolute;
	top: 69%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 15px 50px;
	font-size: 20px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	width: 280px;
	text-transform: uppercase;
	z-index: 6000;
}

        #right, #left {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: #000; /* Green background */
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s, transform 0.2s;
            opacity: 0.2;
        }

        #right:hover, #left:hover {
            background-color: #000; /* Darker green on hover */
            transform: scale(1.05);
        }

        #right:after {
            content: "→"; /* Right arrow symbol */
            font-weight: bold;
        }

        #left:after {
            content: "←"; /* Right arrow symbol */
            font-weight: bold;
        }

        #left {
            margin-left: 2%;
        }

        #right {
            margin-right: 2%;
        }

#gameOverScore {
	position: absolute;
	left: 3%;
	top: 50%;
	width: 94%;
	height: auto;
	font-size: 25px;
	font-family: 'Montserrat';
	color: #fff;
	font-weight: bold;
	text-align: center;
	z-index: 300;
}

  .bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    opacity: 0;
    z-index: 3;
}

.bg2 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    opacity: 0;
    z-index: 2;
}

  .bg3 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    z-index: 1;
}


.inner-2 {
    opacity:0; 
    pointer-events: none;
}

.inner-3 {
    /* opacity:0;  */
    display: none;
}

.engage {
	position: absolute;
	top: 45%;
	left: 17%;
	width: 71%;
	height: 23%;
	pointer-events: none;
	display: none;
	z-index: 5000;
}

.engage-mobile {
	position: absolute;
	top: 45%;
	left: 17%;
	width: 71%;
	height: 23%;
	pointer-events: none;
	display: none;
	z-index: 5000;
}

.engage-txt {
	position: absolute;
	margin-top: 0%;
	margin-left: -3%;
	width: 100%;
	height: auto;
	pointer-events: none;
	z-index: 100;
}

.arrow-l {
	position: absolute;
	margin-top: 24%;
	margin-left: 21%;
	width: 20%;
	height: auto;
	pointer-events: none;
	z-index: 100;
}

.arrow-r {
	position: absolute;
	margin-top: 24%;
	margin-left: 52%;
	width: 20%;
	height: auto;
	pointer-events: none;
	z-index: 100;
}

.hand {
	position: absolute;
	margin-top: 24%;
	margin-left: 35%;
	width: 20%;
	height: auto;
	pointer-events: none;
	z-index: 100;
}

.inst {
	position: absolute;
	margin-top: 47%;
	margin-left: 11%;
	width: 71%;
	height: auto;
	pointer-events: none;
	z-index: 100;
}


.inst-mobile {
	position: absolute;
	margin-top: 47%;
	margin-left: 11%;
	width: 71%;
	height: auto;
	pointer-events: none;
	z-index: 100;
}


.bot-menu {
	position: absolute;
	top: 85%;
	left: 0;
	width: 100%;
	height: 15%;
	pointer-events: none;
	z-index: 100;
}

.logo-2 {
	position: absolute;
	left: 31.5%;
	top: -1%;
	width: 37%;
	height: auto;
	z-index: 300;
}

.logo {
	position: absolute;
	left: 15%;
	top: 15.7%;
	width: 70%;
	height: auto;
	z-index: 300;
}

.txt {
	position: absolute;
	left: 7.5%;
	top: 50.7%;
	width: 85%;
	height: auto;
	z-index: 300;
}


.dis {
	position: absolute;
	left: 7.5%;
	top: 95.7%;
	width: 85%;
	height: auto;
	z-index: 300;
}

.start {
	position: absolute;
	left: 7.5%;
	top: 42.7%;
	width: 85%;
	height: auto;
	z-index: 300;
}

.pill-1 {
	position: absolute;
	left: 14.5%;
	top: 8.7%;
	width: 5%;
	height: auto;
	z-index: 300;
}

.pill-2 {
	position: absolute;
	left: 86.5%;
	top: 3.7%;
	width: 4.5%;
	height: auto;
	z-index: 300;
}

.pill-3 {
	position: absolute;
	left: 87.5%;
	top: 77.7%;
	width: 5%;
	height: auto;
	z-index: 300;
}

.pill-4 {
	position: absolute;
	left: 5.5%;
	top: 71.7%;
	width: 4%;
	height: auto;
	z-index: 300;
}

.pill-5 {
	position: absolute;
	left: 10.5%;
	top: 5.7%;
	width: 6%;
	height: auto;
	z-index: 300;
}

.pill-6 {
	position: absolute;
	right: 10.5%;
	top: 5.7%;
	width: 6%;
	height: auto;
	z-index: 300;
}

.pill-7 {
	position: absolute;
	left: 10.5%;
	top: 7%;
	width: 8%;
	height: auto;
	z-index: 300;
}

.pill-8 {
	position: absolute;
	right: 7.5%;
	top: 49.7%;
	width: 8%;
	height: auto;
	z-index: 300;
}

.options {
	position: absolute;
	left: 26.5%;
	top: 21.7%;
	width: 45%;
	height: auto;
	z-index: 300;
}

.option-1 {
	position: absolute;
	left: 23%;
	top: 27.7%;
	width: 52%;
	height: auto;
	z-index: 300;
}

.option-2 {
	position: absolute;
	left: 23%;
	top: 37.7%;
	width: 52%;
	height: auto;
	z-index: 300;
}


.border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    z-index: 1000;
}

.border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    z-index: 1000;
}

.border-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: #000;
    z-index: 1000;
}

.border-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #000;
    z-index: 1000;
}

@media (max-aspect-ratio: 1/2) {
#retryBtn {
	top: 65%;
}
}
