/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2 Apr, 2025, 12:02:57 PM
    Author     : 9320AND
*/

html, body {
    height: 100%;
    width: 100%;
    font-size: 16px;
    line-height: normal;
    background-repeat: repeat;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-image: url("../materials/bg.jpg"), url("../materials/bg-small.jpg");
    background-attachment: fixed;
    font-size: 16px;
    line-height: 1.3;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0
}
.section{
    width: 100%;
    height: 100%;
}
img {
    max-width: 100%;
    display: block
}
* {
    box-sizing: border-box
}

.no-jump-img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    color: #F7F7F7;
    image-rendering: -webkit-optimize-contrast !important;
}
@keyframes placeHolderShimmer {
    0% {background-position: -400px 0}
    100% {background-position: 400px 0}
}
@-webkit-keyframes placeHolderShimmer {
    0% {background-position: -400px 0}
    100% {background-position: 400px 0}
}

.d-flex {
    display: -webkit-box ;
    display: -ms-flexbox ;
    display: flex ;
}
.d-inline-flex {
    display: -webkit-inline-box ;
    display: -ms-inline-flexbox ;
    display: inline-flex ;
}
.flex-row {
    -webkit-box-orient: horizontal ;
    -webkit-box-direction: normal ;
    -ms-flex-direction: row ;
    flex-direction: row ;
}
.flex-column {
    -webkit-box-orient: vertical ;
    -webkit-box-direction: normal ;
    -ms-flex-direction: column ;
    flex-direction: column ;
}
.flex-row-reverse {
    -webkit-box-orient: horizontal ;
    -webkit-box-direction: reverse ;
    -ms-flex-direction: row-reverse ;
    flex-direction: row-reverse ;
}
.flex-column-reverse {
    -webkit-box-orient: vertical ;
    -webkit-box-direction: reverse ;
    -ms-flex-direction: column-reverse ;
    flex-direction: column-reverse ;
}
.flex-wrap {
    -ms-flex-wrap: wrap ;
    flex-wrap: wrap ;
}
.flex-nowrap {
    -ms-flex-wrap: nowrap ;
    flex-wrap: nowrap ;
}
.flex-wrap-reverse {
    -ms-flex-wrap: wrap-reverse ;
    flex-wrap: wrap-reverse ;
}

/*justify-content*/

.justify-content-start {
    -webkit-box-pack: start ;
    -ms-flex-pack: start ;
    justify-content: flex-start ;
}
.justify-content-end {
    -webkit-box-pack: end ;
    -ms-flex-pack: end ;
    justify-content: flex-end ;
}
.justify-content-center {
    -webkit-box-pack: center ;
    -ms-flex-pack: center ;
    justify-content: center ;
}
.justify-content-between {
    -webkit-box-pack: justify ;
    -ms-flex-pack: justify ;
    justify-content: space-between ;
}
.justify-content-around {
    -ms-flex-pack: distribute ;
    justify-content: space-around ;
}
/*justify-content*/

/*align-items*/

.align-items-start {
    -webkit-box-align: start ;
    -ms-flex-align: start ;
    align-items: flex-start ;
}
.align-items-end {
    -webkit-box-align: end ;
    -ms-flex-align: end ;
    align-items: flex-end ;
}
.align-items-center {
    -webkit-box-align: center ;
    -ms-flex-align: center ;
    align-items: center ;
}
.align-items-baseline {
    -webkit-box-align: baseline ;
    -ms-flex-align: baseline ;
    align-items: baseline ;
}
.align-items-stretch {
    -webkit-box-align: stretch ;
    -ms-flex-align: stretch ;
    align-items: stretch ;
}
.align-content-start {
    -ms-flex-line-pack: start ;
    align-content: flex-start ;
}
.align-content-end {
    -ms-flex-line-pack: end ;
    align-content: flex-end ;
}
.align-content-center {
    -ms-flex-line-pack: center ;
    align-content: center ;
}
.align-content-between {
    -ms-flex-line-pack: justify ;
    align-content: space-between ;
}
.align-content-around {
    -ms-flex-line-pack: distribute ;
    align-content: space-around ;
}
.align-content-stretch {
    -ms-flex-line-pack: stretch ;
    align-content: stretch ;
}
.align-self-auto {
    -ms-flex-item-align: auto ;
    align-self: auto ;
}
.align-self-start {
    -ms-flex-item-align: start ;
    align-self: flex-start ;
}
.align-self-end {
    -ms-flex-item-align: end ;
    align-self: flex-end ;
}
.align-self-center {
    -ms-flex-item-align: center ;
    align-self: center ;
}

.align-self-baseline {
    -ms-flex-item-align: baseline ;
    align-self: baseline ;
}

.align-self-stretch {
    -ms-flex-item-align: stretch ;
    align-self: stretch ;
}
.button{
    border: 0;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    padding: 5px;
    width: fit-content;
    margin: 0px 10px;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1;
    display: block;
    transition: .3s;
    background-color: #f5e108;
    padding: 10px 15px;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
    text-decoration: none;
}
/*align-items*/
h1 { margin-bottom: 10px; }
#timer-bar {
    width: 300px;
    height: 20px;
    background-color: red;
    margin-bottom: 10px;
    border-radius: 100px;
}
#grid {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}
.game-title{
    max-width: 650px;
    width: 100%;
    margin: 15px auto 10px auto;
    height: calc(100% - 126px);
}
.game-title-inner{
    position: relative;
    width: 100%;
    padding-bottom: 14.580645161290322%  
}
.game-desc{
    font-size: 18px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin-bottom: 10px;
    text-align: center
}
.game-button{
    max-width: 250px;
    width: 100%;
    margin: 15px auto 0 auto
    
}
.game-button-inner{
    width: 100%;
    position: relative;
    padding-bottom: 24.935064935064936%
}
.tile {
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 10px;
}
.game-outer{
    background-color: #0a1954;
    padding: 30px 20px;
    max-width:800px;
    margin: 0 auto;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    border-radius: 30px;
    overflow: hidden;
    position: relative;

}
.game-outer h1{
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
    text-align: center;

    /*-webkit-linear-gradient(45deg, #09009f, #00ff95 80%);
        background-clip: border-box;
      -webkit-background-clip:
    text;
      -webkit-text-fill-color: transparent;*/
}

.game-outer p{
    font-size: 14px;
    font-weight: 600;
    color: #9f9f9f;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
}
.score-text{
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: red
}
.play-again {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.5);

    opacity: 0;
    visibility: hidden;

}
.play-again-inner {
    width: 100%;
    height: 100%;
}
.play-again-content {
    border-radius: 25px;
    display: -webkit-box ;
    display: -ms-flexbox ;
    display: flex ;
    -webkit-box-pack: center ;
    -ms-flex-pack: center ;
    justify-content: center ;
    -webkit-box-align: center ;
    -ms-flex-align: center ;
    align-items: center ;
    -webkit-box-orient: vertical ;
    -webkit-box-direction: normal ;
    -ms-flex-direction: column ;
    flex-direction: column ;

    width: 100%;
    margin: 0 auto;
    padding: 25px 25px 25px 35px;
    background-color:#031f34;
    position: relative;
    color: #000;
    font-family: 'Poppins', sans-serif;
    height: 100%;
    width: 100%;
    max-width: 100%
}
.play-again-content span{
    display: block;
    text-align: center
}
.game-over-title{
    font-size: 22px;
    font-weight: 600;
    color: #fe6f73;
}
.game-over-score{
    font-size: 20px;
    font-weight: 700;
    color: #26f9d8
}
.game-over-message{
    color: #fff;
    margin-top: 5px;
    margin-bottom: 10px;
}
.play-again.show {
    transition: opacity 1s ease-in-out; 
    opacity: 1;
    visibility: visible;
}
.close-btn {
    width: 35px;
    height: 35px;
    border-radius: 100%;
    background-color: #ee008c;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    z-index: 1000;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    font-family: verdana;
}
@media screen and (max-width:970px) {
    .game-title{
        max-width: 550px;
        width: 100%;
        margin: 10px auto 5px auto;
        height: calc(100% - 308px);
    }
    .top-add-block-outer{
        padding: 10px 0;
    }
    .footer{padding: 30px 15px 20px 15px;}

}
@media screen and (max-width:700px) {
    .diffrent-color{
        display: block;
    }
}
