::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}
body{
  margin:0;
  font-family: 'Kanit', sans-serif;
  color: #f4f4f4;
}
.container{
height:200px;
  justify-content: center;
  align-items: center;
  overflow: scroll;
  flex-grow:1;
}
.board{
  display: grid;
  grid-gap: 5px;
  padding: 7px;
  box-sizing: border-box;
}
.row{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 5px;
}
.tile {
  border-style: solid;
  border-width: 2px;
  border-color:#636363;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: bold;
  vertical-align: middle;
  box-sizing: border-box;
  color: white;
  text-transform: uppercase;
  user-select: none;
}
.tile::before {
  content: '';
  display: inline-block;
  padding-bottom: 100%;
}
.pop{
  animation: pop 0.15s linear 1;
}
@keyframes pop{
  50%  {transform: scale(1.3);}
}
.letter{
  font-family: 'Kanit', sans-serif!important;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: bold;
  color: #e2e2e2;
  text-transform:uppercase;
  text-align:center;
  background:none;
  border:none;
  width:100%;
  height:100%;
  padding:0px!important;
  caret-color: transparent;
}
.letter:focus{
  outline:none;
}
.result{
  border:none;
}
.c{
  color: #538d4e;
  border-style: none none solid none;
  border-color:#538d4e;
  border-width: 3px;
}
.p{
  color: #b59f3b;
  border-style: none none solid none;
  border-color:#b59f3b;
  border-width: 3px;
}
.b {
  animation: bounce 1s ease 2;
  -webkit-animation: bounce 1s ease 2;
}
.w{
  color:white;
}
.x{
  color:#b59f3b;
}
.y{
  color:#538d4e;
}
.z{
  color:#5e5e5e;
}
 @keyframes bounce {
        0%   { transform: scale(1,1) translateY(0); }
        10%  { transform: scale(1.1,.9) translateY(0); }
        30%  { transform: scale(.9,1.1)   translateY(-55px);}
        50%  { transform: scale(1.05,.95) translateY(0); }
        58%  { transform: scale(1,1) translateY(-7px); }
        65%  { transform: scale(1,1) translateY(0);}
        100% { transform: scale(1,1) translateY(0);}
    }
@-webkit-keyframes bounce {
       0%   { transform: scale(1,1) translateY(0); }
        10%  { transform: scale(1.1,.9) translateY(0); }
        30%  { transform: scale(.9,1.1)   translateY(-55px);}
        50%  { transform: scale(1.05,.95) translateY(0); }
        58%  { transform: scale(1,1) translateY(-7px);}
        65%  { transform: scale(1,1) translateY(0);}
        100% { transform: scale(1,1) translateY(0);} 
}
@keyframes scale {
  0% {transform: scaleX(1);}
  25% {transform: scaleX(0.4);}
  50% {transform: scaleX(1);}
  75% {transform: scaleX(0.9);}
  100% {transform: scaleX(1);}
}
@-webkit-keyframes scale {
   0% {transform: scaleX(1);}
  25% {transform: scaleX(0.4);}
  50% {transform: scaleX(1);}
  75% {transform: scaleX(0.9);}
  100% {transform: scaleX(1);}
}