body {
  margin: 0;
  padding: 0;
  font-family: 'Press Start 2P', cursive;
  background-color:gray;
}

.container {
    display: flex;
    justify-content: center; 
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;

}
.game {
      width: 300px;
  height: 600px;
  background-color: black;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 100px;
  position: relative;
  filter: drop-shadow(3px 3px green) drop-shadow(3px -3px green)
    drop-shadow(-3px 3px green) drop-shadow(-3px -3px green);


}
.game div {
    height: 30px;
    width: 30px;
  
 

  
}
#Tetris-title {
  font-size: 24px;
  text-align: center;
  color: black;
  margin-top: 20px;
  position: relative;
  text-shadow: 2px 2px green;
  }
  
  h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    text-align: center;
    color: black;
    text-shadow: 2px 2px green;
    margin: 10px auto;
  }
.button {
  display: block;         /* Make buttons block-level */
  background-color: green;
  font-weight: bold;
  font-size: 14px;
  font-family: monospace;
  padding: 10px 20px;
  cursor: pointer;
  color: black;
  margin-top: 20px;
  margin: 10px auto;  
  filter: drop-shadow(1px 1px black) drop-shadow(1px -1px black)
      drop-shadow(-1px 1px black) drop-shadow(-1px -1px black);
  
 
  
  
}

.block{

    width: 30px;
 

    height: 30px;
 

    background-image: url('../Images/Screenshot 2025-04-29 164215.png');
 

    background-size: cover;
 

    background-position: center;
 

  background-repeat: no-repeat;
 

}
 

.block-l{
 

    width: 30px;
 

    height: 30px;
 

    background-image: url('../Images/Screenshot 2025-04-29 165344.png');
 

    background-size: cover;
 

    background-position: center;
 

  background-repeat: no-repeat;   
 

}
 

.block-z {
 

    width: 30px;
 

    height: 30px;
 

    background-image: url('../Images/Screenshot 2025-04-29 165756.png');
 

    background-size: cover;
 

    background-position: center;
 

  background-repeat: no-repeat; 
}
.block-o {
    width: 30px;
      height: 30px;
      background-image: url('../Images/Screenshot 2025-04-29 203733.png');
      background-size: cover;
      background-position: center;
    background-repeat: no-repeat; 
  }
  .block-i {
    width: 30px;
      height: 30px;
      background-image: url('../Images/Screenshot 2025-04-29 203938.png');
      background-size: cover;
      background-position: center;
    background-repeat: no-repeat; 
  }
  
.minigrid {
  display: grid;
  grid-template-columns: repeat(4, 25px);
  grid-template-rows: repeat(4, 25px);
  gap: 0;
  width: 100px;
  height: 100px;
  background-color: black;
  filter: drop-shadow(3px 3px green) drop-shadow(3px -3px green)
          drop-shadow(-3px 3px green) drop-shadow(-3px -3px green);

}
.minigrid div { 
    height: 25px;
    width: 25px;
}

.press-start-2p-regular {
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
  }
  h1 {
    font-family: 'Press Start 2P', cursive;
  }
  @media (max-width: 640px) {
  
    .container {
      flex-direction: column;
      align-items: center;
    }
  
    .game {
      width: 90%;
      max-width: 300px;
      margin: 0 auto;
    }
  
    .minigrid {
      width: 100px;
      height: 100px;
      grid-template-columns: repeat(4, 25px);
      grid-template-rows: repeat(4, 25px);
    }
}
@media (min-width: 1024px) {


  .container {
    justify-content: center;
    gap: 40px;
  }

  .game {
    margin-top: 0;
  }

  .controls {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}
   