body {
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background-color: black;
}

#grid {
  position: relative; /* Add this line */
  display: grid;
  grid-template-columns: repeat(10, 30px);
  grid-gap: 0px;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
}

.cell {
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  box-sizing: border-box;
}

#tetromino {
  position: relative;
}

.tetromino {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #333;
  box-sizing: border-box;
}

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  color: white;
  z-index: 1000;
}

.modal-content {
  text-align: center;
}

#nextTetromino {
  position: relative;
  display: grid;
  margin: -600px 10px 0px 20px;
}


