body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
 
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
	font-weight: bold;
    text-align: center;
  /* Candy Crush Style Background */
  background: linear-gradient(135deg, #ff4fd8, #ff7b00, #ffe600, #00d9ff);
  background-size: 400% 400%;
  animation: candyBg 10s ease infinite;

  overflow: hidden;
}

/* Floating candy glow circles */
body::before,
body::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
}

body::before {
  background: #ff00c8;
  top: -50px;
  left: -50px;
}

body::after {
  background: #00e1ff;
  bottom: -50px;
  right: -50px;
}

@keyframes candyBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.scores-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.total-score {
  margin-right: 20px;
  margin: 20px;
  text-align: center;
  background: #decccc;
  padding: 20px;
  color: #000;
  border-radius: 20px;
}

.time {
  margin-right: 20px;
  margin: 20px;
  text-align: center;
  background: #fff;
  padding: 20px;
  color: #000;
  border-radius: 20px;
}

.grid-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  width: 90%;
  height: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: rgb(11 14 19);
  margin-top: 2rem;
  padding: 20px;
  box-shadow: 0 15px 35px rgb(222 204 204);
}

.square {
  height: 200px;
  width: 200px;
  margin: 10px;
  border: 2px solid grey;
}

/* JavaScript */
.emoji {
  

  background-image: url("laugh.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
 
  display: inline-block;
  
}
#gameOver{
    display: none;
    margin-top: 20px;
    padding: 15px 25px;
    
    color: red;
    font-size: 24px;
    font-weight: bold;
    border-radius: 16px;
    text-align: center;
  
}