* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    padding: 1rem;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    width: 100%;
    align-items: center;
   
  }
  .main-container{
    width: 50%;
    height: 40vh;
    margin-left: 30%;
    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid white;
  }
  .box-number{
    color: black;
    border: none;
    outline: none;
    padding: 0.7rem;
    border-radius: 0.5rem;
    width: 60%;
    margin-left: 20%;
    height: 3rem;
  }
  #difficulty{
    padding-left: 2rem;
    font-size: 1.5rem;
    margin-top: 2rem;
    height: 3.5rem;
    width: 30%;
    margin-left: 35%;
    border: none;
    outline: none;
    border-radius: 0.5rem;
  }
  .start-game{
    cursor: pointer;
    font-size: 1.4rem;
    margin-top: 1rem; 
    height: 3.5rem;
    width: 30%;
    margin-left: 35%;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    font-weight: 700;
  }
  .box-container{
    margin-top: 1rem;
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
   .box{
    height: 100px;
    width: 100px;
    background-color:black;
    border-radius: 1rem;
    cursor: pointer;
    margin-bottom: 0.3rem;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
  }
  
 .restart{
   cursor: pointer;
   background: red;
   color: white;
   font-size: 2rem;
   width: fit-content;
   border: none;
   outline: none;
   border-radius: 0.5rem;
   font-weight: 700;
   padding: 1rem;
   margin-top: 1rem;
 
 }
 .restart-box{
   margin-left: 45%;
   gap: 1rem;
   width: fit-content;
   height: 4rem;
   color: black;



 }
 .game-over{
  width: 100%;
  position: absolute;
   top: 10rem;
  height: 15rem;
  display: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-size: 2rem;
 }
 h1{
  flex-direction: column;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
  background: red;
  height: 7rem;
  padding: 1rem;
  font-size: 2.5rem;
 }