body {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #21a188;
}

.player-turn p{
  color: aliceblue;
  font-size: 1rem;
  margin: 0;
  margin-top: 20px;
}

.spin{
  display: none;
  width: 30px;
  height: 30px;
}

.spinning {
  display: block;
  animation: spin 0.7s linear infinite;
}

.container {
  min-height: 100vh;
  display: flex;
  min-width: 320px;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.board-container{
  background-color: #1f8b76;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.board-row{
  display: flex;
  align-items: center;
  gap: 4px;
}



.score {
  display: flex;
  flex-direction: column;
  text-align: center;

  width: 200px;
  height: 100px;
  gap: 10px;
}

.score-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 60px;
  background-color: #319682;
  border-radius: 10px;
}

.score-container > div {
  width: 50px;
  height: 50px;
  display: grid;
  justify-content: center;
  color: #ebf5f2;
}

.score-player img {
  width: 24px;
}

.score-npc img {
  width: 20px;
  /* Filter generator: https://codepen.io/sosuke/pen/Pjoqqp */
  filter: invert(80%) sepia(63%) saturate(4002%) hue-rotate(313deg) brightness(89%) contrast(111%);
}

.score-title {
  color: #197563;
  font-size: 0.8rem;
  font-weight: 600;
}

img {
  filter: invert(90%);
}

.button {
  width: 100px;
  height: 100px;
  border-style: none;
  font-size: 4rem;  
  font-weight: 600;
  /* color: #ee6f61; npc color*/
  color: #ebf5f2;
  background-color: #21a188;
  filter: brightness(100%);
  
  /* prevent selection */
  user-select: none; 
  -moz-user-select: none;
  -webkit-text-select: none; 
  -webkit-user-select: none; 
  
  }

.button:hover{
  background-color: #27ac91;
}

.button:focus {
  animation: fontSize 0.4s ease-in-out;
  
}

.loading-container {
  position: absolute;
  top: 0;
  left: 0;
}

.loader-container {
  display: none;
  place-content: center;
  min-width: 50px;
  min-height: 50px;
}
/* css-loaders.com */
.loader {  
  width: 20px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: 
  conic-gradient(#0000 10%,#000),
  linear-gradient(#000 0 0) content-box;
-webkit-mask: var(--_m);
        mask: var(--_m);
-webkit-mask-composite: source-out;
        mask-composite: subtract;
animation: l3 1s infinite linear;
}

.loading {
  display: grid;
}

.npc-win {
  color: #e74c3c;
  font-weight: 500;
}

.tie {
  color: #3f7edd;
  font-weight: 500;
}

.player-win {
  font-weight: 500;
}

@keyframes l3 {to{transform: rotate(1turn)}}

@keyframes fontSize {
  0% {font-size: 4rem;
    color: #ebf5f2;
    }
50% {font-size: 5rem;
    color: #ffffff;
    }
100% {font-size: 4rem;
    color: #ebf5f2;
    }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

