#grid,.box{
    -webkit-user-select:none;
  }
    
  .grid-holder {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
  }

  #grid {
        min-width: 318px;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }


    .box {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #fff;
        background-color: #fff5e5;
        cursor: pointer;
        height: 44px;
    }
    
    @media (max-width:480px) {
        .box{
            height:30px;
        }
    }

  .box.highlight{
    background:#111;
    color:#fff;
  }
  .box.found-red {
    background: #338600;
    background: -webkit-linear-gradient(#338600 50%, #338600 51%);
    background: -moz-linear-gradient(#338600 50%, #338600 51%);
    background: -o-linear-gradient(#338600 50%, #338600 51%);
    background: linear-gradient(#338600 50%, #338600 51%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#338600', endColorstr='#338600',GradientType=0 );
    color:#fff;
  }
  .box.found-green {
    background: #338600;
  background: -webkit-linear-gradient(#338600 50%, #338600 51%);
  background: -moz-linear-gradient(#338600 50%, #338600 51%);
  background: -o-linear-gradient(#338600 50%, #338600 51%);
  background: linear-gradient(#338600 50%, #338600 51%); 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#338600', endColorstr='#338600',GradientType=0 );
    color:#fff;
  }
  .box.found-yellow{
    background: #338600;
    background: -webkit-linear-gradient(#338600 50%, #338600 51%);
    background: -moz-linear-gradient(#338600 50%, #338600 51%);
    background: -o-linear-gradient(#338600 50%, #338600 51%);
    background: linear-gradient(#338600 50%, #338600 51%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#338600', endColorstr='#338600',GradientType=0 );
    color:#fff;
  }
  .box.found-blue{
    background: #338600;
    background: -webkit-linear-gradient(#338600 50%, #338600 51%);
    background: -moz-linear-gradient(#338600 50%, #338600 51%);
    background: -o-linear-gradient(#338600 50%, #338600 51%);
    background: linear-gradient(#338600 50%, #338600 51%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#338600', endColorstr='#338600',GradientType=0 );
    color:#fff;
  }
  .box.found-purple {
    background: #338600;
    background: -webkit-linear-gradient(#338600 49%, #338600 49%);
    background: -moz-linear-gradient(#338600 49%, #338600 49%);
    background: -o-linear-gradient(#338600 49%, #338600 49%);
    background: linear-gradient(#338600 49%, #338600 49%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#338600', endColorstr='#338600',GradientType=0 );
    color:#fff;
  }
  span.found{
    color:gray;
    text-decoration:line-through;
  }

  .the-message {
    position: absolute;
    padding: 1rem;
    text-align: center;
    border: 4px solid #ffffff;
    border-radius: 1rem;
    z-index: 51;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #338600;
    color: #fff;
    width: 360px;
    height: 260px;
    margin-left: calc(50% - 180px);
    margin-top: calc(50% - 180px);
}

.the-message .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}
  
  