*{margin:0;padding:0;outline:none;border:none;box-sizing:border-box}html{font-size:10px}body{display:flex;justify-content:center;align-items:center;min-height:100vh;overflow:hidden;font:2.5rem Architects Daughter,cursive;color:#2696aa;background-color:#30cfd0;background-image:linear-gradient(45deg,rgba(255,255,255,.1) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.1) 75%,rgba(255,255,255,.1)),linear-gradient(45deg,rgba(255,255,255,.1) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.1) 75%,rgba(255,255,255,.1));background-size:60px 60px;background-position:0 0,30px 30px}button{-webkit-tap-highlight-color:transparent}.board{margin-bottom:5rem;display:grid;grid-template:repeat(3,1fr) / repeat(3,1fr)}.square{background-color:transparent;cursor:pointer;-webkit-user-select:none;user-select:none;width:7rem;height:7rem;font:3.5rem Architects Daughter,cursive;color:#2696aa;border-bottom:.3rem solid #48bed3;border-right:.3rem solid #48bed3;transition:transform .2s}.square:hover{transform:scale(1.1)}.square:nth-child(3),.square:nth-child(6),.square:nth-child(9){border-right:none}.square:nth-child(7),.square:nth-child(8),.square:nth-child(9){border-bottom:none}.reset-btn{color:#fff;-webkit-user-select:none;user-select:none;cursor:pointer;margin-top:4rem;padding:.7rem 1.7rem;background-color:#2696aa;font:2.1rem Architects Daughter,cursive;border:.1rem solid #188ca179;border-radius:.1rem;transition:background-color .5s,transform .2s}.reset-btn:active{transform:scale(.98)}.reset-btn:hover{background-color:#007e94}.winner{text-align:center}::selection{color:#ebf8e1;background-color:#2696aa}@media screen and (max-width: 700px){html{font-size:9px}}@media screen and (max-width: 300px){html{font-size:8px}}
