body {
  font-family: Arial, sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #1c191c;
}

h1 {
  font-size: 2.5em;
  color: #fff;
}

#level {
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 40px;
}

#grid {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  grid-template-rows: repeat(2, 150px);
  gap: 20px;
}

.square {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.yellow {
  background-color: #fefe05;
  box-shadow: 0 0 10px 5px rgba(255, 255, 0, 0.8);
}

.red {
  background-color: #ff0000;
  box-shadow: 0 0 10px 5px rgba(255, 0, 0, 0.8);
}

.blue {
  background-color: #5959fb;
  box-shadow: 0 0 10px 5px rgba(0, 0, 255, 0.8);
}

.green {
  background-color: #008000;
  box-shadow: 0 0 10px 5px rgba(0, 128, 0, 0.8);
}

.square.active {
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.8);
}

.square.active.red {
  box-shadow: 0 0 20px 10px rgba(255, 0, 0, 1);
}

.square.active.blue {
  box-shadow: 0 0 20px 10px rgba(0, 0, 255, 1);
}

.square.active.green {
  box-shadow: 0 0 20px 10px rgba(0, 128, 0, 1);
}

.square.active.yellow {
  box-shadow: 0 0 20px 10px rgba(255, 255, 0, 1);
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.2em;
  cursor: pointer;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #45a049;
}
