@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family:'Kanit', sans-serif;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#gameboard{
    width: 200px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    margin-top: 100px;
    margin-top: 20px;
}
.square{
    height: 60px;
    width: 60px;
    border: 2px solid rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    position: relative;
    z-index: 9;
    cursor: pointer;
}
.square .piece#circle svg {
    height: 30px;
    width: 30px;
    margin: 15px;
    transform-origin: center; 
    animation: bounce 0.3s ease-in-out 1;
    position: relative;
    z-index: -9;
}
.square .piece#cross svg {
    height: 50px;
    width: 50px;
    margin: 5px;
    transform-origin: center; 
    animation: bounce 0.3s ease-in-out 1;
    position: relative;
    z-index: -9;
}

.square.coloredCross .piece#cross svg path {
    fill: blue;
    transition: fill 2s ease;
}

.square.coloredCircle .piece#circle svg{
    fill: blue;
    transition: fill 2s ease;
}
#info{
    display: flex;
    justify-content: center;
    margin-left: -10px;
    margin-top: 20px;
    font-family:'Kanit', sans-serif;
    font-size: 30px;
}
p.playAgain{
    display: flex;
    justify-content: center;
    margin-left: -10px;
    margin-top: 20px;
    font-family:'Kanit', sans-serif;
    font-size: 30px;
    cursor: pointer;
    padding: 3px;
    padding-top: 0px;
    background-color: rgb(71, 104, 224);
    
}
.playAgain{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 30px;
   
}
.displayScore{
    
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-left: 13px;
}
#cross-score{
    margin-right: 20px;
}
#reset-scores{
    margin-right: 20px;
    background-color:rgb(71, 104, 224) ;
    padding: 4px;
    cursor: pointer;
}
#circle-score{
    margin-right: 20px;
}
  
@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}
